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.
| Fields inherited from class uic.plugins.AbstractWidget |
BACKGROUNDCOLOR, debug, debugGrid, file, FOREGROUNDCOLOR, horizontalAlign, MAXIMUMSIZE, MINIMUMSIZE, name, properties, sourceVersion, tab, translator, variableManager, verticalAlign, widgetElement |
| 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 |
QButtonGroup
public QButtonGroup(FileWriter file,
Element e)
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