Class CSS20Attribute.CSSStretchValue
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.css20.CSS20Attribute.CSSStretchValue
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CSS20Attribute
public static final class CSS20Attribute.CSSStretchValue extends java.lang.Object implements java.io.Serializable
This class provides an enumeration of the possible values for the CSS Stretch attribute.Concurrency
Instances of this class are immutable after construction and contain no mutable static data. Therefore, they are threadsafe.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CSS20Attribute.CSSStretchValue
CONDENSED
static CSS20Attribute.CSSStretchValue
EXPANDED
static CSS20Attribute.CSSStretchValue
EXTRACONDENSED
static CSS20Attribute.CSSStretchValue
EXTRAEXPANDED
static CSS20Attribute.CSSStretchValue
NORMAL
static CSS20Attribute.CSSStretchValue
SEMICONDENSED
static CSS20Attribute.CSSStretchValue
SEMIEXPANDED
static CSS20Attribute.CSSStretchValue
ULTRACONDENSED
static CSS20Attribute.CSSStretchValue
ULTRAEXPANDED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CSS20Attribute.CSSStretchValue
getStretchValue(int value)
static CSS20Attribute.CSSStretchValue
parse(java.lang.String text)
Parse the text and return the CSSStretchValue object which is represented if any.java.lang.String
toString()
-
-
-
Field Detail
-
ULTRACONDENSED
public static final CSS20Attribute.CSSStretchValue ULTRACONDENSED
-
EXTRACONDENSED
public static final CSS20Attribute.CSSStretchValue EXTRACONDENSED
-
CONDENSED
public static final CSS20Attribute.CSSStretchValue CONDENSED
-
SEMICONDENSED
public static final CSS20Attribute.CSSStretchValue SEMICONDENSED
-
NORMAL
public static final CSS20Attribute.CSSStretchValue NORMAL
-
SEMIEXPANDED
public static final CSS20Attribute.CSSStretchValue SEMIEXPANDED
-
EXPANDED
public static final CSS20Attribute.CSSStretchValue EXPANDED
-
EXTRAEXPANDED
public static final CSS20Attribute.CSSStretchValue EXTRAEXPANDED
-
ULTRAEXPANDED
public static final CSS20Attribute.CSSStretchValue ULTRAEXPANDED
-
-
Method Detail
-
parse
public static CSS20Attribute.CSSStretchValue parse(java.lang.String text)
Parse the text and return the CSSStretchValue object which is represented if any.- Parameters:
text
- textual representation of the stretch- Returns:
- CSSStretchValue represented by the text value
-
getStretchValue
public static CSS20Attribute.CSSStretchValue getStretchValue(int value)
- Parameters:
value
- the value of the stretch object to return- Returns:
- CSSStretchValue object with the stretch specified or
null
if none exists
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-