Package jmri.jmrit.logixng.tools.swing
Enum WhereUsedFrame.ItemType
- java.lang.Object
- 
- java.lang.Enum<WhereUsedFrame.ItemType>
- 
- jmri.jmrit.logixng.tools.swing.WhereUsedFrame.ItemType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<WhereUsedFrame.ItemType>
 - Enclosing class:
- WhereUsedFrame
 
 static enum WhereUsedFrame.ItemType extends java.lang.Enum<WhereUsedFrame.ItemType> The item types. A bundle key for each type is stored with the type to create a language dependent toString result.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static WhereUsedFrame.ItemTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WhereUsedFrame.ItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final WhereUsedFrame.ItemType NONE 
 - 
TURNOUTpublic static final WhereUsedFrame.ItemType TURNOUT 
 - 
SENSORpublic static final WhereUsedFrame.ItemType SENSOR 
 - 
LIGHTpublic static final WhereUsedFrame.ItemType LIGHT 
 - 
SIGNALHEADpublic static final WhereUsedFrame.ItemType SIGNALHEAD 
 - 
SIGNALMASTpublic static final WhereUsedFrame.ItemType SIGNALMAST 
 - 
REPORTERpublic static final WhereUsedFrame.ItemType REPORTER 
 - 
MEMORYpublic static final WhereUsedFrame.ItemType MEMORY 
 - 
ROUTEpublic static final WhereUsedFrame.ItemType ROUTE 
 - 
OBLOCKpublic static final WhereUsedFrame.ItemType OBLOCK 
 - 
BLOCKpublic static final WhereUsedFrame.ItemType BLOCK 
 - 
SECTIONpublic static final WhereUsedFrame.ItemType SECTION 
 - 
WARRANTpublic static final WhereUsedFrame.ItemType WARRANT 
 - 
ENTRYEXITpublic static final WhereUsedFrame.ItemType ENTRYEXIT 
 - 
AUDIOpublic static final WhereUsedFrame.ItemType AUDIO 
 
- 
 - 
Method Detail- 
valuespublic static WhereUsedFrame.ItemType[] 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 (WhereUsedFrame.ItemType c : WhereUsedFrame.ItemType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static WhereUsedFrame.ItemType 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
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Enum<WhereUsedFrame.ItemType>
 
 
- 
 
-