|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContentHandler
The content handler interface. A contenthandler is used for widgets that shows content from a eg a list, a tree, DOM, etc. The passed in object will be processed to the type it returns when using getType() Eventually this will move to be the generic contenthandler for all widgets. Contenthandlers are registered in a widget (eg guidefaults), so the developer of a widget can specify which content is supported.
Method Summary | |
---|---|
java.lang.Object |
getContent()
|
java.lang.Class |
getType()
|
java.lang.Class |
getViewClass()
|
void |
refresh()
Notifies the contenthandler that a refresh needs to take place since some content was changed WITHOUT calling setContent. |
void |
setContent(java.lang.Object content)
Sets the content to the specified object. |
void |
setView(java.lang.Class view)
Set the view of this contenthandler |
Method Detail |
---|
void setContent(java.lang.Object content)
content
- the content to use on the handlerjava.lang.Object getContent()
java.lang.Class getType()
void refresh()
void setView(java.lang.Class view)
view
- the view class of the contenthandlerjava.lang.Class getViewClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |