uic.plugins
Class QButtonGroup

java.lang.Object
  |
  +--uic.plugins.AbstractWidget
        |
        +--uic.plugins.QGroupBox
              |
              +--uic.plugins.QButtonGroup

public class QButtonGroup
extends QGroupBox

A button group is basically a groupbox plus that the children buttons are made mutually exclusive. We extend the QGroupbox for the writeConstruct method.


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
QButtonGroup(FileWriter file, Element e)
           
 
Method Summary
protected  void doChildren(Element element)
           
protected  String getButtonGroupClassName()
          If you want to use a different ButtonGroup class, override this method.
protected  String getButtonGroupName()
          The current buttonGroup instance name.
 void writePostConstruct()
          Print initialisation code at the end of the guiInit method.
 
Methods inherited from class uic.plugins.QGroupBox
writeConstruct
 
Methods inherited from class uic.plugins.AbstractWidget
getHorizontalAlign, getSourceVersion, getVerticalAlign, name, setDebug, setDebugGrid, setSourceVersion, setTranslator, setVariableManager, writeDefaultProperties, writeDefaultProperties, writeGlobalMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QButtonGroup

public QButtonGroup(FileWriter file,
                    Element e)
Method Detail

writePostConstruct

public void writePostConstruct()
                        throws IOException
Description copied from class: AbstractWidget
Print initialisation code at the end of the guiInit method. Thinks printed here are stuff like the adding of default actions.

Overrides:
writePostConstruct in class AbstractWidget
IOException

getButtonGroupName

protected String getButtonGroupName()
The current buttonGroup instance name. No need to override this.


getButtonGroupClassName

protected String getButtonGroupClassName()
If you want to use a different ButtonGroup class, override this method. The default is "ButtonGroup" (for the javax.swing.ButtonGroup). You can override this method and return your mypackage.MyButtonGroup


doChildren

protected void doChildren(Element element)
                   throws IOException
IOException


Copyright © 2002,2003 Thomas Zander