Package de.xima.fc.css.builder
Enum ECssTextAlign
- All Implemented Interfaces:
- CssDefaultValue,- Serializable,- Comparable<ECssTextAlign>
Constants with the pre-defined values for the CSS property 
text-align.
 The text-align CSS property sets the horizontal alignment of the inline-level content inside a block element or
 table-cell box. This means it works like vertical-align but in the horizontal direction. @author XIMA MEDIA
 GmbH
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe inline contents are centered within the line box.The same asrightif direction is left-to-right and left if direction is right-to-left.The inline contents are justified.Same as justify, but also forces the last line to be justified.The inline contents are aligned to the left edge of the line box.Similar toinherit, but the valuesstartandendare calculated according to the parent's direction and are replaced by the appropriate left or right value.The inline contents are aligned to the right edge of the line box.The same asleftif direction is left-to-right and right if direction is right-to-left.
- 
Field SummaryFields inherited from interface de.xima.fc.css.builder.CssDefaultValueINHERIT, INITIAL, REVERT, REVERT_LAYER, UNSET
- 
Method SummaryModifier and TypeMethodDescriptiontoString()value()static ECssTextAlignReturns the enum constant of this type with the specified name.static ECssTextAlign[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
CENTERThe inline contents are centered within the line box.
- 
ENDThe same asrightif direction is left-to-right and left if direction is right-to-left.
- 
JUSTIFYThe inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
- 
JUSTIFY_ALLSame as justify, but also forces the last line to be justified.
- 
LEFTThe inline contents are aligned to the left edge of the line box.
- 
MATCH_PARENTSimilar toinherit, but the valuesstartandendare calculated according to the parent's direction and are replaced by the appropriate left or right value.
- 
RIGHTThe inline contents are aligned to the right edge of the line box.
- 
STARTThe same asleftif direction is left-to-right and right if direction is right-to-left.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
toString- Overrides:
- toStringin class- Enum<ECssTextAlign>
 
- 
value- Returns:
- The string value of this property that can be used when creating CSS strings.
 
 
-