uic.output.swing
Class OldQWizard

java.lang.Object
  extended byuic.output.AbstractWidget
      extended byuic.output.swing.AbstractWidget
          extended byuic.output.swing.OldQWizard
All Implemented Interfaces:
MultiPanelInterface

public class OldQWizard
extends AbstractWidget
implements MultiPanelInterface


Nested Class Summary
 
Nested classes inherited from class uic.output.AbstractWidget
AbstractWidget.ActionInformation
 
Field Summary
 
Fields inherited from class uic.output.swing.AbstractWidget
BUTTON, DEFAULTS, PROP_BACKGROUNDCOLOR, PROP_BUTTONMNEMONIC, PROP_BUTTONTEXT, PROP_FOREGROUNDCOLOR, PROP_MAXIMUMSIZE, PROP_MINIMUMSIZE
 
Fields inherited from class uic.output.AbstractWidget
builder, debug, debugGrid, horizontalAlign, properties, sourceVersion, translator, verticalAlign, widgetElement
 
Constructor Summary
OldQWizard(UICBuilder builder, 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 constructWidget()
          Create the construction of the widget.
 void createActions()
          If a widget wants to add default actions, this is the place.
 
Methods inherited from class uic.output.swing.AbstractWidget
writeDefaultProperties
 
Methods inherited from class uic.output.AbstractWidget
getHorizontalAlign, getIntProperty, getName, getSignalActionInformation, getSlotActionInformation, getSourceVersion, getVerticalAlign, getWidgetRepresenter, isHTMLtext, setBuildSettings, setDebug, setDebugGrid, setSourceVersion, setTranslator, setWidgetRepresenter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OldQWizard

public OldQWizard(UICBuilder builder,
                  Element e)
Method Detail

constructWidget

public String constructWidget()
                       throws UnsupportedWidgetException
Description copied from class: AbstractWidget
Create the construction of the widget. The base construction is done here, this is the first method invoced.

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

addPanel

public String addPanel(int index)
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.

createActions

public void createActions()
Description copied from class: AbstractWidget
If a widget wants to add default actions, this is the place.

Overrides:
createActions in class AbstractWidget


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence