|
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 | +--java.util.EventObject | +--edu.berkeley.guir.lib.satin.event.SatinEvent
An abstract class representing events in Satin. Lets you specify transforms on it too, which is useful for dispatching into rotated and zoomed in objects.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Jul 18 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
SatinEvent(Object source)
Create a new SatinEvent object. |
Method Summary | |
void |
applyTransform(AffineTransform newTx)
Apply a transform to this event. |
AffineTransform |
getTransform()
Get the current transform on this event. |
boolean |
isConsumed()
Check whether someone has handled this event or not already. |
protected void |
onApplyTransform(AffineTransform newTx)
This method is called for you when a transform is applied to this event. |
protected void |
onSetTransform(AffineTransform newTx)
This method is called for you when a transform is set on this event. |
void |
setConsumed()
Set that someone has handled this event. |
void |
setConsumed(boolean flag)
Set whether or not someone has handled this event. |
void |
setShouldRender(boolean flag)
Set whether the event should be rendered. |
void |
setTransform(AffineTransform newTx)
Set the transform on this event. |
boolean |
shouldRender()
Check whether the event should be rendered. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SatinEvent(Object source)
source
- is the object creating this SatinEvent.Method Detail |
public boolean isConsumed()
public void setConsumed()
public void setConsumed(boolean flag)
public boolean shouldRender()
public void setShouldRender(boolean flag)
public void applyTransform(AffineTransform newTx)
protected void onApplyTransform(AffineTransform newTx)
newTx
- is the transform that will be applied.public void setTransform(AffineTransform newTx)
protected void onSetTransform(AffineTransform newTx)
newTx
- is the transform that will be applied.public AffineTransform getTransform()
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |