com.stimulsoft.report.styles.enums
Enum StiStyleLocation
java.lang.Object
java.lang.Enum<StiStyleLocation>
com.stimulsoft.report.styles.enums.StiStyleLocation
- All Implemented Interfaces:
- IStiEnum, java.io.Serializable, java.lang.Comparable<StiStyleLocation>
public enum StiStyleLocation
- extends java.lang.Enum<StiStyleLocation>
- implements IStiEnum
Enum provide all variants of location component on parent component area.
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
None
public static final StiStyleLocation None
TopLeft
public static final StiStyleLocation TopLeft
TopCenter
public static final StiStyleLocation TopCenter
TopRight
public static final StiStyleLocation TopRight
MiddleLeft
public static final StiStyleLocation MiddleLeft
MiddleCenter
public static final StiStyleLocation MiddleCenter
MiddleRight
public static final StiStyleLocation MiddleRight
BottomLeft
public static final StiStyleLocation BottomLeft
BottomCenter
public static final StiStyleLocation BottomCenter
BottomRight
public static final StiStyleLocation BottomRight
Left
public static final StiStyleLocation Left
Right
public static final StiStyleLocation Right
Top
public static final StiStyleLocation Top
Bottom
public static final StiStyleLocation Bottom
CenterHorizontal
public static final StiStyleLocation CenterHorizontal
CenterVertical
public static final StiStyleLocation CenterVertical
values
public static StiStyleLocation[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (StiStyleLocation c : StiStyleLocation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static StiStyleLocation valueOf(java.lang.String name)
- 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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
getValue
public int getValue()
- Specified by:
getValue
in interface IStiEnum
forValue
public static StiStyleLocation forValue(int value)