|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.montsuqi.monsia.builders.WidgetBuilder
public class WidgetBuilder
Super class for all widget builders.
A widget builder is a class which provides methods to create instances of a specific class.
| Field Summary | |
|---|---|
protected static Logger |
logger
|
| Constructor Summary | |
|---|---|
WidgetBuilder()
|
|
| Method Summary | |
|---|---|
(package private) void |
buildChildren(Interface xml,
java.awt.Container parent,
WidgetInfo info)
|
(package private) java.awt.Component |
buildSelf(Interface xml,
java.awt.Container parent,
WidgetInfo info)
Instantiate a specific component. |
static java.awt.Component |
buildWidget(Interface xml,
WidgetInfo info,
java.awt.Container parent)
Builds a widget. |
protected void |
setCommonParameters(Interface xml,
java.awt.Component widget,
WidgetInfo info)
|
(package private) void |
setProperties(Interface xml,
java.awt.Container parent,
java.awt.Component widget,
java.util.Map properties)
|
protected void |
setSignals(Interface xml,
java.awt.Component widget,
WidgetInfo info)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Logger logger
| Constructor Detail |
|---|
public WidgetBuilder()
| Method Detail |
|---|
public static java.awt.Component buildWidget(Interface xml,
WidgetInfo info,
java.awt.Container parent)
Builds a widget.
A widget is build in following steps:
xml - glade interface definition.info - widget info for the target widget.parent - parent component of the target widget.
java.awt.Component buildSelf(Interface xml,
java.awt.Container parent,
WidgetInfo info)
Instantiate a specific component.
When one is created successfuly, properties are set and accelerators are assigned.
xml - glade screen definition.parent - parent widget.info - widget info.
void buildChildren(Interface xml,
java.awt.Container parent,
WidgetInfo info)
protected void setCommonParameters(Interface xml,
java.awt.Component widget,
WidgetInfo info)
protected void setSignals(Interface xml,
java.awt.Component widget,
WidgetInfo info)
void setProperties(Interface xml,
java.awt.Container parent,
java.awt.Component widget,
java.util.Map properties)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||