|
|||||||||||
| 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.InputString
| Field Summary | |
protected XInput |
fInput
|
| Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl |
fActionListener, fChangeListener, fContext, insideEvent, ownerElem |
| Constructor Summary | |
InputString(XFormsContext context,
org.w3c.dom.Element elem)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs. |
protected void |
createControl()
creates the control with the component factory |
void |
destroy()
close up, free all memory (yet, do not do visible changes, such as setVisible since this will slow things up |
void |
focusGained(java.awt.event.FocusEvent ae)
|
void |
focusLost(java.awt.event.FocusEvent ae)
|
XComponent |
getComponent()
returns the abstract component for this control. |
Data |
getValue()
get the components current value |
void |
notifyIncrementalChange(java.awt.event.TextEvent e)
|
protected void |
registerListener()
internal method for setting the listener for the component |
void |
rewiringAboutToHappen()
This notifies the text control to save its value before rewiring |
void |
textValueChanged(java.awt.event.TextEvent e)
|
void |
updateDisplay()
set the components value |
| Methods inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl |
activate, activate, addActionListener, addChangeListener, getData, getDataType, isInputControl, isWritable, setData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected XInput fInput
| Constructor Detail |
public InputString(XFormsContext context,
org.w3c.dom.Element elem)
| Method Detail |
protected void createControl()
public XComponent getComponent()
getComponent in interface Controlpublic Data getValue()
getValue in interface Controlprotected void registerListener()
public void destroy()
AbstractControl
destroy in interface Controldestroy in class AbstractControlpublic void updateDisplay()
updateDisplay in interface Controlpublic void focusGained(java.awt.event.FocusEvent ae)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent ae)
focusLost in interface java.awt.event.FocusListenerpublic void rewiringAboutToHappen()
rewiringAboutToHappen in interface ControlrewiringAboutToHappen in class AbstractControlpublic void textValueChanged(java.awt.event.TextEvent e)
textValueChanged in interface java.awt.event.TextListenerpublic void notifyIncrementalChange(java.awt.event.TextEvent e)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||