|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComponentContent
Content set by a Clientlet. To ensure backward
compatibility, it is recommended that AbstractComponentContent
be extended instead of implementing this interface whenever
possible.
ClientletContext.setResultingContent(ComponentContent)| Method Summary | |
|---|---|
void |
addNotify()
Called after the content has been added to a container for display. |
boolean |
canCopy()
Determines whether it's possible to copy content to the clipboard. |
boolean |
copy()
Copies content to the clipboard. |
java.awt.Component |
getComponent()
|
java.lang.Object |
getContentObject()
Gets an implementation-dependent object that represents the content. |
java.lang.String |
getDescription()
|
java.lang.String |
getMimeType()
Gets a mime-type that can be said to be associated with the object returned by getContentObject(). |
java.lang.String |
getSourceCode()
Gets the source code associated with the content. |
java.lang.String |
getTitle()
|
void |
removeNotify()
Called after the content has been removed from the display container. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property of the content. |
| Method Detail |
|---|
java.awt.Component getComponent()
java.lang.String getTitle()
java.lang.String getDescription()
boolean canCopy()
boolean copy()
java.lang.String getSourceCode()
void addNotify()
void removeNotify()
java.lang.Object getContentObject()
java.lang.String getMimeType()
getContentObject(). This may differ from the mime-type
of the response that produced the content, and it may also be null.
void setProperty(java.lang.String name,
java.lang.Object value)
name - value -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||