Package org.exbin.bined.extended
Enum ExtendedHorizontalScrollUnit
- java.lang.Object
-
- java.lang.Enum<ExtendedHorizontalScrollUnit>
-
- org.exbin.bined.extended.ExtendedHorizontalScrollUnit
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExtendedHorizontalScrollUnit>
public enum ExtendedHorizontalScrollUnit extends java.lang.Enum<ExtendedHorizontalScrollUnit>
Enumeration of horizontal scrolling unit sizes for extended code area.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HALF_CHARACTER
Scroll per half character.CHARACTER
Scroll per whole character.PIXEL
Scroll per pixel.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExtendedHorizontalScrollUnit
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExtendedHorizontalScrollUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARACTER
public static final ExtendedHorizontalScrollUnit CHARACTER
Scroll per whole character.
-
HALF_CHARACTER
public static final ExtendedHorizontalScrollUnit HALF_CHARACTER
Scroll per half character.
-
PIXEL
public static final ExtendedHorizontalScrollUnit PIXEL
Scroll per pixel.
-
-
Method Detail
-
values
public static ExtendedHorizontalScrollUnit[] 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 (ExtendedHorizontalScrollUnit c : ExtendedHorizontalScrollUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExtendedHorizontalScrollUnit 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 namejava.lang.NullPointerException
- if the argument is null
-
-