Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

ulu.view
Interface Item  view Item download Item.java

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


Field Summary
static java.lang.String METHOD_ADD_TO_SCRAPBOOK
          standard method name for adding item to the scrapbook view
 
Fields inherited from interface ulu.view.UContained
PROP_PARENT
 
Fields inherited from interface ulu.view.Propertied
PROP_DISPLAY_LOD, PROP_NAME
 
Fields inherited from interface ulu.view.Typed
PROP_TYPE
 
Fields inherited from interface ulu.view.ContentSource
PROP_CONTENT_URL
 
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
 
Methods inherited from interface ulu.view.UContained
getParent, setParent
 
Methods inherited from interface ulu.view.Propertied
addProp, clearProps, getName, getProp, properties, removeProp, setName
 
Methods inherited from interface ulu.view.Invokable
addMethod, clearMethods, getDefaultMethod, getMethod, methods, removeMethod, setDefaultMethod
 
Methods inherited from interface ulu.view.Referrer
getReference, setReference
 
Methods inherited from interface ulu.view.Typed
getType, setType
 
Methods inherited from interface ulu.view.Handler
invoke
 
Methods inherited from interface ulu.view.ContentSource
getContent
 

Field Detail

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
Method Detail

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