uic.plugins
Class QWizard

java.lang.Object
  |
  +--uic.plugins.AbstractWidget
        |
        +--uic.plugins.QWizard
All Implemented Interfaces:
MultiPanelInterface

public class QWizard
extends AbstractWidget
implements MultiPanelInterface


Field Summary
 
Fields inherited from class uic.plugins.AbstractWidget
BACKGROUNDCOLOR, debug, debugGrid, file, FOREGROUNDCOLOR, horizontalAlign, MAXIMUMSIZE, MINIMUMSIZE, name, properties, sourceVersion, tab, translator, variableManager, verticalAlign, widgetElement
 
Constructor Summary
QWizard(FileWriter file, Element e)
           
 
Method Summary
 String addPanel(int index)
          On panels which can have multiple panels we add each 'child' seperately, this method is called and the plugin is expected to create a new container for that child.
 String writeConstruct()
          Print the construction of the java widget.
 void writeGlobalMethods()
          Print optional global methods (stuff outside the guiInit method).
 
Methods inherited from class uic.plugins.AbstractWidget
getHorizontalAlign, getSourceVersion, getVerticalAlign, name, setDebug, setDebugGrid, setSourceVersion, setTranslator, setVariableManager, writeDefaultProperties, writeDefaultProperties, writePostConstruct
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QWizard

public QWizard(FileWriter file,
               Element e)
Method Detail

writeConstruct

public String writeConstruct()
                      throws IOException
Description copied from class: AbstractWidget
Print the construction of the java widget. The base construction is done here, this is the first method invoced.

Specified by:
writeConstruct in class AbstractWidget
Returns:
name The name of the constructed class that should be added to a container.
IOException

addPanel

public String addPanel(int index)
                throws IOException
Description copied from interface: MultiPanelInterface
On panels which can have multiple panels we add each 'child' seperately, this method is called and the plugin is expected to create a new container for that child. For a QTabWidget each call will add a new tab, and return the (generated) name on which the widgets can be placed.

Specified by:
addPanel in interface MultiPanelInterface
Parameters:
index - A zero based index on which child will be added.
Returns:
name of the (empty) child container.
IOException

writeGlobalMethods

public void writeGlobalMethods()
                        throws IOException
Description copied from class: AbstractWidget
Print optional global methods (stuff outside the guiInit method). When using own methods you can print them here to the output file. Make sure that you generate a unique name for the method!

Overrides:
writeGlobalMethods in class AbstractWidget
IOException


Copyright © 2002,2003 Thomas Zander