uic.plugins
Class KColorButton

java.lang.Object
  |
  +--uic.plugins.AbstractWidget
        |
        +--uic.plugins.KColorButton

public class KColorButton
extends AbstractWidget

Since:
1.1

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
KColorButton(FileWriter file, Element e)
           
 
Method Summary
 String writeConstruct()
          Print the construction of the java widget.
 void writeGlobalMethods()
          Write method that will be called when buttons is pushed
 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
 

Constructor Detail

KColorButton

public KColorButton(FileWriter file,
                    Element e)
Method Detail

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
Write method that will be called when buttons is pushed

Overrides:
writeGlobalMethods in class AbstractWidget
IOException


Copyright © 2002,2003 Thomas Zander