|
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.event.BasicSatinEventFilter | +--edu.berkeley.guir.lib.satin.event.BasicStrokeEventFilter
An AND filter for stroke events.
This software is distributed under the Berkeley Software License.
Revisions: - SATIN-v1.0-1.0.0, Aug 25 1999, JH Created class - SATIN-v2.1-1.0.0, Aug 11 2000, JH Touched for SATIN release
Constructor Summary | |
BasicStrokeEventFilter()
Accepts all. |
|
BasicStrokeEventFilter(boolean left,
boolean middle,
boolean right)
Set the values in the filter. |
Method Summary | |
Object |
clone()
|
protected BasicStrokeEventFilter |
clone(BasicStrokeEventFilter f)
|
boolean |
isEventAccepted(EventObject evt)
Accept this event or not? |
boolean |
isEventAccepted(StrokeEvent evt)
|
boolean |
isLeftButtonAccepted()
Check if the left button is Accepted. |
boolean |
isMiddleButtonAccepted()
Check if the middle button is Accepted. |
boolean |
isRightButtonAccepted()
Check if the right button is Accepted. |
void |
setAcceptLeftButton(boolean flag)
Set whether the left button is Accepted or not. |
void |
setAcceptMiddleButton(boolean flag)
Set whether the middle button is Accepted or not. |
void |
setAcceptRightButton(boolean flag)
Set whether the right button is Accepted or not. |
String |
toString()
|
Methods inherited from class edu.berkeley.guir.lib.satin.event.BasicSatinEventFilter |
clone, isConsumedAccepted, isEventAccepted, setAcceptConsumed |
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.event.SatinEventFilter |
isConsumedAccepted, setAcceptConsumed |
Constructor Detail |
public BasicStrokeEventFilter()
public BasicStrokeEventFilter(boolean left, boolean middle, boolean right)
Method Detail |
public boolean isLeftButtonAccepted()
StrokeEventFilter
isLeftButtonAccepted
in interface StrokeEventFilter
public boolean isMiddleButtonAccepted()
StrokeEventFilter
isMiddleButtonAccepted
in interface StrokeEventFilter
public boolean isRightButtonAccepted()
StrokeEventFilter
isRightButtonAccepted
in interface StrokeEventFilter
public void setAcceptLeftButton(boolean flag)
StrokeEventFilter
setAcceptLeftButton
in interface StrokeEventFilter
public void setAcceptMiddleButton(boolean flag)
StrokeEventFilter
setAcceptMiddleButton
in interface StrokeEventFilter
public void setAcceptRightButton(boolean flag)
StrokeEventFilter
setAcceptRightButton
in interface StrokeEventFilter
public boolean isEventAccepted(StrokeEvent evt)
public boolean isEventAccepted(EventObject evt)
EventFilter
isEventAccepted
in interface EventFilter
isEventAccepted
in class BasicSatinEventFilter
public Object clone()
clone
in class BasicSatinEventFilter
protected BasicStrokeEventFilter clone(BasicStrokeEventFilter f)
public String toString()
toString
in class BasicSatinEventFilter
|
Copyright Information | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |