|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.ToolBar
org.gnome.gtk.ToolBar.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class ToolBar
The ToolBar is used to construct a toolbar. It is the container that controls the position of a set of icons that are mouse sensitive.
| Constructor Summary | |
|---|---|
ToolBar()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
ToolBar(org.gnu.glib.Handle hndl)
Deprecated. |
|
| Method Summary | |
|---|---|
void |
addListener(ToolBarListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
appendSpace()
Deprecated. |
void |
appendWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
Deprecated. |
int |
getDropIndex(int x,
int y)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated. |
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
Deprecated. |
ToolItem |
getItem(int position)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getItemIndex(ToolItem item)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getNumItems()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
ReliefStyle |
getReliefStyle()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
getShowArrow()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
static ToolBar |
getToolBar(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
static org.gnu.glib.Type |
getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
insert(ToolItem item,
int position)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
insertSpace(int position)
Deprecated. |
void |
insertWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText,
int index)
Deprecated. |
boolean |
isToolTips()
Deprecated. |
void |
prependSpace()
Deprecated. |
void |
prependWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
Deprecated. |
void |
removeListener(ToolBarListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
removeSpace(int position)
Deprecated. |
void |
setDropHighlightItem(ToolItem item,
int index)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setIconSize(IconSize iconSize)
Deprecated. |
void |
setOrientation(Orientation orientation)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setShowArrow(boolean showArrow)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setStyle(ToolBarStyle style)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setToolTips(boolean enable)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
| Methods inherited from class org.gnu.gtk.Container |
|---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
| Methods inherited from class org.gnu.gtk.GtkObject |
|---|
destroy, sink |
| Methods inherited from class org.gnu.glib.GObject |
|---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
| Methods inherited from class org.gnu.glib.Struct |
|---|
equals, getHandle, getNullHandle, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolBar()
public ToolBar(org.gnu.glib.Handle hndl)
| Method Detail |
|---|
public static ToolBar getToolBar(org.gnu.glib.Handle handle)
public void appendWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
widget - The widget to add to the end of the ToolBar.tooltip - The text for the tooltip for this item.helpText - Context sensitive help about this item.
public void prependWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
widget - The widget to add to the beginning of the ToolBar.tooltip - The text for the tooltip for this item.helpText - Context sensitive help about this item.
public void insertWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText,
int index)
widget - The widget to add to the ToolBar.tooltip - The text for the tooltip for this item.helpText - Context sensitive help about this item.index - The location in the ToolBar to insert this Widget.public void appendSpace()
public void prependSpace()
public void insertSpace(int position)
position - The location to insert the space.public void removeSpace(int position)
position - The position of the space to remove.public void setOrientation(Orientation orientation)
orientation - Specifies the direction of the ToolBar.public void setStyle(ToolBarStyle style)
style - Determines how to display the items.public boolean isToolTips()
public void setToolTips(boolean enable)
enable - Should the tooltips be enabled.public void setIconSize(IconSize iconSize)
iconSize - The size of the icons.public static org.gnu.glib.Type getType()
public void insert(ToolItem item,
int position)
item - position - public int getItemIndex(ToolItem item)
item - public int getNumItems()
public ToolItem getItem(int position)
position - public boolean getShowArrow()
public void setShowArrow(boolean showArrow)
showArrow - public ReliefStyle getReliefStyle()
public int getDropIndex(int x,
int y)
x - y -
public void setDropHighlightItem(ToolItem item,
int index)
item - index - public void addListener(ToolBarListener listener)
ToolBarListenerpublic void removeListener(ToolBarListener listener)
addListener(ToolBarListener)public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass in class Containerpublic org.gnu.glib.EventType getEventType(java.lang.String signal)
getEventType in class Container
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||