|
|||||||||
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.Bin
org.gnu.gtk.ToolItem
org.gnu.gtk.ToolButton
org.gnome.gtk.ToolButton
.
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 ToolButton
A ToolItem
subclass that displays buttons.
Constructor Summary | |
---|---|
ToolButton(GtkStockItem stockItem)
Deprecated. |
|
ToolButton(org.gnu.glib.Handle hndl)
Deprecated. |
|
ToolButton(java.lang.String stockId)
Deprecated. |
|
ToolButton(Widget iconWidget,
java.lang.String label)
Deprecated. |
Method Summary | |
---|---|
void |
addListener(ToolButtonListener 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. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated. |
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
Deprecated. |
Widget |
getIconWidget()
Deprecated. |
java.lang.String |
getLabel()
Deprecated. |
Label |
getLabelWidget()
Deprecated. |
java.lang.String |
getStockId()
Deprecated. |
static ToolButton |
getToolButton(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. |
boolean |
getUseUnderline()
Deprecated. |
void |
removeListener(ToolButtonListener 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 |
setIconWidget(Widget iconWidget)
Deprecated. |
void |
setLabel(java.lang.String label)
Deprecated. |
void |
setLabelWidget(Label labelWidget)
Deprecated. |
void |
setStockId(java.lang.String stockId)
Deprecated. |
void |
setUseUnderline(boolean useUnderline)
Deprecated. |
Methods inherited from class org.gnu.gtk.ToolItem |
---|
getExpand, getHomogeneous, getIconSize, getIsImportant, getOrientation, getProxyMenuItem, getReliefStyle, getToolbarStyle, getToolItem, getUseDragWindow, getVisibleHorizontal, getVisibleVertical, rebuildMenu, retrieveProxyMenuItem, setExpand, setHomogeneous, setIsImportant, setProxyMenuItem, setTooltip, setToolTip, setUseDragWindow, setVisibleHorizontal, setVisibleVertical |
Methods inherited from class org.gnu.gtk.Bin |
---|
getChild, getType |
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 ToolButton(Widget iconWidget, java.lang.String label)
public ToolButton(java.lang.String stockId)
public ToolButton(GtkStockItem stockItem)
public ToolButton(org.gnu.glib.Handle hndl)
Method Detail |
---|
public static ToolButton getToolButton(org.gnu.glib.Handle handle)
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public void setUseUnderline(boolean useUnderline)
public boolean getUseUnderline()
public void setStockId(java.lang.String stockId)
public java.lang.String getStockId()
public void setIconWidget(Widget iconWidget)
public Widget getIconWidget()
public void setLabelWidget(Label labelWidget)
public Label getLabelWidget()
public void addListener(ToolButtonListener listener)
ToolButtonListener
public void removeListener(ToolButtonListener listener)
addListener(ToolButtonListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class Container
public 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 |