|
|||||||||||
| 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.InputBoolean
this is the element control implementation when the datatype is derived from xsd:boolean. It is represented as a single checkbox
| Field Summary | |
protected XSelectBoolean |
fSelect
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl |
fActionListener, fChangeListener, fContext, insideEvent, ownerElem |
| Constructor Summary | |
InputBoolean(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 |
void |
itemStateChanged(java.awt.event.ItemEvent e)
This handles the changes from the widget XSelectBoolean |
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 |
| 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 XSelectBoolean fSelect
| Constructor Detail |
public InputBoolean(XFormsContext context,
org.w3c.dom.Element elem)
| Method Detail |
protected void createControl()
public XComponent getComponent()
getComponent in interface Controlprotected void registerListener()
public void destroy()
AbstractControl
destroy in interface Controldestroy in class AbstractControlpublic void updateDisplay()
updateDisplay in interface Controlpublic void itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged in interface java.awt.event.ItemListenerpublic Data getValue()
getValue in interface Control
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||