|
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 |
Interpreters handle the interaction side of GraphicalObjects.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Apr 22 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()
|
GraphicalObject |
getAttachedGraphicalObject()
Get the GraphicalObject this Interpreter is attached to. |
String |
getName()
Get the name of this Interpreter. |
boolean |
isEnabled()
See if this interpreter is enabled or not (ie can run or not). |
GraphicalObject |
setAttachedGraphicalObject(GraphicalObject newGob)
Set the GraphicalObject this Interpreter is attached to. |
void |
setEnabled(boolean flag)
Set whether or not this interpreter is enabled or not (ie can run or not). |
String |
setName(String strName)
Set the name of this Interpreter. |
Methods inherited from interface edu.berkeley.guir.lib.satin.event.StrokeListener |
handleNewStroke, handleSingleStroke, handleUpdateStroke |
Methods inherited from interface edu.berkeley.guir.lib.satin.event.StrokeEventFilter |
isLeftButtonAccepted, isMiddleButtonAccepted, isRightButtonAccepted, setAcceptLeftButton, setAcceptMiddleButton, setAcceptRightButton |
Methods inherited from interface edu.berkeley.guir.lib.satin.event.SatinEventFilter |
isConsumedAccepted, setAcceptConsumed |
Methods inherited from interface edu.berkeley.guir.lib.satin.event.EventFilter |
isEventAccepted |
Method Detail |
public String getName()
public boolean isEnabled()
If called by an MultiInterpreter, it just turns that MultiInterpreter off, but not any contained Interpreters.
public void setEnabled(boolean flag)
public String setName(String strName)
strName
- is the new name of this interpreter.public GraphicalObject setAttachedGraphicalObject(GraphicalObject newGob)
MultiInterpreter.add(Interpreter)
.gob
- is the GraphicalObject this Interpreter is to be attached to.public GraphicalObject getAttachedGraphicalObject()
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 |