|
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.ViewWrapper
An abstract class for wrapper views. View Wrappers can be chained with each other to provide combined functionality.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Aug 16 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 |
| Fields inherited from class edu.berkeley.guir.lib.satin.view.ViewImpl |
gob, poly |
| Constructor Summary | |
ViewWrapper()
Create an empty wrapper. |
|
ViewWrapper(View v)
Wrap a view into this wrapper. |
|
ViewWrapper(ViewWrapper vw)
Copy constructor, deep. |
|
| Method Summary | |
protected ViewWrapper |
clone(ViewWrapper vw)
|
Polygon2D |
getBoundingPoints2DRef()
Get the reference for the bounding points for this view. |
String |
getName()
Add the wrapped up view's name too. |
View |
getView()
Get the wrapped-up view. |
GraphicalObject |
setAttachedGraphicalObject(GraphicalObject newGob)
Overrided to set the GraphicalObject for the wrapped-up view too. |
void |
setBoundingPoints2DRef(Polygon2D p)
Pass the call to our wrapped-up view. |
View |
setView(View v)
Set what the wrapped-up view is. |
String |
toString()
|
| Methods inherited from class edu.berkeley.guir.lib.satin.view.ViewImpl |
clone, clone, getAttachedGraphicalObject, isVisible, 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 |
getViewDisplayValue, render |
| Constructor Detail |
public ViewWrapper()
public ViewWrapper(View v)
public ViewWrapper(ViewWrapper vw)
| Method Detail |
public View setView(View v)
public GraphicalObject setAttachedGraphicalObject(GraphicalObject newGob)
setAttachedGraphicalObject in class ViewImpledu.berkeley.guir.lib.satin.view.Viewgob - is the GraphicalObject this View is attached to.public void setBoundingPoints2DRef(Polygon2D p)
setBoundingPoints2DRef in class ViewImpledu.berkeley.guir.lib.satin.view.Viewp - is the polygon bounds. Assumes the bounds are already in
local coordinates.public Polygon2D getBoundingPoints2DRef()
ViewgetBoundingPoints2DRef in class ViewImpledu.berkeley.guir.lib.satin.view.Viewpublic View getView()
public String getName()
getName in class ViewImpledu.berkeley.guir.lib.satin.view.Viewprotected ViewWrapper clone(ViewWrapper vw)
public String toString()
toString in class ViewImpl
|
Copyright Information | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||