| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xulux.gui.XuluxWidget
org.xulux.guilayer.swing.widgets.ToggleButton
public class ToggleButton
Represents a togglebutton in the gui.
| Field Summary | |
|---|---|
| protected  java.awt.event.FocusListener | focusListenerthe focuslistener | 
| protected  PrePostFieldListener | itemListenerthe itemlistner | 
| protected  javax.swing.JToggleButton | toggleButtonThe native togglebutton | 
| Fields inherited from class org.xulux.gui.XuluxWidget | 
|---|
| initialized, initializing, isRefreshing, log, previousValue, properties, value, visible | 
| Constructor Summary | |
|---|---|
| ToggleButton(java.lang.String name) | |
| Method Summary | |
|---|---|
|  boolean | canContainValue() | 
|  void | destroy() | 
|  void | focus() | 
|  java.lang.Object | getGuiValue() | 
|  java.lang.Object | getNativeWidget() | 
|  java.lang.Object | getValue() | 
|  org.xulux.api.gui.IWidgetInitializer | getWidgetInitializer() | 
|  void | initialize() | 
|  boolean | isValueEmpty() | 
|  void | refresh() | 
|  void | setValue(java.lang.Object value) | 
| Methods inherited from class org.xulux.gui.XuluxWidget | 
|---|
| addChildWidget, addDependency, addPropertyHandler, addPropertyHandler, addXuluxListener, canBeRootWidget, canContainChildren, clear, equals, getChildWidgets, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, getWidgetType, handleProperties, handleProperty, hasDependencies, ignoreLayout, ignoreUse, isEnabled, isImmidiate, isInitializing, isRefreshing, isRequired, isRootWidget, isSkip, isUseIgnored, isValidValue, isVisible, notifyListeners, processDestroy, processInit, processNativeWidget, registerRule, removeAllRules, setAutoRefresh, setContainerWidgetHandler, setEnabled, setField, setImmidiate, setLazyProperty, setName, setParent, setPart, setPosition, setPrefix, setProperty, setProvider, setRequired, setRootWidget, setSize, setSkip, setValidValue, setVisible, setWidgetInitializer, setWidgetType, toString, updateWidget | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected javax.swing.JToggleButton toggleButton
protected PrePostFieldListener itemListener
protected java.awt.event.FocusListener focusListener
| Constructor Detail | 
|---|
public ToggleButton(java.lang.String name)
name - the name of the togglebutton| Method Detail | 
|---|
public void destroy()
IWidget.destroy()public java.lang.Object getNativeWidget()
org.xulux.nyx.gui.XuluxWidget#getNativeWidget()public void initialize()
org.xulux.nyx.gui.XuluxWidget#initialize()public void refresh()
refresh in interface org.xulux.api.gui.IWidgetrefresh in class org.xulux.gui.XuluxWidgetorg.xulux.nyx.gui.XuluxWidget#refresh()public java.lang.Object getGuiValue()
org.xulux.nyx.gui.XuluxWidget#getGuiValue()public void focus()
org.xulux.nyx.gui.XuluxWidget#focus()public boolean isValueEmpty()
org.xulux.nyx.gui.XuluxWidget#isValueEmpty()public boolean canContainValue()
org.xulux.nyx.gui.XuluxWidget#canContainValue()public java.lang.Object getValue()
getValue in interface org.xulux.api.gui.IWidgetgetValue in class org.xulux.gui.XuluxWidgetorg.xulux.nyx.gui.XuluxWidget#getValue()public void setValue(java.lang.Object value)
setValue in interface org.xulux.api.gui.IWidgetsetValue in class org.xulux.gui.XuluxWidgetorg.xulux.nyx.gui.XuluxWidget#setValue(java.lang.Object)public org.xulux.api.gui.IWidgetInitializer getWidgetInitializer()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||