|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.nexttext.behaviour.AbstractAction net.nexttext.behaviour.control.Condition net.nexttext.behaviour.control.OnButtonDepressed
public class OnButtonDepressed
A Condition which is true when a mouse button is depressed.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action |
---|
Action.ActionResult |
Constructor Summary | |
---|---|
OnButtonDepressed(Mouse mouse,
int button,
Action trueAction,
Action falseAction)
|
Method Summary | |
---|---|
boolean |
condition(TextObject to)
|
Methods inherited from class net.nexttext.behaviour.control.Condition |
---|
behave, complete, getRequiredProperties |
Methods inherited from class net.nexttext.behaviour.AbstractAction |
---|
behave, behave, getDisplayName, makeBehaviour, properties, setDisplayName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnButtonDepressed(Mouse mouse, int button, Action trueAction, Action falseAction)
button
- is a value from net.nexttext.input.MouseMethod Detail |
---|
public boolean condition(TextObject to)
condition
in class Condition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |