|
|||||||||||
| 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
| Field Summary | |
protected java.awt.event.ActionListener |
fActionListener
|
protected XChangeListener |
fChangeListener
|
protected XFormsContext |
fContext
|
protected boolean |
insideEvent
whether I'm inside update event to prevent loops |
protected org.w3c.dom.Element |
ownerElem
|
| Constructor Summary | |
AbstractControl(XFormsContext context,
org.w3c.dom.Element elem)
|
|
| Method Summary | |
protected void |
activate(java.awt.event.ActionEvent event)
call this method when the control has been activated |
protected void |
activate(java.lang.String command)
call this method when the control has been activated |
void |
addActionListener(java.awt.event.ActionListener listener)
add a listener for actions in the component |
void |
addChangeListener(XChangeListener listener)
add a listener for changes in the component |
void |
destroy()
close up, free all memory (yet, do not do visible changes, such as setVisible since this will slow things up |
Data |
getData()
|
short |
getDataType()
|
boolean |
isInputControl()
|
boolean |
isWritable()
|
void |
rewiringAboutToHappen()
This notifies the text control to save its value before rewiring |
void |
setData(Data d)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fi.hut.tml.xsmiles.mlfc.xforms.adaptive.Control |
getComponent, getValue, updateDisplay |
| Field Detail |
protected XFormsContext fContext
protected XChangeListener fChangeListener
protected java.awt.event.ActionListener fActionListener
protected boolean insideEvent
protected org.w3c.dom.Element ownerElem
| Constructor Detail |
public AbstractControl(XFormsContext context,
org.w3c.dom.Element elem)
| Method Detail |
public void addChangeListener(XChangeListener listener)
addChangeListener in interface Controlpublic void addActionListener(java.awt.event.ActionListener listener)
addActionListener in interface Controlpublic void rewiringAboutToHappen()
rewiringAboutToHappen in interface Controlpublic boolean isWritable()
isWritable in interface FormControlpublic void destroy()
destroy in interface Controlprotected void activate(java.lang.String command)
protected void activate(java.awt.event.ActionEvent event)
public boolean isInputControl()
isInputControl in interface TypedElementpublic short getDataType()
getDataType in interface TypedElementpublic Data getData()
getData in interface TypedElementpublic void setData(Data d)
setData in interface TypedElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||