|
UC Berkeley Group for User Interface Research Updated November 17, 2000 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A type of View that can contain multiple Views, and decides how each of the Views will be displayed (if any).
Some examples could include:
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Aug 11 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Inner classes inherited from class edu.berkeley.guir.lib.satin.SatinConstants |
SatinConstants.ObjectPoolAffineTransform, SatinConstants.ObjectPoolPoint2D, SatinConstants.ObjectPoolPolygon2D, SatinConstants.ObjectPoolRectangle2D, SatinConstants.ObjectPoolStringBuffer, SatinConstants.UniqueAffineTransform, SatinConstants.UniquePoint2D, SatinConstants.UniquePolygon2D, SatinConstants.UniqueRectangle2D |
Method Summary | |
View |
add(View v)
Add a view to the MultiView, setting the GraphicalObject the added View is attached to (via View.setAttachedGraphicalObject(GraphicalObject) ) to be the same
as the one this MultiView is attached to. |
void |
clear()
Clear all of the views. |
boolean |
contains(View v)
Check if we contain the specified view. |
View |
get(int index)
Get the view at the specified index. |
Iterator |
iterator()
Get an iterator over all of the Views. |
View |
remove(View v)
Remove a view. |
int |
size()
Get the number of views contained. |
Methods inherited from interface edu.berkeley.guir.lib.satin.view.View |
clone, getAttachedGraphicalObject, getBoundingPoints2DRef, getName, getViewDisplayValue, isVisible, render, setAttachedGraphicalObject, setBoundingPoints2DRef, setName, setVisible |
Method Detail |
public View add(View v)
View.setAttachedGraphicalObject(GraphicalObject)
) to be the same
as the one this MultiView is attached to.v
- is the view to add.public View remove(View v)
v
- is the view to remove.public Iterator iterator()
public View get(int index)
index
- is the index in the list to retrieve from.public boolean contains(View v)
public int size()
public void clear()
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |