uic.output.swing
Class QSplitter

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

public class QSplitter
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
QSplitter(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.
 
Methods inherited from class uic.output.swing.AbstractWidget
writeDefaultProperties
 
Methods inherited from class uic.output.AbstractWidget
createActions, 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

QSplitter

public QSplitter(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.


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