|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.nexttext.behaviour.AbstractAction
net.nexttext.behaviour.standard.Kern
public class Kern
Resets the spacing between children of a textObjectGroup. It uses the width of the bounding box of the children of that group plus a constant passed in at construction to space the children.
When applied to a word this operation is known as Kerning, it was originally designed to do just this, hence the name.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.nexttext.behaviour.Action |
|---|
Action.ActionResult |
| Field Summary | |
|---|---|
float |
kern
|
| Constructor Summary | |
|---|---|
Kern(float kern)
|
|
| Method Summary | |
|---|---|
Action.ActionResult |
behave(TextObject to)
Default behave method for single objects. |
| 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 |
| Field Detail |
|---|
public float kern
| Constructor Detail |
|---|
public Kern(float kern)
| Method Detail |
|---|
public Action.ActionResult behave(TextObject to)
AbstractActionThis method does nothing; it should be overriden by subclasses if they wish to support actions on single objects.
Trying to call this method on an Action which doesn't override it will throw an UnsupportedActionException.
behave in interface Actionbehave in class AbstractAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||