|
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 |
java.lang.Object | +--edu.berkeley.guir.lib.satin.view.ViewImpl | +--edu.berkeley.guir.lib.satin.view.DefaultMultiViewImpl | +--edu.berkeley.guir.lib.satin.view.MultiplexedMultiViewImpl
Let's you explicitly choose one of many views.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Apr 20 2000, 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 |
Fields inherited from class edu.berkeley.guir.lib.satin.view.ViewImpl |
gob, poly |
Constructor Summary | |
MultiplexedMultiViewImpl()
Does nothing. |
Method Summary | |
View |
add(View v)
If no views are currently contained, makes the first view added the current view. |
Object |
clone()
Implementation of the Sorceror's Apprentice algorithm. |
protected MultiplexedMultiViewImpl |
clone(MultiplexedMultiViewImpl vm)
Clone chain. |
Polygon2D |
getBoundingPoints2DRef()
Returns the bounding box of all of the contained AND visible views. |
protected Iterator |
getValidViews()
Modified from parent class to just return the currently selected view. |
boolean |
isVisible()
Checks if the selected view is visible. |
void |
render(SatinGraphics g)
Render this view. |
void |
setCurrent(int index)
Set which view is active. |
void |
setCurrent(View v)
Set which view is active. |
Methods inherited from class edu.berkeley.guir.lib.satin.view.DefaultMultiViewImpl |
clear, clone, contains, get, getViewDisplayValue, iterator, remove, setAttachedGraphicalObject, setBoundingPoints2DRef, size, sortViewsByDisplayValue, toString |
Methods inherited from class edu.berkeley.guir.lib.satin.view.ViewImpl |
clone, getAttachedGraphicalObject, getName, setName, setVisible |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.berkeley.guir.lib.satin.view.View |
getAttachedGraphicalObject, getName, setName, setVisible |
Constructor Detail |
public MultiplexedMultiViewImpl()
Method Detail |
public View add(View v)
add
in class DefaultMultiViewImpl
edu.berkeley.guir.lib.satin.view.MultiView
v
- is the view to add.public void setCurrent(int index)
public void setCurrent(View v)
public Polygon2D getBoundingPoints2DRef()
DefaultMultiViewImpl
getBoundingPoints2DRef
in class DefaultMultiViewImpl
edu.berkeley.guir.lib.satin.view.View
protected Iterator getValidViews()
getValidViews
in class DefaultMultiViewImpl
public boolean isVisible()
isVisible
in class DefaultMultiViewImpl
edu.berkeley.guir.lib.satin.view.View
public void render(SatinGraphics g)
View
render
in class DefaultMultiViewImpl
public Object clone()
View
clone
in class DefaultMultiViewImpl
protected MultiplexedMultiViewImpl clone(MultiplexedMultiViewImpl vm)
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |