|
|||||||||
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.CellRenderer
org.gnu.gtk.CellRendererToggle
org.gnome.gtk.CellRendererToggle
.
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 CellRendererToggle
The CellRendererToggle is a CellRenderer
for boolean data.
Nested Class Summary | |
---|---|
static class |
CellRendererToggle.Attribute
Deprecated. Attributes for mapping to data in the TreeModel |
Constructor Summary | |
---|---|
CellRendererToggle()
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. |
Method Summary | |
---|---|
void |
addListener(CellRendererToggleListener l)
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 |
fireCellRendererToggleEvent(CellRendererToggleEvent evt)
Deprecated. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated. |
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
Deprecated. |
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 |
removeListener(CellRendererToggleListener l)
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 |
setRadio(boolean radio)
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 |
setToggled(boolean toggled)
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 |
setUserEditable(boolean setting)
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.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 CellRendererToggle()
Method Detail |
---|
public void setRadio(boolean radio)
TreeView
, you set up a per-row setting using TreeViewColumn
to associate model columns with cell renderer
properties).
radio
- TRUE to make the toggle look like a radio buttonpublic void setToggled(boolean toggled)
TreeViewColumn.addAttributeMapping(CellRenderer, CellRendererAttribute,
DataColumn)
with the CellRendererToggle.Attribute.ACTIVE
attribute.
toggled
- If true, all cells will be toggled, or cheked.public void setUserEditable(boolean setting)
CellRendererToggle.Attribute.ACTIVATABLE
property, using the TreeViewColumn.addAttributeMapping(CellRenderer, CellRendererAttribute,
DataColumn)
property
setting
- If true, the value of all cells may be changed.public static org.gnu.glib.Type getType()
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class org.gnu.glib.GObject
public org.gnu.glib.EventType getEventType(java.lang.String signal)
getEventType
in class org.gnu.glib.GObject
public void fireCellRendererToggleEvent(CellRendererToggleEvent evt)
public void addListener(CellRendererToggleListener l)
CellRendererTextListener
public void removeListener(CellRendererToggleListener l)
addListener(CellRendererToggleListener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |