luxor.core
Class XulFormHelper

java.lang.Object
  |
  +--luxor.core.XulFormHelper
All Implemented Interfaces:
JComponentResolver

public class XulFormHelper
extends java.lang.Object
implements JComponentResolver


Constructor Summary
XulFormHelper(java.lang.String formKey)
           
 
Method Summary
 void addComponent(java.lang.String key, javax.swing.JComponent comp)
           
 void addInput(XulInput input)
           
 java.lang.String exportAsXml()
          export form's data as xml note: this method is currently experimental and will be changed and improved substantly over time
 java.util.Iterator getInputControls()
           
 javax.swing.JComponent getJComponent()
           
 java.util.List getValidationErrors()
           
 void importFromXml(java.lang.String xml)
          import form's data from xml note: this method is currently experimental and will be changed and improved substantly over time
 boolean isValid()
           
 void linkControls()
           
 javax.swing.JComponent lookupJComponent(java.lang.String key)
           
 void setup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XulFormHelper

public XulFormHelper(java.lang.String formKey)
Method Detail

setup

public void setup()

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 key,
                         javax.swing.JComponent comp)

addInput

public void addInput(XulInput input)

exportAsXml

public java.lang.String exportAsXml()
export form's data as xml note: this method is currently experimental and will be changed and improved substantly over time


importFromXml

public void importFromXml(java.lang.String xml)
import form's data from xml note: this method is currently experimental and will be changed and improved substantly over time


linkControls

public void linkControls()

lookupJComponent

public javax.swing.JComponent lookupJComponent(java.lang.String key)
Specified by:
lookupJComponent in interface JComponentResolver


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