- All Superinterfaces:
- ContentSource, Handler, Invokable, Item, Propertied, Referrer, Searchable, java.io.Serializable, Sortable, Typed, UContained, UContainer
- All Known Implementing Classes:
- ViewImpl
- public interface View
- extends Item, UContainer, Searchable, Sortable
generic interface for an Item that can present a list of contained entities. This is
now simply a placeholder now that Item implements Container too.
- refactored to use UField/UMethods April 2002
- refactored to use aspect-oriented principles Jan 2003
|
Method Summary |
boolean |
addItem(Item item,
boolean update)
temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship |
void |
addListener(UEventListener vl)
add a Listener to messages from this container |
void |
fireEvent(UEvent ev)
generic wrapper for firing any ViewEvent |
ItemFilter |
getFilter()
get a filter for this view |
Item |
getItem(java.lang.String name)
temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship |
boolean |
removeItem(Item item,
boolean update)
temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship |
void |
removeListener(UEventListener vl)
remove a listener to messages from this container |
void |
setFilter(ItemFilter f)
set a Filter for this view |
getItem
public Item getItem(java.lang.String name)
- temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship
addItem
public boolean addItem(Item item,
boolean update)
- temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship
removeItem
public boolean removeItem(Item item,
boolean update)
- temporary map linking the generic UContainer/UContained to the specific View/Item kind of
parent-to-child relationship
addListener
public void addListener(UEventListener vl)
- add a Listener to messages from this container
removeListener
public void removeListener(UEventListener vl)
- remove a listener to messages from this container
fireEvent
public void fireEvent(UEvent ev)
- generic wrapper for firing any ViewEvent
getFilter
public ItemFilter getFilter()
- get a filter for this view
setFilter
public void setFilter(ItemFilter f)
- set a Filter for this view