|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWidgetConfig
Method Summary | |
---|---|
void |
add(java.lang.String type,
java.lang.Class widgetClass)
Adds a specific implementation to the widgetConfig |
void |
addContentHandler(java.lang.String clz,
java.lang.String view)
Adds a contenthandler to a widgetconfiguration. |
void |
addPropertyHandler(java.lang.String clz,
java.lang.String use,
java.lang.String name,
java.lang.String type)
Adds a propertyhandler to the widgetconfig. |
void |
addWidgetTool(java.lang.String type,
java.lang.Class clazz)
Adds a widgettool to the widgetconfig |
void |
addWidgetTool(java.lang.String type,
java.lang.String clazzName)
Adds a widgettool to the widgetconfig |
java.lang.Class |
get(java.lang.String type)
|
IContentHandler |
getContentHandler(java.lang.Class clazz)
|
java.util.Map |
getContentHandlers()
|
java.lang.Class |
getCoreClass()
|
java.util.List |
getPropertyHandlers(java.lang.String type)
|
java.util.Map |
getWidgetDefaults()
|
java.util.List |
getWidgetInitializers(java.lang.String type)
|
void |
registerWidgetDefault(java.lang.String key,
java.lang.Object value)
Register a property for this widget that needs to be set on creation of the widget |
void |
setCoreClass(java.lang.Class coreClass)
Set the coreClass of the widget |
Method Detail |
---|
void add(java.lang.String type, java.lang.Class widgetClass)
type
- the type of gui layerwidgetClass
- the widget classjava.lang.Class getCoreClass()
void setCoreClass(java.lang.Class coreClass)
coreClass
- the coreclass of the widgetjava.lang.Class get(java.lang.String type)
type
- the type of gui layer
java.util.List getWidgetInitializers(java.lang.String type)
type
- - eg swing, swt, awt, html, etc.
void addWidgetTool(java.lang.String type, java.lang.String clazzName)
type
- the type of gui layerclazzName
- the widgettools classvoid addWidgetTool(java.lang.String type, java.lang.Class clazz)
type
- the type of gui layerclazz
- the widgettools classvoid addContentHandler(java.lang.String clz, java.lang.String view)
clz
- the clazz of the contenthandlerview
- the clazz of the view. If none specified toString handling will be usedIContentHandler getContentHandler(java.lang.Class clazz)
clazz
- the className to get the contenthandler for.
java.util.Map getContentHandlers()
void addPropertyHandler(java.lang.String clz, java.lang.String use, java.lang.String name, java.lang.String type)
clz
- the class nameuse
- the type of usage for this propertyhandler. Supported : normal, delayed, refreshname
- the name of the propertytype
- the type of guilayerjava.util.List getPropertyHandlers(java.lang.String type)
type
- the gui layer type
void registerWidgetDefault(java.lang.String key, java.lang.Object value)
key
- the key of the propertyvalue
- the value of the propertyjava.util.Map getWidgetDefaults()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |