|
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 | |||||||||
Describes how a GraphicalObject appears on the screen.
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 | |
Object |
clone()
Implementation of the Sorceror's Apprentice algorithm. |
GraphicalObject |
getAttachedGraphicalObject()
Get the GraphicalObject this View is attached to. |
Polygon2D |
getBoundingPoints2DRef()
Get the reference for the bounding points for this view. |
String |
getName()
Get the name of this View. |
float |
getViewDisplayValue()
Check whether or not this view is valid, ie can and should be displayed. |
boolean |
isVisible()
Check whether this view is visible or not. |
void |
render(SatinGraphics g)
Render this view. |
GraphicalObject |
setAttachedGraphicalObject(GraphicalObject newGob)
Used to set the GraphicalObject this View is attached to. |
void |
setBoundingPoints2DRef(Polygon2D p)
Set the reference for the bounding points for this view. |
String |
setName(String strName)
Set the name of this View. |
void |
setVisible(boolean flag)
Set whether this view is visible or not. |
| Method Detail |
public GraphicalObject setAttachedGraphicalObject(GraphicalObject newGob)
gob - is the GraphicalObject this View is attached to.public void setBoundingPoints2DRef(Polygon2D p)
p - is the polygon bounds. Assumes the bounds are already in
local coordinates.public void setVisible(boolean flag)
public Polygon2D getBoundingPoints2DRef()
public GraphicalObject getAttachedGraphicalObject()
public boolean isVisible()
setVisible(boolean))
and if the view display value is greater than 0.public float getViewDisplayValue()
public String getName()
public String setName(String strName)
strName - is the name of this View.public void render(SatinGraphics g)
public Object clone()
clone in class Object
|
Copyright Information | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||