net.nexttext.behaviour.control
Class ApplyToGlyph
java.lang.Object
net.nexttext.behaviour.AbstractAction
net.nexttext.behaviour.control.ApplyToGlyph
- All Implemented Interfaces:
- Action
public class ApplyToGlyph
- extends AbstractAction
Perform the given action on the TextObject's glyphs.
The given action is not performed on the TextObject passed to the behave
method, but rather on its glyphs.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplyToGlyph
public ApplyToGlyph(Action descendantAction)
behave
public Action.ActionResult behave(TextObject to)
- Apply the given action to the TextObject's descendants.
The results of the action calls are combined using the method
described in Action.ActionResult.
- Specified by:
behave in interface Action- Overrides:
behave in class AbstractAction
complete
public void complete(TextObject to)
- End this action for this object and end the passed in
action for all its descendants.
- Specified by:
complete in interface Action- Overrides:
complete in class AbstractAction