|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lobobrowser.clientlet.AbstractComponentContent
public abstract class AbstractComponentContent
Abstract implementation of ComponentContent.
It is recommended that ComponentContent
implementations extend this class for forward
compatibility.
| Constructor Summary | |
|---|---|
AbstractComponentContent()
|
|
| 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. |
abstract 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 ComponentContent.getContentObject(). |
abstract java.lang.String |
getSourceCode()
Gets the source code associated with the content. |
abstract 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractComponentContent()
| Method Detail |
|---|
public boolean canCopy()
ComponentContent
canCopy in interface ComponentContentpublic boolean copy()
ComponentContent
copy in interface ComponentContentpublic abstract java.awt.Component getComponent()
getComponent in interface ComponentContentpublic abstract java.lang.String getSourceCode()
ComponentContent
getSourceCode in interface ComponentContentpublic abstract java.lang.String getTitle()
getTitle in interface ComponentContentpublic java.lang.String getDescription()
getDescription in interface ComponentContentpublic void addNotify()
ComponentContent
addNotify in interface ComponentContentpublic void removeNotify()
ComponentContent
removeNotify in interface ComponentContentpublic java.lang.Object getContentObject()
ComponentContent
getContentObject in interface ComponentContentpublic java.lang.String getMimeType()
ComponentContentComponentContent.getContentObject(). This may differ from the mime-type
of the response that produced the content, and it may also be null.
getMimeType in interface ComponentContent
public void setProperty(java.lang.String name,
java.lang.Object value)
ComponentContent
setProperty in interface ComponentContent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||