fi.hut.tml.xsmiles.mlfc.xforms.adaptive
Class OutputAny

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl
      extended byfi.hut.tml.xsmiles.mlfc.xforms.adaptive.OutputAny
All Implemented Interfaces:
Control, FormControl, TypedElement

public class OutputAny
extends AbstractControl


Field Summary
protected  XCaption fOutput
           
 
Fields inherited from class fi.hut.tml.xsmiles.mlfc.xforms.adaptive.AbstractControl
fActionListener, fChangeListener, fContext, insideEvent, ownerElem
 
Constructor Summary
OutputAny(XFormsContext context, org.w3c.dom.Element elem)
           
 
Method Summary
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
 XComponent getComponent()
          returns the abstract component for this control.
 Data getValue()
          get the components current value
 boolean isInputControl()
          set the components value
 boolean isWritable()
           
 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, rewiringAboutToHappen, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fOutput

protected XCaption fOutput
Constructor Detail

OutputAny

public OutputAny(XFormsContext context,
                 org.w3c.dom.Element elem)
Method Detail

createControl

protected void createControl()
creates the control with the component factory


getComponent

public XComponent getComponent()
returns the abstract component for this control. The abstract component can be used e.g. to style the component but all listeners should be added to the AdaptiveControl and not directly to the XComponent


getValue

public Data getValue()
get the components current value


destroy

public void destroy()
Description copied from class: AbstractControl
close up, free all memory (yet, do not do visible changes, such as setVisible since this will slow things up

Specified by:
destroy in interface Control
Overrides:
destroy in class AbstractControl

isInputControl

public boolean isInputControl()
set the components value

Specified by:
isInputControl in interface TypedElement
Overrides:
isInputControl in class AbstractControl

updateDisplay

public void updateDisplay()
Description copied from interface: Control
this function is used to notify the control to update its display according to the content of Data


isWritable

public boolean isWritable()
Specified by:
isWritable in interface FormControl
Overrides:
isWritable in class AbstractControl


X-Smiles 1.2