- All Implemented Interfaces:
Serializable
,Comparable<StandardShapes>
,Constable
,Shape
public enum StandardShapes extends Enum<StandardShapes> implements Shape
This class implements the Shape interface.
Object of this class are only used as enum entries.
- Author:
- Dr. Peter Droste, Omix Visualization
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AngledRectangle
AngledRectangle.ChevronBottom
ChevronBottom.ChevronLeft
ChevronLeft.ChevronRight
ChevronRight.ChevronTop
ChevronTop.Circle
Circle.Diamond
Diamond.DoubleEmblemHorizontal
DoubleEmblemHorizontal.DoubleEmblemVertical
DoubleEmblemVertical.DoubleTagHorizontal
Horizontal double tag.DoubleTagVertical
Vertical double tag.Ellipse
Ellipse.EmblemBottom
EmblemBottom.EmblemLeft
EmblemLeft.EmblemRight
EmblemRight.EmblemTop
EmblemTop.EmptySet
EmptySet.FilledEmptySet
FilledEmptySet.Hexagon
Hexagon.Hexagon2
Hexagon2.Pentagon
Pentagon.Pentagon2
Pentagon2.Rectangle
Rectangle.RectangleHalfAngledBottom
RectangleHalfAngledBottom.RectangleHalfAngledTop
RectangleHalfAngledTop.RectangleHalfRoundedBottom
RectangleHalfRoundedBottom.RectangleHalfRoundedTop
RectangleHalfRoundedTop.ReversibilitySign
ReversibilitySign.RhomboidDown
RhomboidDown.RhomboidLeft
RhomboidLeft.RhomboidRight
RhomboidRight.RhomboidUp
RhomboidUp.RoundedRectangle
RoundedRectangle.Square
Square.TagBottom
TagBottom.TagLeft
TagLeft.TagRight
TagRight.TagTop
TagTop.TrapezoidBottom
TrapezoidBottom.TrapezoidLeft
TrapezoidLeft.TrapezoidRight
TrapezoidRight.TrapezoidTop
TrapezoidTop.TriangleBottom
TriangleBottom.TriangleLeft
TriangleLeft.TriangleRight
TriangleRight.TriangleTop
TriangleTop. -
Field Summary
Fields inherited from interface omix.lang.Shape
AngledRectangle, ChevronBottom, ChevronLeft, ChevronRight, ChevronTop, Circle, Diamond, DoubleEmblemHorizontal, DoubleEmblemVertical, DoubleTagHorizontal, DoubleTagVertical, Ellipse, EmblemBottom, EmblemLeft, EmblemRight, EmblemTop, EmptySet, FilledEmptySet, Hexagon, Hexagon2, Pentagon, Pentagon2, Rectangle, RectangleHalfAngledBottom, RectangleHalfAngledTop, RectangleHalfRoundedBottom, RectangleHalfRoundedTop, ReversibilitySign, RhomboidDown, RhomboidLeft, RhomboidRight, RhomboidUp, RoundedRectangle, Square, TagBottom, TagLeft, TagRight, TagTop, TrapezoidBottom, TrapezoidLeft, TrapezoidRight, TrapezoidTop, TriangleBottom, TriangleLeft, TriangleRight, TriangleTop
-
Method Summary
Modifier and Type Method Description static StandardShapes
valueOf(String name)
Returns the enum constant of this type with the specified name.static StandardShapes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Diamond
Diamond. -
Ellipse
Ellipse. -
Hexagon
Hexagon. -
Pentagon
Pentagon. -
Rectangle
Rectangle. -
RoundedRectangle
RoundedRectangle. -
Hexagon2
Hexagon2. -
Pentagon2
Pentagon2. -
RectangleHalfRoundedTop
RectangleHalfRoundedTop. -
RectangleHalfRoundedBottom
RectangleHalfRoundedBottom. -
TagRight
TagRight. -
TagLeft
TagLeft. -
TagTop
TagTop. -
TagBottom
TagBottom. -
DoubleTagHorizontal
Horizontal double tag. -
DoubleTagVertical
Vertical double tag. -
RhomboidRight
RhomboidRight. -
RhomboidLeft
RhomboidLeft. -
RhomboidUp
RhomboidUp. -
RhomboidDown
RhomboidDown. -
ChevronRight
ChevronRight. -
ChevronLeft
ChevronLeft. -
ChevronTop
ChevronTop. -
ChevronBottom
ChevronBottom. -
EmblemRight
EmblemRight. -
EmblemLeft
EmblemLeft. -
EmblemTop
EmblemTop. -
EmblemBottom
EmblemBottom. -
DoubleEmblemHorizontal
DoubleEmblemHorizontal. -
DoubleEmblemVertical
DoubleEmblemVertical. -
AngledRectangle
AngledRectangle. -
RectangleHalfAngledTop
RectangleHalfAngledTop. -
RectangleHalfAngledBottom
RectangleHalfAngledBottom. -
Circle
Circle. -
Square
Square. -
EmptySet
EmptySet. -
FilledEmptySet
FilledEmptySet. -
TrapezoidBottom
TrapezoidBottom. -
TrapezoidLeft
TrapezoidLeft. -
TrapezoidRight
TrapezoidRight. -
TrapezoidTop
TrapezoidTop. -
TriangleRight
TriangleRight. -
TriangleLeft
TriangleLeft. -
TriangleTop
TriangleTop. -
TriangleBottom
TriangleBottom. -
ReversibilitySign
ReversibilitySign.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-