jcfunc.parameters
Enum paramSCP

java.lang.Object
  extended by java.lang.Enum<paramSCP>
      extended by jcfunc.parameters.paramSCP
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<paramSCP>

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

Enum paramSCP contains returned values for control function CF.SCP.


Enum Constant Summary
LeftToRight
          left-to-right (in the case of horizontal line orientation), or top-to-bottom (in the case of vertical line orientation)
Nonstandard
          Don't define in Standart
RightToLeft
          right-to-left (in the case of horizontal line orientation), or bottom-to-top (in the case of vertical line orientation)
Undefined
          undefined (implementation-dependent)
Update_Data
          the content of the active line in the data component (the line that contains the active data position) is updated to correspond to the content of the active line in the presentation component (the line that contains the active presentation position) according to the newly established character path characteristics of the presentation component; the active presentation position is moved to the first character position in the active line in the presentation component, the active data position in the data component is updated accordingly
Update_Presentation
          the content of the active line in the presentation component (the line that contains the active presentation position) is updated to correspond to the content of the active line in the data component (the line that contains the active data position) according to the newly established character path characteristics in the presentation component; the active data position is moved to the first character position in the active line in the data component, the active presentation position in the presentation component is updated accordingly
 
Method Summary
static paramSCP getEnumValue(int val)
          Returns enum-value by int-value.
static paramSCP getEnumValue(int val, boolean first)
          Returns enum-value by int-value.
static int getIntValue(paramSCP val)
          Returns int-value, which is corresponded to enum-value.
static paramSCP valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static paramSCP[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

LeftToRight

public static final paramSCP LeftToRight
left-to-right (in the case of horizontal line orientation), or top-to-bottom (in the case of vertical line orientation)


RightToLeft

public static final paramSCP RightToLeft
right-to-left (in the case of horizontal line orientation), or bottom-to-top (in the case of vertical line orientation)


Undefined

public static final paramSCP Undefined
undefined (implementation-dependent)


Update_Presentation

public static final paramSCP Update_Presentation
the content of the active line in the presentation component (the line that contains the active presentation position) is updated to correspond to the content of the active line in the data component (the line that contains the active data position) according to the newly established character path characteristics in the presentation component; the active data position is moved to the first character position in the active line in the data component, the active presentation position in the presentation component is updated accordingly


Update_Data

public static final paramSCP Update_Data
the content of the active line in the data component (the line that contains the active data position) is updated to correspond to the content of the active line in the presentation component (the line that contains the active presentation position) according to the newly established character path characteristics of the presentation component; the active presentation position is moved to the first character position in the active line in the presentation component, the active data position in the data component is updated accordingly


Nonstandard

public static final paramSCP Nonstandard
Don't define in Standart

Method Detail

values

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

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

valueOf

public static paramSCP 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

getIntValue

public static int getIntValue(paramSCP val)
Returns int-value, which is corresponded to enum-value.

Parameters:
val - enum-value
Returns:
int-value

getEnumValue

public static paramSCP getEnumValue(int val)
Returns enum-value by int-value.

Parameters:
val - int-value
Returns:
enum-value

getEnumValue

public static paramSCP getEnumValue(int val,
                                    boolean first)
Returns enum-value by int-value.

Parameters:
val - int-value
first - flag: return value of the first parameter
Returns:
enum-value