net.nexttext.behaviour.dform
Class DForm

java.lang.Object
  extended by net.nexttext.behaviour.AbstractAction
      extended by net.nexttext.behaviour.dform.DForm
All Implemented Interfaces:
Action
Direct Known Subclasses:
Blow, ChaosPull, Pull, Reform, Scale, Throb

public abstract class DForm
extends AbstractAction

A super class for DForms.

These are actions which modify the appearance of TextObjectGlyphs.

This class provides an implementation of behave() which recursively calls it on all Glyphs.


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action
Action.ActionResult
 
Constructor Summary
DForm()
           
 
Method Summary
 Action.ActionResult behave(TextObject to)
          Default implementation which recursively calls behave on all children.
abstract  Action.ActionResult behave(TextObjectGlyph to)
          DForms generally just make sense on TextObjectGlyphs.
 PVectorListProperty getControlPoints(TextObjectGlyph tog)
          The control points used to deform a glyph.
 
Methods inherited from class net.nexttext.behaviour.AbstractAction
behave, behave, complete, getDisplayName, getRequiredProperties, makeBehaviour, properties, setDisplayName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DForm

public DForm()
Method Detail

getControlPoints

public PVectorListProperty getControlPoints(TextObjectGlyph tog)
The control points used to deform a glyph.


behave

public abstract Action.ActionResult behave(TextObjectGlyph to)
DForms generally just make sense on TextObjectGlyphs.


behave

public Action.ActionResult behave(TextObject to)
Default implementation which recursively calls behave on all children.

The results of the called actions are combined using the method outlined in ActionResult.

Specified by:
behave in interface Action
Overrides:
behave in class AbstractAction