com.stimulsoft.base.drawing.enums
Enum StiAction

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

public enum StiAction
extends java.lang.Enum<StiAction>

Actions, which indicate actions in the rectangle.


Enum Constant Summary
Move
          Move.
None
          No action.
ResizeColumns
          Resize columns.
ResizeRows
          Resize rows.
Select
          Select.
SelectColumn
          SelectColumn
SelectRow
          SelectRow
SizeBottom
          Bottom side.
SizeLeft
          Left side.
SizeLeftBottom
          Left bottom side.
SizeLeftTop
          Left top side.
SizeRight
          Right side.
SizeRightBottom
          Right bottom side.
SizeRightTop
          Right top side.
SizeTop
          Top side.
 
Method Summary
static StiAction forValue(int value)
           
 int getValue()
           
static StiAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiAction[] 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 StiAction None
No action.


Move

public static final StiAction Move
Move.


Select

public static final StiAction Select
Select.


SizeLeft

public static final StiAction SizeLeft
Left side.


SizeRight

public static final StiAction SizeRight
Right side.


SizeTop

public static final StiAction SizeTop
Top side.


SizeBottom

public static final StiAction SizeBottom
Bottom side.


SizeLeftTop

public static final StiAction SizeLeftTop
Left top side.


SizeLeftBottom

public static final StiAction SizeLeftBottom
Left bottom side.


SizeRightTop

public static final StiAction SizeRightTop
Right top side.


SizeRightBottom

public static final StiAction SizeRightBottom
Right bottom side.


ResizeColumns

public static final StiAction ResizeColumns
Resize columns.


ResizeRows

public static final StiAction ResizeRows
Resize rows.


SelectColumn

public static final StiAction SelectColumn
SelectColumn


SelectRow

public static final StiAction SelectRow
SelectRow

Method Detail

values

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

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

valueOf

public static StiAction 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()

forValue

public static StiAction forValue(int value)