|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uic.output.AbstractWidget
Base class that provides implementation each plugin will likely need.
Nested Class Summary | |
static class |
AbstractWidget.ActionInformation
For each connection this is the information to subscribe a signal to a widget. |
Field Summary | |
protected UICBuilder |
builder
|
protected static int |
BUTTON
|
protected boolean |
debug
|
protected boolean |
debugGrid
|
protected static int |
DEFAULTS
|
protected char |
horizontalAlign
|
protected static int |
PROP_BACKGROUNDCOLOR
|
protected static int |
PROP_BUTTONMNEMONIC
|
protected static int |
PROP_BUTTONTEXT
|
protected static int |
PROP_FOREGROUNDCOLOR
|
protected static int |
PROP_MAXIMUMSIZE
|
protected static int |
PROP_MINIMUMSIZE
|
protected Hashtable |
properties
|
protected String |
sourceVersion
|
protected TranslatorInterface |
translator
|
protected char |
verticalAlign
|
protected Element |
widgetElement
|
Constructor Summary | |
AbstractWidget(UICBuilder builder,
Element e)
|
Method Summary | |
abstract String |
constructWidget()
Create the construction of the widget. |
void |
createActions()
If a widget wants to add default actions, this is the place. |
char |
getHorizontalAlign()
|
int |
getIntProperty(String propertyName,
int defaultValue)
|
protected String |
getName()
|
AbstractWidget.ActionInformation |
getSignalActionInformation(String signal)
|
String |
getSlotActionInformation(String slot)
|
String |
getSourceVersion()
The user specified sourcecode version, check when using 'newer' calls. |
char |
getVerticalAlign()
|
WidgetRepresenter |
getWidgetRepresenter()
|
protected boolean |
isHTMLtext(String input)
|
void |
setBuildSettings(UIC.BuildSettings buildSettings)
|
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(TranslatorInterface t)
Sets a translator for translation of on screen strings. |
void |
setWidgetRepresenter(WidgetRepresenter current)
|
protected void |
writeDefaultProperties(String className,
int options)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int PROP_BACKGROUNDCOLOR
protected static final int PROP_FOREGROUNDCOLOR
protected static final int PROP_MINIMUMSIZE
protected static final int PROP_MAXIMUMSIZE
protected static final int DEFAULTS
protected static final int PROP_BUTTONTEXT
protected static final int PROP_BUTTONMNEMONIC
protected static final int BUTTON
protected TranslatorInterface translator
protected Element widgetElement
protected Hashtable properties
protected boolean debug
protected boolean debugGrid
protected UICBuilder builder
protected String sourceVersion
protected char horizontalAlign
protected char verticalAlign
Constructor Detail |
public AbstractWidget(UICBuilder builder, Element e)
Method Detail |
public void setWidgetRepresenter(WidgetRepresenter current)
public WidgetRepresenter getWidgetRepresenter()
public void setBuildSettings(UIC.BuildSettings buildSettings)
public abstract String constructWidget() throws UnsupportedWidgetException
UnsupportedWidgetException
public void createActions()
public void setTranslator(TranslatorInterface t)
public void setDebug(boolean d)
public void setDebugGrid(boolean on)
protected void writeDefaultProperties(String className, int options)
public char getHorizontalAlign()
public char getVerticalAlign()
public String getSourceVersion()
public void setSourceVersion(String ver)
public int getIntProperty(String propertyName, int defaultValue)
protected String getName()
public AbstractWidget.ActionInformation getSignalActionInformation(String signal)
public String getSlotActionInformation(String slot)
protected boolean isHTMLtext(String input)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |