|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.dnd.viewer.content.AbstractContent
org.nakedobjects.plugins.dnd.viewer.content.AbstractCollectionContent
org.nakedobjects.plugins.dnd.viewer.content.RootCollection
public class RootCollection
| Constructor Summary | |
|---|---|
RootCollection(NakedObject collection)
|
|
| Method Summary | |
|---|---|
Consent |
canClear()
|
Consent |
canDrop(Content sourceContent)
Determines if the specified content can be drop on this content. |
Consent |
canSet(NakedObject dragSource)
|
void |
clear()
|
void |
debugDetails(DebugString debug)
|
NakedObject |
drop(Content sourceContent)
Implements the response to the dropping of the specified content onto this content. |
NakedObject |
getCollection()
|
java.lang.String |
getHelp()
|
java.lang.String |
getIconName()
The name of the icon to use to respresent the object represented by this content. |
Image |
getIconPicture(int iconHeight)
The icon to use to respresent the object represented by this content. |
java.lang.String |
getId()
|
NakedObject |
getNaked()
The object represented by this content. |
NakedObjectSpecification |
getSpecification()
The specification of the object represented by this content. |
boolean |
isCollection()
Returns true if this content represents a NakedCollection. |
boolean |
isTransient()
Returns true if the object represented by this content is transient; has not been persisted yet. |
void |
setObject(NakedObject object)
|
java.lang.String |
title()
|
java.lang.String |
toString()
|
java.lang.String |
windowTitle()
|
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractCollectionContent |
|---|
allElements, contentMenuOptions, elements, getDescription, getElementSpecification, getFieldSortOrder, getOptions, getOrderByElement, getReverseSortOrder, isOptionEnabled, parseTextEntry, setOrder, setOrderByElement, setOrderByField, viewMenuOptions |
| Methods inherited from class org.nakedobjects.plugins.dnd.viewer.content.AbstractContent |
|---|
isObject, isPersistable, isTextParseable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RootCollection(NakedObject collection)
| Method Detail |
|---|
public Consent canClear()
public Consent canSet(NakedObject dragSource)
public void clear()
public void debugDetails(DebugString debug)
debugDetails in interface CollectionContentdebugDetails in interface ContentdebugDetails in class AbstractCollectionContentpublic NakedObject getCollection()
getCollection in interface CollectionContentgetCollection in class AbstractCollectionContentpublic boolean isCollection()
Content
isCollection in interface ContentisCollection in class AbstractContentpublic java.lang.String getHelp()
public java.lang.String getIconName()
Content
public java.lang.String getId()
public NakedObject getNaked()
Content
public NakedObjectSpecification getSpecification()
Content
public boolean isTransient()
Content
public void setObject(NakedObject object)
public java.lang.String title()
public java.lang.String windowTitle()
windowTitle in interface ContentwindowTitle in class AbstractContentpublic java.lang.String toString()
toString in class java.lang.Objectpublic NakedObject drop(Content sourceContent)
Content
public Consent canDrop(Content sourceContent)
Content
public Image getIconPicture(int iconHeight)
Content
getIconPicture in interface CollectionContentgetIconPicture in interface ContentgetIconPicture in class AbstractCollectionContent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||