public enum WireHalfSymbol extends java.lang.Enum<WireHalfSymbol> implements CanvasFactory
Modifier and Type | Method and Description |
---|---|
static WireHalfSymbol |
create(Direction4 direction) |
java.awt.Canvas |
getCanvas(Symbol symbol) |
WireSymbol |
merge(WireHalfSymbol wireHalfSymbol) |
static WireSymbol |
merge(WireHalfSymbol wireHalfSymbol1,
WireHalfSymbol wireHalfSymbol2) |
abstract MuxWireSymbol |
merge(WireSymbol symbol) |
static WireHalfSymbol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WireHalfSymbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WireHalfSymbol TOP
public static final WireHalfSymbol BOTTOM
public static final WireHalfSymbol LEFT
public static final WireHalfSymbol RIGHT
public static WireHalfSymbol[] values()
for (WireHalfSymbol c : WireHalfSymbol.values()) System.out.println(c);
public static WireHalfSymbol valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic WireSymbol merge(WireHalfSymbol wireHalfSymbol)
public static WireSymbol merge(WireHalfSymbol wireHalfSymbol1, WireHalfSymbol wireHalfSymbol2)
public java.awt.Canvas getCanvas(Symbol symbol)
getCanvas
in interface CanvasFactory
public abstract MuxWireSymbol merge(WireSymbol symbol)
public static WireHalfSymbol create(Direction4 direction)