- All Implemented Interfaces:
Serializable
,Comparable<AnyCOL.Align>
,Function<AnyDocument<?>,
String>
- Enclosing class:
AnyCOL<D extends AnyDocument<D>,
PC extends AnyCOLGROUP_content<D, PC>, E extends AnyCOL<D, PC, E>>
@Deprecated
public static enum AnyCOL.Align
extends Enum<AnyCOL.Align>
implements Function<AnyDocument<?>,String>
Deprecated.
The align attribute of <col> is not supported in HTML5. Use CSS instead.
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Center-align content.Deprecated.Align the content to a specific character.Deprecated.Stretches the lines so that each line has equal width (like in newspapers and magazines).Deprecated.Left-align content.Deprecated.Right-align content. -
Method Summary
Modifier and TypeMethodDescriptionapply
(AnyDocument<?> document) Deprecated.toString()
Deprecated.static AnyCOL.Align
Deprecated.Returns the enum constant of this type with the specified name.static AnyCOL.Align[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LEFT
Deprecated.Left-align content. -
RIGHT
Deprecated.Right-align content. -
CENTER
Deprecated.Center-align content. -
JUSTIFY
Deprecated.Stretches the lines so that each line has equal width (like in newspapers and magazines). -
CHAR
Deprecated.Align the content to a specific character.
-
-
Method Details
-
values
Deprecated.Returns 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
-
valueOf
Deprecated.Returns 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 nameNullPointerException
- if the argument is null
-
toString
Deprecated.- Overrides:
toString
in classEnum<AnyCOL.Align>
-
apply
Deprecated.- Specified by:
apply
in interfaceFunction<AnyDocument<?>,
String>
-