|
||||||||||
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.OnMouseOver net.nexttext.behaviour.control.OnMouseOut
public class OnMouseOut
A Condition which is true when the mouse moves off of the TextObject i.e. a single true result is returned if the mouse was over the TextObject and moved off of it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action |
---|
Action.ActionResult |
Constructor Summary | |
---|---|
OnMouseOut(Action trueAction)
Creates an OnMouseOut which performs the given Action when the mouse moves off the TextObject. |
Method Summary | |
---|---|
boolean |
condition(TextObject to)
Checks whether or not the mouse moved off the given TextObject. |
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 OnMouseOut(Action trueAction)
trueAction
- the Action to perform when the mouse moves off the TextObjectMethod Detail |
---|
public boolean condition(TextObject to)
condition
in class OnMouseOver
to
- the TextObject to consider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |