|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xulux.gui.XuluxWidget org.xulux.guilayer.swing.SwingWidget org.xulux.guilayer.swing.widgets.Entry
public class Entry
Represents an entry field
Field Summary | |
---|---|
protected PrePostFieldListener |
focusListener
The focuslistener |
protected PrePostFieldListener |
immidiateListener
the immidiatelistener |
protected boolean |
setValueCalled
is setValue called ? |
protected javax.swing.text.JTextComponent |
textComponent
A textcomponent allows overriding by similar classes. |
protected java.lang.Class |
valueClass
the value class |
Fields inherited from class org.xulux.gui.XuluxWidget |
---|
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible |
Constructor Summary | |
---|---|
Entry(java.lang.String name)
Constructor for Entry. |
Method Summary | |
---|---|
void |
addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
|
boolean |
canContainValue()
|
void |
clear()
|
void |
destroy()
|
java.lang.Object |
getGuiValue()
|
java.lang.Object |
getNativeWidget()
|
java.lang.Object |
getValue()
|
void |
initialize()
|
protected void |
initializeValue()
Lets changes reflect onscreen. |
protected void |
initInitialValue()
Initializes the initial value, if any. |
boolean |
isValueEmpty()
|
void |
refresh()
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
|
void |
setValue(java.lang.Object object)
|
Methods inherited from class org.xulux.guilayer.swing.SwingWidget |
---|
focus, getWidgetInitializer |
Methods inherited from class org.xulux.gui.XuluxWidget |
---|
addChildWidget, addDependency, addPropertyHandler, addPropertyHandler, canBeRootWidget, canContainChildren, 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, 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 boolean setValueCalled
protected javax.swing.text.JTextComponent textComponent
protected PrePostFieldListener focusListener
protected PrePostFieldListener immidiateListener
protected java.lang.Class valueClass
Constructor Detail |
---|
public Entry(java.lang.String name)
name
- the name of the entryMethod Detail |
---|
public void destroy()
IWidget.destroy()
public java.lang.Object getNativeWidget()
IWidget.getNativeWidget()
public void setProperty(java.lang.String key, java.lang.Object value)
setProperty
in interface org.xulux.api.gui.IWidget
setProperty
in class org.xulux.gui.XuluxWidget
IWidget.setProperty(java.lang.String, java.lang.Object)
public void initialize()
IWidget.initialize()
protected void initInitialValue()
public void refresh()
refresh
in interface org.xulux.api.gui.IWidget
refresh
in class org.xulux.gui.XuluxWidget
IWidget.refresh()
public java.lang.Object getValue()
getValue
in interface org.xulux.api.gui.IWidget
getValue
in class org.xulux.gui.XuluxWidget
IWidget.getValue()
protected void initializeValue()
value
- public void setValue(java.lang.Object object)
setValue
in interface org.xulux.api.gui.IWidget
setValue
in class org.xulux.gui.XuluxWidget
IWidget.setValue(java.lang.Object)
public void clear()
clear
in interface org.xulux.api.gui.IWidget
clear
in class org.xulux.gui.XuluxWidget
IWidget.clear()
public java.lang.Object getGuiValue()
IWidget.getGuiValue()
public boolean canContainValue()
IWidget.canContainValue()
public boolean isValueEmpty()
IWidget.isValueEmpty()
public void addXuluxListener(org.xulux.api.gui.IXuluxListener listener)
addXuluxListener
in interface org.xulux.api.gui.IWidget
addXuluxListener
in class org.xulux.gui.XuluxWidget
IWidget.addXuluxListener(org.xulux.api.gui.IXuluxListener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |