com.stimulsoft.base.drawing.enums
Enum StiBorderSides

java.lang.Object
  extended by java.lang.Enum<StiBorderSides>
      extended by com.stimulsoft.base.drawing.enums.StiBorderSides
All Implemented Interfaces:
IStiEnum, java.io.Serializable, java.lang.Comparable<StiBorderSides>

public enum StiBorderSides
extends java.lang.Enum<StiBorderSides>
implements IStiEnum

Sides of the border.


Enum Constant Summary
All
          Border from all sides.
Bottom
          Border on the bottom.
Left
          Border on the left.
None
          No border.
Right
          Border on the right.
Top
          Border on the top.
 
Field Summary
 int intValue
           
 
Method Summary
static StiBorderSides forValue(int value)
           
 int getValue()
           
static StiBorderSides valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiBorderSides[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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
 

Enum Constant Detail

None

public static final StiBorderSides None
No border.


All

public static final StiBorderSides All
Border from all sides.


Top

public static final StiBorderSides Top
Border on the top.


Left

public static final StiBorderSides Left
Border on the left.


Right

public static final StiBorderSides Right
Border on the right.


Bottom

public static final StiBorderSides Bottom
Border on the bottom.

Field Detail

intValue

public final int intValue
Method Detail

values

public static StiBorderSides[] 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 (StiBorderSides c : StiBorderSides.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StiBorderSides 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 StiBorderSides forValue(int value)