luxor
Class XulForm

java.lang.Object
  |
  +--luxor.XulForm

public abstract class XulForm
extends java.lang.Object


Constructor Summary
XulForm(java.lang.String id)
           
 
Method Summary
 void addComponent(java.lang.String id, javax.swing.JComponent component)
           
 void addInput(XulInput input)
           
 void addListener(XulFormListener l)
           
 java.lang.String exportToXml()
           
protected  void fireFocusGained(XulInput input)
           
protected  void fireFocusLost(XulInput input)
           
 java.lang.String getId()
           
 java.util.Iterator getInputControls()
           
 javax.swing.JComponent getJComponent()
           
 java.util.List getValidationErrors()
           
 void importFromXml(java.lang.String xml)
           
abstract  void init()
           
 boolean isValid()
           
 void postInit()
           
 void removeListener(XulFormListener l)
           
 void setup()
          Note: don't forget to call setup in derived class I can't put setup in constructor because it wouldn't allow setting of any member variables which might be needed in init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XulForm

public XulForm(java.lang.String id)
Method Detail

setup

public void setup()
Note: don't forget to call setup in derived class I can't put setup in constructor because it wouldn't allow setting of any member variables which might be needed in init


getId

public java.lang.String getId()

getInputControls

public java.util.Iterator getInputControls()

getJComponent

public javax.swing.JComponent getJComponent()

getValidationErrors

public java.util.List getValidationErrors()

isValid

public boolean isValid()

addComponent

public void addComponent(java.lang.String id,
                         javax.swing.JComponent component)

addInput

public void addInput(XulInput input)

addListener

public void addListener(XulFormListener l)

exportToXml

public java.lang.String exportToXml()

importFromXml

public void importFromXml(java.lang.String xml)

init

public abstract void init()

postInit

public void postInit()

removeListener

public void removeListener(XulFormListener l)

fireFocusGained

protected void fireFocusGained(XulInput input)

fireFocusLost

protected void fireFocusLost(XulInput input)


Copyright 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo