Package org.apache.poi.sl.draw.binding
Enum Class STShapeType
- All Implemented Interfaces:
Serializable
,Comparable<STShapeType>
,Constable
Java class for ST_ShapeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ST_ShapeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="line"/> <enumeration value="lineInv"/> <enumeration value="triangle"/> <enumeration value="rtTriangle"/> <enumeration value="rect"/> <enumeration value="diamond"/> <enumeration value="parallelogram"/> <enumeration value="trapezoid"/> <enumeration value="nonIsoscelesTrapezoid"/> <enumeration value="pentagon"/> <enumeration value="hexagon"/> <enumeration value="heptagon"/> <enumeration value="octagon"/> <enumeration value="decagon"/> <enumeration value="dodecagon"/> <enumeration value="star4"/> <enumeration value="star5"/> <enumeration value="star6"/> <enumeration value="star7"/> <enumeration value="star8"/> <enumeration value="star10"/> <enumeration value="star12"/> <enumeration value="star16"/> <enumeration value="star24"/> <enumeration value="star32"/> <enumeration value="roundRect"/> <enumeration value="round1Rect"/> <enumeration value="round2SameRect"/> <enumeration value="round2DiagRect"/> <enumeration value="snipRoundRect"/> <enumeration value="snip1Rect"/> <enumeration value="snip2SameRect"/> <enumeration value="snip2DiagRect"/> <enumeration value="plaque"/> <enumeration value="ellipse"/> <enumeration value="teardrop"/> <enumeration value="homePlate"/> <enumeration value="chevron"/> <enumeration value="pieWedge"/> <enumeration value="pie"/> <enumeration value="blockArc"/> <enumeration value="donut"/> <enumeration value="noSmoking"/> <enumeration value="rightArrow"/> <enumeration value="leftArrow"/> <enumeration value="upArrow"/> <enumeration value="downArrow"/> <enumeration value="stripedRightArrow"/> <enumeration value="notchedRightArrow"/> <enumeration value="bentUpArrow"/> <enumeration value="leftRightArrow"/> <enumeration value="upDownArrow"/> <enumeration value="leftUpArrow"/> <enumeration value="leftRightUpArrow"/> <enumeration value="quadArrow"/> <enumeration value="leftArrowCallout"/> <enumeration value="rightArrowCallout"/> <enumeration value="upArrowCallout"/> <enumeration value="downArrowCallout"/> <enumeration value="leftRightArrowCallout"/> <enumeration value="upDownArrowCallout"/> <enumeration value="quadArrowCallout"/> <enumeration value="bentArrow"/> <enumeration value="uturnArrow"/> <enumeration value="circularArrow"/> <enumeration value="leftCircularArrow"/> <enumeration value="leftRightCircularArrow"/> <enumeration value="curvedRightArrow"/> <enumeration value="curvedLeftArrow"/> <enumeration value="curvedUpArrow"/> <enumeration value="curvedDownArrow"/> <enumeration value="swooshArrow"/> <enumeration value="cube"/> <enumeration value="can"/> <enumeration value="lightningBolt"/> <enumeration value="heart"/> <enumeration value="sun"/> <enumeration value="moon"/> <enumeration value="smileyFace"/> <enumeration value="irregularSeal1"/> <enumeration value="irregularSeal2"/> <enumeration value="foldedCorner"/> <enumeration value="bevel"/> <enumeration value="frame"/> <enumeration value="halfFrame"/> <enumeration value="corner"/> <enumeration value="diagStripe"/> <enumeration value="chord"/> <enumeration value="arc"/> <enumeration value="leftBracket"/> <enumeration value="rightBracket"/> <enumeration value="leftBrace"/> <enumeration value="rightBrace"/> <enumeration value="bracketPair"/> <enumeration value="bracePair"/> <enumeration value="straightConnector1"/> <enumeration value="bentConnector2"/> <enumeration value="bentConnector3"/> <enumeration value="bentConnector4"/> <enumeration value="bentConnector5"/> <enumeration value="curvedConnector2"/> <enumeration value="curvedConnector3"/> <enumeration value="curvedConnector4"/> <enumeration value="curvedConnector5"/> <enumeration value="callout1"/> <enumeration value="callout2"/> <enumeration value="callout3"/> <enumeration value="accentCallout1"/> <enumeration value="accentCallout2"/> <enumeration value="accentCallout3"/> <enumeration value="borderCallout1"/> <enumeration value="borderCallout2"/> <enumeration value="borderCallout3"/> <enumeration value="accentBorderCallout1"/> <enumeration value="accentBorderCallout2"/> <enumeration value="accentBorderCallout3"/> <enumeration value="wedgeRectCallout"/> <enumeration value="wedgeRoundRectCallout"/> <enumeration value="wedgeEllipseCallout"/> <enumeration value="cloudCallout"/> <enumeration value="cloud"/> <enumeration value="ribbon"/> <enumeration value="ribbon2"/> <enumeration value="ellipseRibbon"/> <enumeration value="ellipseRibbon2"/> <enumeration value="leftRightRibbon"/> <enumeration value="verticalScroll"/> <enumeration value="horizontalScroll"/> <enumeration value="wave"/> <enumeration value="doubleWave"/> <enumeration value="plus"/> <enumeration value="flowChartProcess"/> <enumeration value="flowChartDecision"/> <enumeration value="flowChartInputOutput"/> <enumeration value="flowChartPredefinedProcess"/> <enumeration value="flowChartInternalStorage"/> <enumeration value="flowChartDocument"/> <enumeration value="flowChartMultidocument"/> <enumeration value="flowChartTerminator"/> <enumeration value="flowChartPreparation"/> <enumeration value="flowChartManualInput"/> <enumeration value="flowChartManualOperation"/> <enumeration value="flowChartConnector"/> <enumeration value="flowChartPunchedCard"/> <enumeration value="flowChartPunchedTape"/> <enumeration value="flowChartSummingJunction"/> <enumeration value="flowChartOr"/> <enumeration value="flowChartCollate"/> <enumeration value="flowChartSort"/> <enumeration value="flowChartExtract"/> <enumeration value="flowChartMerge"/> <enumeration value="flowChartOfflineStorage"/> <enumeration value="flowChartOnlineStorage"/> <enumeration value="flowChartMagneticTape"/> <enumeration value="flowChartMagneticDisk"/> <enumeration value="flowChartMagneticDrum"/> <enumeration value="flowChartDisplay"/> <enumeration value="flowChartDelay"/> <enumeration value="flowChartAlternateProcess"/> <enumeration value="flowChartOffpageConnector"/> <enumeration value="actionButtonBlank"/> <enumeration value="actionButtonHome"/> <enumeration value="actionButtonHelp"/> <enumeration value="actionButtonInformation"/> <enumeration value="actionButtonForwardNext"/> <enumeration value="actionButtonBackPrevious"/> <enumeration value="actionButtonEnd"/> <enumeration value="actionButtonBeginning"/> <enumeration value="actionButtonReturn"/> <enumeration value="actionButtonDocument"/> <enumeration value="actionButtonSound"/> <enumeration value="actionButtonMovie"/> <enumeration value="gear6"/> <enumeration value="gear9"/> <enumeration value="funnel"/> <enumeration value="mathPlus"/> <enumeration value="mathMinus"/> <enumeration value="mathMultiply"/> <enumeration value="mathDivide"/> <enumeration value="mathEqual"/> <enumeration value="mathNotEqual"/> <enumeration value="cornerTabs"/> <enumeration value="squareTabs"/> <enumeration value="plaqueTabs"/> <enumeration value="chartX"/> <enumeration value="chartStar"/> <enumeration value="chartPlus"/> </restriction> </simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCallout 1 with Border and Accent ShapeCallout 2 with Border and Accent ShapeCallout 3 with Border and Accent ShapeCallout 1 ShapeCallout 2 ShapeCallout 3 ShapeBack or Previous Button ShapeBeginning Button ShapeBlank Button ShapeDocument Button ShapeEnd Button ShapeForward or Next Button ShapeHelp Button ShapeHome Button ShapeInformation Button ShapeMovie Button ShapeReturn Button ShapeSound Button ShapeCurved Arc ShapeBent Arrow ShapeBent Connector 2 ShapeBent Connector 3 ShapeBent Connector 4 ShapeBent Connector 5 ShapeBent Up Arrow ShapeBevel ShapeBlock Arc ShapeCallout 1 with Border ShapeCallout 2 with Border ShapeCallout 3 with Border ShapeBrace Pair ShapeBracket Pair ShapeCallout 1 ShapeCallout 2 ShapeCallout 3 ShapeCan ShapeChart Plus ShapeChart Star ShapeChart X ShapeChevron ShapeChord ShapeCircular Arrow ShapeCloud ShapeCallout Cloud ShapeCorner ShapeCorner Tabs ShapeCube ShapeCurved Connector 2 ShapeCurved Connector 3 ShapeCurved Connector 4 ShapeCurved Connector 5 ShapeCurved Down Arrow ShapeCurved Left Arrow ShapeCurved Right Arrow ShapeCurved Up Arrow ShapeDecagon ShapeDiagonal Stripe ShapeDiamond ShapeDodecagon ShapeDonut ShapeDouble Wave ShapeDown Arrow ShapeCallout Down Arrow ShapeEllipse ShapeEllipse Ribbon ShapeEllipse Ribbon 2 ShapeAlternate Process Flow ShapeCollate Flow ShapeConnector Flow ShapeDecision Flow ShapeDelay Flow ShapeDisplay Flow ShapeDocument Flow ShapeExtract Flow ShapeInput Output Flow ShapeInternal Storage Flow ShapeMagnetic Disk Flow ShapeMagnetic Drum Flow ShapeMagnetic Tape Flow ShapeManual Input Flow ShapeManual Operation Flow ShapeMerge Flow ShapeMulti-Document Flow ShapeOffline Storage Flow ShapeOff-Page Connector Flow ShapeOnline Storage Flow ShapeOr Flow ShapePredefined Process Flow ShapePreparation Flow ShapeProcess Flow ShapePunched Card Flow ShapePunched Tape Flow ShapeSort Flow ShapeSumming Junction Flow ShapeTerminator Flow ShapeFolded Corner ShapeFrame ShapeFunnel ShapeGear 6 ShapeGear 9 ShapeHalf Frame ShapeHeart ShapeHeptagon ShapeHexagon ShapeHome Plate ShapeHorizontal Scroll ShapeIrregular Seal 1 ShapeIrregular Seal 2 ShapeLeft Arrow ShapeCallout Left Arrow ShapeLeft Brace ShapeLeft Bracket ShapeLeft Circular Arrow ShapeLeft Right Arrow ShapeCallout Left Right Arrow ShapeLeft Right Circular Arrow ShapeLeft Right Ribbon ShapeLeft Right Up Arrow ShapeLeft Up Arrow ShapeLightning Bolt ShapeLine ShapeLine Inverse ShapeDivide Math ShapeEqual Math ShapeMinus Math ShapeMultiply Math ShapeNot Equal Math ShapePlus Math ShapeMoon ShapeNo Smoking ShapeNon-Isosceles Trapezoid ShapeNotched Right Arrow ShapeOctagon ShapeParallelogram ShapePentagon ShapePie ShapePie Wedge ShapePlaque ShapePlaque Tabs ShapePlus ShapeQuad-Arrow ShapeCallout Quad-Arrow ShapeRectangle ShapeRibbon ShapeRibbon 2 ShapeRight Arrow ShapeCallout Right Arrow ShapeRight Brace ShapeRight Bracket ShapeOne Round Corner Rectangle ShapeTwo Diagonal Round Corner Rectangle ShapeTwo Same-side Round Corner Rectangle ShapeRound Corner Rectangle ShapeRight Triangle ShapeSmiley Face ShapeOne Snip Corner Rectangle ShapeTwo Diagonal Snip Corner Rectangle ShapeTwo Same-side Snip Corner Rectangle ShapeOne Snip One Round Corner Rectangle ShapeSquare Tabs ShapeTen Pointed Star ShapeTwelve Pointed Star ShapeSixteen Pointed Star ShapeTwenty Four Pointed Star ShapeThirty Two Pointed Star ShapeFour Pointed Star ShapeFive Pointed Star ShapeSix Pointed Star ShapeSeven Pointed Star ShapeEight Pointed Star ShapeStraight Connector 1 ShapeStriped Right Arrow ShapeSun ShapeSwoosh Arrow ShapeTeardrop ShapeTrapezoid ShapeTriangle ShapeUp Arrow ShapeCallout Up Arrow ShapeUp Down Arrow ShapeCallout Up Down Arrow ShapeU-Turn Arrow ShapeVertical Scroll ShapeWave ShapeCallout Wedge Ellipse ShapeCallout Wedge Rectangle ShapeCallout Wedge Round Rectangle Shape -
Method Summary
Modifier and TypeMethodDescriptionstatic STShapeType
value()
static STShapeType
Returns the enum constant of this class with the specified name.static STShapeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINE
Line Shape -
LINE_INV
Line Inverse Shape -
TRIANGLE
Triangle Shape -
RT_TRIANGLE
Right Triangle Shape -
RECT
Rectangle Shape -
DIAMOND
Diamond Shape -
PARALLELOGRAM
Parallelogram Shape -
TRAPEZOID
Trapezoid Shape -
NON_ISOSCELES_TRAPEZOID
Non-Isosceles Trapezoid Shape -
PENTAGON
Pentagon Shape -
HEXAGON
Hexagon Shape -
HEPTAGON
Heptagon Shape -
OCTAGON
Octagon Shape -
DECAGON
Decagon Shape -
DODECAGON
Dodecagon Shape -
STAR_4
Four Pointed Star Shape -
STAR_5
Five Pointed Star Shape -
STAR_6
Six Pointed Star Shape -
STAR_7
Seven Pointed Star Shape -
STAR_8
Eight Pointed Star Shape -
STAR_10
Ten Pointed Star Shape -
STAR_12
Twelve Pointed Star Shape -
STAR_16
Sixteen Pointed Star Shape -
STAR_24
Twenty Four Pointed Star Shape -
STAR_32
Thirty Two Pointed Star Shape -
ROUND_RECT
Round Corner Rectangle Shape -
ROUND_1_RECT
One Round Corner Rectangle Shape -
ROUND_2_SAME_RECT
Two Same-side Round Corner Rectangle Shape -
ROUND_2_DIAG_RECT
Two Diagonal Round Corner Rectangle Shape -
SNIP_ROUND_RECT
One Snip One Round Corner Rectangle Shape -
SNIP_1_RECT
One Snip Corner Rectangle Shape -
SNIP_2_SAME_RECT
Two Same-side Snip Corner Rectangle Shape -
SNIP_2_DIAG_RECT
Two Diagonal Snip Corner Rectangle Shape -
PLAQUE
Plaque Shape -
ELLIPSE
Ellipse Shape -
TEARDROP
Teardrop Shape -
HOME_PLATE
Home Plate Shape -
CHEVRON
Chevron Shape -
PIE_WEDGE
Pie Wedge Shape -
PIE
Pie Shape -
BLOCK_ARC
Block Arc Shape -
DONUT
Donut Shape -
NO_SMOKING
No Smoking Shape -
RIGHT_ARROW
Right Arrow Shape -
LEFT_ARROW
Left Arrow Shape -
UP_ARROW
Up Arrow Shape -
DOWN_ARROW
Down Arrow Shape -
STRIPED_RIGHT_ARROW
Striped Right Arrow Shape -
NOTCHED_RIGHT_ARROW
Notched Right Arrow Shape -
BENT_UP_ARROW
Bent Up Arrow Shape -
LEFT_RIGHT_ARROW
Left Right Arrow Shape -
UP_DOWN_ARROW
Up Down Arrow Shape -
LEFT_UP_ARROW
Left Up Arrow Shape -
LEFT_RIGHT_UP_ARROW
Left Right Up Arrow Shape -
QUAD_ARROW
Quad-Arrow Shape -
LEFT_ARROW_CALLOUT
Callout Left Arrow Shape -
RIGHT_ARROW_CALLOUT
Callout Right Arrow Shape -
UP_ARROW_CALLOUT
Callout Up Arrow Shape -
DOWN_ARROW_CALLOUT
Callout Down Arrow Shape -
LEFT_RIGHT_ARROW_CALLOUT
Callout Left Right Arrow Shape -
UP_DOWN_ARROW_CALLOUT
Callout Up Down Arrow Shape -
QUAD_ARROW_CALLOUT
Callout Quad-Arrow Shape -
BENT_ARROW
Bent Arrow Shape -
UTURN_ARROW
U-Turn Arrow Shape -
CIRCULAR_ARROW
Circular Arrow Shape -
LEFT_CIRCULAR_ARROW
Left Circular Arrow Shape -
LEFT_RIGHT_CIRCULAR_ARROW
Left Right Circular Arrow Shape -
CURVED_RIGHT_ARROW
Curved Right Arrow Shape -
CURVED_LEFT_ARROW
Curved Left Arrow Shape -
CURVED_UP_ARROW
Curved Up Arrow Shape -
CURVED_DOWN_ARROW
Curved Down Arrow Shape -
SWOOSH_ARROW
Swoosh Arrow Shape -
CUBE
Cube Shape -
CAN
Can Shape -
LIGHTNING_BOLT
Lightning Bolt Shape -
HEART
Heart Shape -
SUN
Sun Shape -
MOON
Moon Shape -
SMILEY_FACE
Smiley Face Shape -
IRREGULAR_SEAL_1
Irregular Seal 1 Shape -
IRREGULAR_SEAL_2
Irregular Seal 2 Shape -
FOLDED_CORNER
Folded Corner Shape -
BEVEL
Bevel Shape -
FRAME
Frame Shape -
HALF_FRAME
Half Frame Shape -
CORNER
Corner Shape -
DIAG_STRIPE
Diagonal Stripe Shape -
CHORD
Chord Shape -
ARC
Curved Arc Shape -
LEFT_BRACKET
Left Bracket Shape -
RIGHT_BRACKET
Right Bracket Shape -
LEFT_BRACE
Left Brace Shape -
RIGHT_BRACE
Right Brace Shape -
BRACKET_PAIR
Bracket Pair Shape -
BRACE_PAIR
Brace Pair Shape -
STRAIGHT_CONNECTOR_1
Straight Connector 1 Shape -
BENT_CONNECTOR_2
Bent Connector 2 Shape -
BENT_CONNECTOR_3
Bent Connector 3 Shape -
BENT_CONNECTOR_4
Bent Connector 4 Shape -
BENT_CONNECTOR_5
Bent Connector 5 Shape -
CURVED_CONNECTOR_2
Curved Connector 2 Shape -
CURVED_CONNECTOR_3
Curved Connector 3 Shape -
CURVED_CONNECTOR_4
Curved Connector 4 Shape -
CURVED_CONNECTOR_5
Curved Connector 5 Shape -
CALLOUT_1
Callout 1 Shape -
CALLOUT_2
Callout 2 Shape -
CALLOUT_3
Callout 3 Shape -
ACCENT_CALLOUT_1
Callout 1 Shape -
ACCENT_CALLOUT_2
Callout 2 Shape -
ACCENT_CALLOUT_3
Callout 3 Shape -
BORDER_CALLOUT_1
Callout 1 with Border Shape -
BORDER_CALLOUT_2
Callout 2 with Border Shape -
BORDER_CALLOUT_3
Callout 3 with Border Shape -
ACCENT_BORDER_CALLOUT_1
Callout 1 with Border and Accent Shape -
ACCENT_BORDER_CALLOUT_2
Callout 2 with Border and Accent Shape -
ACCENT_BORDER_CALLOUT_3
Callout 3 with Border and Accent Shape -
WEDGE_RECT_CALLOUT
Callout Wedge Rectangle Shape -
WEDGE_ROUND_RECT_CALLOUT
Callout Wedge Round Rectangle Shape -
WEDGE_ELLIPSE_CALLOUT
Callout Wedge Ellipse Shape -
CLOUD_CALLOUT
Callout Cloud Shape -
CLOUD
Cloud Shape -
RIBBON
Ribbon Shape -
RIBBON_2
Ribbon 2 Shape -
ELLIPSE_RIBBON
Ellipse Ribbon Shape -
ELLIPSE_RIBBON_2
Ellipse Ribbon 2 Shape -
LEFT_RIGHT_RIBBON
Left Right Ribbon Shape -
VERTICAL_SCROLL
Vertical Scroll Shape -
HORIZONTAL_SCROLL
Horizontal Scroll Shape -
WAVE
Wave Shape -
DOUBLE_WAVE
Double Wave Shape -
PLUS
Plus Shape -
FLOW_CHART_PROCESS
Process Flow Shape -
FLOW_CHART_DECISION
Decision Flow Shape -
FLOW_CHART_INPUT_OUTPUT
Input Output Flow Shape -
FLOW_CHART_PREDEFINED_PROCESS
Predefined Process Flow Shape -
FLOW_CHART_INTERNAL_STORAGE
Internal Storage Flow Shape -
FLOW_CHART_DOCUMENT
Document Flow Shape -
FLOW_CHART_MULTIDOCUMENT
Multi-Document Flow Shape -
FLOW_CHART_TERMINATOR
Terminator Flow Shape -
FLOW_CHART_PREPARATION
Preparation Flow Shape -
FLOW_CHART_MANUAL_INPUT
Manual Input Flow Shape -
FLOW_CHART_MANUAL_OPERATION
Manual Operation Flow Shape -
FLOW_CHART_CONNECTOR
Connector Flow Shape -
FLOW_CHART_PUNCHED_CARD
Punched Card Flow Shape -
FLOW_CHART_PUNCHED_TAPE
Punched Tape Flow Shape -
FLOW_CHART_SUMMING_JUNCTION
Summing Junction Flow Shape -
FLOW_CHART_OR
Or Flow Shape -
FLOW_CHART_COLLATE
Collate Flow Shape -
FLOW_CHART_SORT
Sort Flow Shape -
FLOW_CHART_EXTRACT
Extract Flow Shape -
FLOW_CHART_MERGE
Merge Flow Shape -
FLOW_CHART_OFFLINE_STORAGE
Offline Storage Flow Shape -
FLOW_CHART_ONLINE_STORAGE
Online Storage Flow Shape -
FLOW_CHART_MAGNETIC_TAPE
Magnetic Tape Flow Shape -
FLOW_CHART_MAGNETIC_DISK
Magnetic Disk Flow Shape -
FLOW_CHART_MAGNETIC_DRUM
Magnetic Drum Flow Shape -
FLOW_CHART_DISPLAY
Display Flow Shape -
FLOW_CHART_DELAY
Delay Flow Shape -
FLOW_CHART_ALTERNATE_PROCESS
Alternate Process Flow Shape -
FLOW_CHART_OFFPAGE_CONNECTOR
Off-Page Connector Flow Shape -
ACTION_BUTTON_BLANK
Blank Button Shape -
ACTION_BUTTON_HOME
Home Button Shape -
ACTION_BUTTON_HELP
Help Button Shape -
ACTION_BUTTON_INFORMATION
Information Button Shape -
ACTION_BUTTON_FORWARD_NEXT
Forward or Next Button Shape -
ACTION_BUTTON_BACK_PREVIOUS
Back or Previous Button Shape -
ACTION_BUTTON_END
End Button Shape -
ACTION_BUTTON_BEGINNING
Beginning Button Shape -
ACTION_BUTTON_RETURN
Return Button Shape -
ACTION_BUTTON_DOCUMENT
Document Button Shape -
ACTION_BUTTON_SOUND
Sound Button Shape -
ACTION_BUTTON_MOVIE
Movie Button Shape -
GEAR_6
Gear 6 Shape -
GEAR_9
Gear 9 Shape -
FUNNEL
Funnel Shape -
MATH_PLUS
Plus Math Shape -
MATH_MINUS
Minus Math Shape -
MATH_MULTIPLY
Multiply Math Shape -
MATH_DIVIDE
Divide Math Shape -
MATH_EQUAL
Equal Math Shape -
MATH_NOT_EQUAL
Not Equal Math Shape -
CORNER_TABS
Corner Tabs Shape -
SQUARE_TABS
Square Tabs Shape -
PLAQUE_TABS
Plaque Tabs Shape -
CHART_X
Chart X Shape -
CHART_STAR
Chart Star Shape -
CHART_PLUS
Chart Plus Shape
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
-
fromValue
-