|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl
fi.hut.tml.xsmiles.mlfc.xforms.adaptive.InputDate
this is the element control implementation when the datatype is derived from xsd:date. It is represented as a calendar control
| Field Summary | |
protected XCalendar |
fCalendar
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl |
fActionListener, fChangeListener, fContext, insideEvent, ownerElem |
| Constructor Summary | |
InputDate(XFormsContext context,
org.w3c.dom.Element elem)
|
|
| Method Summary | |
protected void |
createControl()
|
void |
destroy()
close up, free all memory (yet, do not do visible changes, such as setVisible since this will slow things up |
XComponent |
getComponent()
returns the abstract component for this control. |
Data |
getValue()
get the components current value |
protected void |
registerListener()
internal method for setting the listener for the component |
void |
updateDisplay()
this function is used to notify the control to update its display according to the content of Data |
void |
valueChanged(boolean valueChanging,
java.lang.Object src)
ChangeListener method that notifies that the user has changed the value of the control. |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl |
activate, activate, addActionListener, addChangeListener, getData, getDataType, isInputControl, isWritable, rewiringAboutToHappen, setData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected XCalendar fCalendar
| Constructor Detail |
public InputDate(XFormsContext context,
org.w3c.dom.Element elem)
| Method Detail |
protected void createControl()
public XComponent getComponent()
getComponent in interface Controlprotected void registerListener()
public void updateDisplay()
updateDisplay in interface Controlpublic Data getValue()
getValue in interface Control
public void valueChanged(boolean valueChanging,
java.lang.Object src)
valueChanged in interface XChangeListenerpublic void destroy()
destroy in interface Controldestroy in class AbstractControl
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||