|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pow2.webgui.WidgetInfo
public class WidgetInfo
WidgetInfo class.
Constructor Summary | |
---|---|
WidgetInfo()
Default constructor. |
Method Summary | |
---|---|
String |
getClassName()
Gets the className attribute of the WidgetInfo object |
BaseContentProvider |
getContentProvider(String key,
Widget w)
Get the ContentProvider instance registered using the input key. |
String |
getName()
Gets the name attribute of the WidgetInfo object |
WidgetDrawer |
getWidgetDrawer(String key,
Widget w)
Get the WidgetDrawer instance registered using the input key. |
void |
setClassName(String className)
Sets the className attribute of the WidgetInfo object |
void |
setContentProvider(String key,
String className)
Set a contentProvider class name into the drawer map. |
void |
setName(String name)
Sets the name attribute of the WidgetInfo object |
void |
setWidgetDrawer(String key,
String className)
Set a widgetDrawer class name into the drawer map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetInfo()
Method Detail |
---|
public String getClassName()
public String getName()
public void setClassName(String className)
className
- The new className valuepublic void setName(String name)
name
- The new name valuepublic BaseContentProvider getContentProvider(String key, Widget w) throws Exception
key
- the key used to register the ContentProvider class name into
the contentProvider map
Exception
- if any error occurspublic void setContentProvider(String key, String className)
key
- the key used to register the contentProvider into the mapclassName
- the contentProvider class namepublic WidgetDrawer getWidgetDrawer(String key, Widget w) throws Exception
key
- the key used to register the WidgetDrawer class name into
the drawerMap
Exception
- if any error occurspublic void setWidgetDrawer(String key, String className)
key
- the key used to register the drawer into the mapclassName
- the WidgetDrawer class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |