|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGuiDefaults
The GuiDefaults interface.
Method Summary | |
---|---|
java.lang.String |
getDefaultGuiLayer()
|
IXuluxLayout |
getDefaultLayout()
The defaultwidget type needs to be set for this method to work. |
IXuluxListener |
getFieldEventHandler(java.lang.String guiLayer)
|
IInvalidValueStrategy |
getInvalidValueStrategy()
|
IInvalidValueStrategy |
getInvalidValueStrategy(java.lang.String name)
|
IXuluxLayout |
getLayout(java.lang.String guiLayer,
java.lang.String name)
|
INativeWidgetHandler |
getNativeWidgetHandler()
|
INativeWidgetHandler |
getNativeWidgetHandler(java.lang.String guiLayer)
|
IParentWidgetHandler |
getParentWidgetHandler()
|
IParentWidgetHandler |
getParentWidgetHandler(java.lang.String guiLayer)
|
java.lang.Class |
getWidget(java.lang.String name)
Returns the class that corresponds to the name or null when not found See GuiDefaults.xml for more info on defining widgets or call registerWidget(name, clazz) to register one yourself.. |
IWidgetConfig |
getWidgetConfig(java.lang.String widgetName)
|
java.util.Map |
getWidgets()
|
IXuluxToolkit |
getXuluxToolkit()
|
void |
registerFieldEventHandler(java.lang.String guiLayer,
java.lang.String clazz)
|
void |
registerInvalidValueStrategy(java.lang.String name,
boolean isDefault,
java.lang.String clazz)
Register the specified InvalidValueStrategy. |
void |
registerLayout(java.lang.String name,
boolean isDefault,
java.lang.String clazz,
java.lang.String guiLayer)
Register the specified layout. |
void |
registerNativeWidgetHandler(java.lang.String guiLayer,
java.lang.String clazz)
Registers the native widget handler. |
void |
registerParentWidgetHandler(java.lang.String guiLayer,
java.lang.String clazz)
Registers the parent widget handler. |
IWidgetConfig |
registerWidget(java.lang.String name,
java.lang.String clazz,
java.lang.String guiLayer)
Registers a widget that can be used to construct an ui. |
void |
registerXuluxToolkit(java.lang.String clazz,
java.lang.String guiLayer)
Add a toolkit of specified type |
void |
setDefaultGuiLayer(java.lang.String guiLayer)
Sets the application wide default widget type (eg. |
Method Detail |
---|
IXuluxToolkit getXuluxToolkit()
void registerXuluxToolkit(java.lang.String clazz, java.lang.String guiLayer)
clazz
- the toolkit classguiLayer
- if the guiLayer is null, it defaults to the default guiLayerIXuluxListener getFieldEventHandler(java.lang.String guiLayer)
guiLayer
- specifies the guiLayer to get the eventhandler for
void registerFieldEventHandler(java.lang.String guiLayer, java.lang.String clazz)
guiLayer
- the guilayer to register the field eventhandler forclazz
- the class name of the field event handler.INativeWidgetHandler getNativeWidgetHandler()
INativeWidgetHandler getNativeWidgetHandler(java.lang.String guiLayer)
guiLayer
- specifies the guiLayer to get the native widget handler for
IParentWidgetHandler getParentWidgetHandler()
IParentWidgetHandler getParentWidgetHandler(java.lang.String guiLayer)
guiLayer
- specifies the guiLayer to get the parent widget handler for
void registerParentWidgetHandler(java.lang.String guiLayer, java.lang.String clazz)
guiLayer
- specifies the guiLayer to register the parent handler forclazz
- the class name of the parenthandler.IInvalidValueStrategy getInvalidValueStrategy()
IInvalidValueStrategy getInvalidValueStrategy(java.lang.String name)
name
- the name of the strategy
void registerInvalidValueStrategy(java.lang.String name, boolean isDefault, java.lang.String clazz)
name
- the name of the strategyisDefault
- is this strategy the defaultclazz
- the class of the strategyvoid registerNativeWidgetHandler(java.lang.String guiLayer, java.lang.String clazz)
guiLayer
- specifies the gui type to register the native handler forclazz
- the classname of the nativehandler.java.util.Map getWidgets()
IWidgetConfig registerWidget(java.lang.String name, java.lang.String clazz, java.lang.String guiLayer)
name
- the widget name (eg combo)clazz
- the class that needs to be usedguiLayer
- the guiLayer to useIWidgetConfig getWidgetConfig(java.lang.String widgetName)
widgetName
- the name of the widget to get the config for
java.lang.String getDefaultGuiLayer()
IXuluxLayout getDefaultLayout()
void setDefaultGuiLayer(java.lang.String guiLayer)
type
- the default gui type for this applicationIXuluxLayout getLayout(java.lang.String guiLayer, java.lang.String name)
guiLayer
- the gui layer type. If null, it will use the default gui layer.name
- the name of the layout
void registerLayout(java.lang.String name, boolean isDefault, java.lang.String clazz, java.lang.String guiLayer)
name
- the name of the layoutisDefault
- is this layout the defaultclazz
- the class of the layoutguiLayer
- the gui layerjava.lang.Class getWidget(java.lang.String name)
name
- - the widget name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |