net.ajaest.jdk.data.auxi
Enum AllowedStrokeLineEnum

java.lang.Object
  extended by java.lang.Enum<AllowedStrokeLineEnum>
      extended by net.ajaest.jdk.data.auxi.AllowedStrokeLineEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AllowedStrokeLineEnum>

public enum AllowedStrokeLineEnum
extends java.lang.Enum<AllowedStrokeLineEnum>
implements java.io.Serializable

Enumerator of posible lines for defining strokes.

Author:
Luis Alfonso Arce González

Enum Constant Summary
A
          
[ ][ ][b]
[ ][*][ ]
[e][ ][ ]

b = begin
e = end

Diagonal, from [0,2] to [2,0].
B
          
[b]
[*]
[e]

b = begin
e = end

Vertical, from [0,0] to [2,0].
C
          
[b][ ][ ]
[ ][*][ ]
[ ][ ][e]

b = begin
e = end

Diagonal, from [0,0] to [2,2].
D
          
[e][*][b]

b = begin
e = end

Horizontal, from [0,2] to [0,0].
E
          Unused.
F
          
[b][*][e]

b = begin
e = end

Horizontal, from [0,0] to [0,2].
G
          
[e][ ][ ]
[ ][*][ ]
[ ][ ][b]

b = begin
e = end

Diagonal, from [2,2] to [0,0].
H
          
[e]
[*]
[b]

b = begin
e = end

Vertical, from [2,0] to [0,0].
I
          
[ ][ ][e]
[ ][*][ ]
[b][ ][ ]

b = begin
e = end

Diagonal, from [2,0] to [0,2].
 
Method Summary
static AllowedStrokeLineEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AllowedStrokeLineEnum[] 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

A

public static final AllowedStrokeLineEnum A

[ ][ ][b]
[ ][*][ ]
[e][ ][ ]

b = begin
e = end

Diagonal, from [0,2] to [2,0]. Example: ノ = A


B

public static final AllowedStrokeLineEnum B

[b]
[*]
[e]

b = begin
e = end

Vertical, from [0,0] to [2,0]. Example: リ = BBa


C

public static final AllowedStrokeLineEnum C

[b][ ][ ]
[ ][*][ ]
[ ][ ][e]

b = begin
e = end

Diagonal, from [0,0] to [2,2]. Example: く = Ac


D

public static final AllowedStrokeLineEnum D

[e][*][b]

b = begin
e = end

Horizontal, from [0,2] to [0,0]. Example: 引 = FbFBfbdB


E

public static final AllowedStrokeLineEnum E
Unused.


F

public static final AllowedStrokeLineEnum F

[b][*][e]

b = begin
e = end

Horizontal, from [0,0] to [0,2]. Example: ー = F


G

public static final AllowedStrokeLineEnum G

[e][ ][ ]
[ ][*][ ]
[ ][ ][b]

b = begin
e = end

Diagonal, from [2,2] to [0,0]. Example: o = Acig


H

public static final AllowedStrokeLineEnum H

[e]
[*]
[b]

b = begin
e = end

Vertical, from [2,0] to [0,0]. Example: 0 = Cbaghi


I

public static final AllowedStrokeLineEnum I

[ ][ ][e]
[ ][*][ ]
[b][ ][ ]

b = begin
e = end

Diagonal, from [2,0] to [0,2]. Example: レ = Bi

Method Detail

values

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

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

valueOf

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