|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uic.plugins.AbstractWidget
| Field Summary | |
protected static int |
BACKGROUNDCOLOR
|
protected boolean |
debug
|
protected boolean |
debugGrid
|
protected FileWriter |
file
|
protected static int |
FOREGROUNDCOLOR
|
protected char |
horizontalAlign
|
protected static int |
MAXIMUMSIZE
|
protected static int |
MINIMUMSIZE
|
protected String |
name
|
protected Hashtable |
properties
|
protected String |
sourceVersion
|
protected String |
tab
|
protected uic.helpers.Translator |
translator
|
protected uic.helpers.VariableManager |
variableManager
|
protected char |
verticalAlign
|
protected Element |
widgetElement
|
| Constructor Summary | |
AbstractWidget()
|
|
AbstractWidget(FileWriter file,
Element e)
|
|
| Method Summary | |
char |
getHorizontalAlign()
|
String |
getSourceVersion()
The user specified sourcecode version, check when using 'newer' calls. |
char |
getVerticalAlign()
|
String |
name()
|
void |
setDebug(boolean d)
alter the debugging settings. |
void |
setDebugGrid(boolean on)
alter the debugging settings. |
void |
setSourceVersion(String ver)
The user specified sourcecode version, check when using 'newer' calls. |
void |
setTranslator(uic.helpers.Translator t)
Sets a translator for translation of on screen strings. |
void |
setVariableManager(uic.helpers.VariableManager vm)
Sets the variableManager for unique names and global variables. |
abstract String |
writeConstruct()
Print the construction of the java widget. |
protected void |
writeDefaultProperties(String className)
Convenience method |
protected void |
writeDefaultProperties(String className,
int options)
|
void |
writeGlobalMethods()
Print optional global methods (stuff outside the guiInit method). |
void |
writePostConstruct()
Print initialisation code at the end of the guiInit method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String name
protected static final int BACKGROUNDCOLOR
protected static final int FOREGROUNDCOLOR
protected static final int MINIMUMSIZE
protected static final int MAXIMUMSIZE
protected uic.helpers.Translator translator
protected uic.helpers.VariableManager variableManager
protected Element widgetElement
protected Hashtable properties
protected boolean debug
protected boolean debugGrid
protected final String tab
protected FileWriter file
protected String sourceVersion
protected char horizontalAlign
protected char verticalAlign
| Constructor Detail |
public AbstractWidget()
public AbstractWidget(FileWriter file,
Element e)
| Method Detail |
public abstract String writeConstruct()
throws IOException
IOException
public void writePostConstruct()
throws IOException
IOException
public void writeGlobalMethods()
throws IOException
IOExceptionpublic void setTranslator(uic.helpers.Translator t)
public void setVariableManager(uic.helpers.VariableManager vm)
public void setDebug(boolean d)
public void setDebugGrid(boolean on)
protected void writeDefaultProperties(String className,
int options)
throws IOException
IOException
protected void writeDefaultProperties(String className)
throws IOException
IOExceptionpublic char getHorizontalAlign()
public char getVerticalAlign()
public String getSourceVersion()
public void setSourceVersion(String ver)
public String name()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||