uic.plugins
Class General
java.lang.Object
|
+--uic.plugins.AbstractWidget
|
+--uic.plugins.General
- public class General
- extends AbstractWidget
| Fields inherited from class uic.plugins.AbstractWidget |
BACKGROUNDCOLOR, debug, debugGrid, file, FOREGROUNDCOLOR, horizontalAlign, MAXIMUMSIZE, MINIMUMSIZE, name, properties, sourceVersion, tab, translator, variableManager, verticalAlign, widgetElement |
|
Method Summary |
String |
writeConstruct()
Print the construction of the java widget. |
void |
writeGlobalMethods()
Implement this method to get the output written in here as methods
in the target class. |
void |
writePostConstruct()
Print initialisation code at the end of the guiInit method. |
| Methods inherited from class uic.plugins.AbstractWidget |
getHorizontalAlign, getSourceVersion, getVerticalAlign, name, setDebug, setDebugGrid, setSourceVersion, setTranslator, setVariableManager, writeDefaultProperties, writeDefaultProperties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
General
public General(FileWriter file,
Element e)
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
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
writeGlobalMethods
public void writeGlobalMethods()
throws IOException
- Implement this method to get the output written in here as methods
in the target class. This is typically used to provide implementation
for extra interfaces.
- Overrides:
writeGlobalMethods in class AbstractWidget
IOException
Copyright © 2002,2003 Thomas Zander