- All Superinterfaces:
- ContentSource, Handler, Invokable, Propertied, Referrer, java.io.Serializable, Typed, UContained
- All Known Subinterfaces:
- JAFable, View
- All Known Implementing Classes:
- ItemImpl, ViewImpl
- public interface Item
- extends UContained, Propertied, Invokable, Referrer, Typed, java.io.Serializable, Handler, ContentSource
A generic interface for an item in a view, describing its properties
and actions. Think icon in a file-manager as a starting point, but it
could be a database table, a row in a database, a jini service, an element
in a vector or hashtable, a live object, an email message, etc. etc.
A Item may also implement View, in which case we get a nice tree
structure e.g. filesystem directories
By default it is Serializable - this first came up as an issue when
implementing drag'n'drop in the ui/gui viewer, but seems like a good
thing to do anyway, given the network-centric nature of the whole
project
- refactored to use UField/Umethod April 2002
- refactored to delegate to various aspect-oriented interfaces Jan 2003
Method Summary |
View |
getParentView()
temporary map linking the generic UContaiuner/UContained to the specific View/Item kind of
parent-to-child relationship |
void |
setParentView(View v)
temporary map linking the generic UContaiuner/UContained to the specific View/Item kind of
parent-to-child relationship |
METHOD_ADD_TO_SCRAPBOOK
public static final java.lang.String METHOD_ADD_TO_SCRAPBOOK
- standard method name for adding item to the scrapbook view
- See Also:
- Constant Field Values
getParentView
public View getParentView()
- temporary map linking the generic UContaiuner/UContained to the specific View/Item kind of
parent-to-child relationship
setParentView
public void setParentView(View v)
- temporary map linking the generic UContaiuner/UContained to the specific View/Item kind of
parent-to-child relationship