Sharkysoft home

lava.text
Class JUSTIFY

java.lang.Object
  |
  +--lava.text.JUSTIFY

public class JUSTIFY
extends java.lang.Object

An enumeration of text justification styles. Justification occurs when the text is shorter than the region where it will be displayed.

See Also:
lava.string.StringJustifier, lava.math.NumberFormatter, lava.math.IntegerFormatter, lava.math.RealFormatter

Field Summary
static int CENTER
          Indicates that text should be centered.
static int FULL
          Indicates that text should be fully justified, i.e., left- and right-aligned.
static int LEFT
          Indicates that text should be left-aligned.
static int RIGHT
          Indicates that text should be right-aligned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RIGHT

public static final int RIGHT
Indicates that text should be right-aligned.

LEFT

public static final int LEFT
Indicates that text should be left-aligned.

CENTER

public static final int CENTER
Indicates that text should be centered.

FULL

public static final int FULL
Indicates that text should be fully justified, i.e., left- and right-aligned.

Sharkysoft home