Package com.jgoodies.animation.renderer
Class HeightMode
- java.lang.Object
-
- com.jgoodies.animation.renderer.HeightMode
-
public final class HeightMode extends java.lang.Object
A type-safe enumeration used to vertically align texts by using the capital or text ascent, or the text's height.- Version:
- $Revision: 1.6 $
-
-
Field Summary
Fields Modifier and Type Field Description static HeightMode
CAPITAL_ASCENT
private java.lang.String
name
static HeightMode
TEXT_ASCENT
static HeightMode
TEXT_HEIGHT
-
Constructor Summary
Constructors Modifier Constructor Description private
HeightMode(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
name
private final java.lang.String name
-
CAPITAL_ASCENT
public static final HeightMode CAPITAL_ASCENT
-
TEXT_ASCENT
public static final HeightMode TEXT_ASCENT
-
TEXT_HEIGHT
public static final HeightMode TEXT_HEIGHT
-
-