net.infonode.docking.util
public abstract class AbstractViewMap extends Object implements ViewFactoryManager, ViewSerializer
Since: IDW 1.1.0
Version: $Revision: 1.11 $
| Method Summary | |
|---|---|
| protected void | addView(Object id, View view) |
| boolean | contains(View view)
Returns true if this view map contains the view.
|
| protected View | getView(Object id) |
| View | getViewAtIndex(int index)
Returns the view at a specific index.
|
| int | getViewCount()
Returns the number of views in this map.
|
| ViewFactory[] | getViewFactories() |
| View | readView(ObjectInputStream in) |
| protected abstract Object | readViewId(ObjectInputStream in) |
| protected void | removeView(Object id) |
| void | writeView(View view, ObjectOutputStream out) |
| protected abstract void | writeViewId(Object id, ObjectOutputStream out) |
Parameters: view the view
Returns: true if this view map contains the view
Since: IDW 1.3.0
Parameters: index the view index
Returns: the view at the index
Returns: the number of views in this map