|
||||||||||
| 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.MenuItem
public class MenuItem
Creates a menuitem or a seperator, based on the type of menuitem
| Field Summary | |
|---|---|
protected java.awt.event.ActionListener |
actionListener
the actionlistener |
protected javax.swing.JMenuItem |
item
The native menuitem |
protected java.util.List |
listenerList
the nyx listeners |
protected javax.swing.JSeparator |
separator
the native seperator |
| Fields inherited from class org.xulux.gui.XuluxWidget |
|---|
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible |
| Constructor Summary | |
|---|---|
MenuItem(java.lang.String name)
|
|
| Method Summary | |
|---|---|
void |
addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
|
boolean |
canContainValue()
|
void |
destroy()
|
void |
focus()
|
java.lang.Object |
getGuiValue()
|
java.lang.Object |
getNativeWidget()
|
org.xulux.api.gui.IWidgetInitializer |
getWidgetInitializer()
|
void |
initialize()
|
boolean |
isValueEmpty()
|
void |
refresh()
|
| Methods inherited from class org.xulux.gui.XuluxWidget |
|---|
addChildWidget, addDependency, addPropertyHandler, addPropertyHandler, canBeRootWidget, canContainChildren, clear, equals, getChildWidgets, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, getValue, 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, setValue, 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.JMenuItem item
protected javax.swing.JSeparator separator
protected java.awt.event.ActionListener actionListener
protected java.util.List listenerList
| Constructor Detail |
|---|
public MenuItem(java.lang.String name)
name - the name of the menuitem| 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 void addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
addXuluxListener in interface org.xulux.api.gui.IWidgetaddXuluxListener in class org.xulux.gui.XuluxWidgetorg.xulux.nyx.gui.XuluxWidget#addXuluxListener(org.xulux.nyx.gui.XuluxListener)public org.xulux.api.gui.IWidgetInitializer getWidgetInitializer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||