Package org.fife.ui.rsyntaxtextarea
Enum Class RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType
java.lang.Object
java.lang.Enum<RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType>
org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType
- All Implemented Interfaces:
Serializable
,Comparable<RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType>
,Constable
- Enclosing class:
RSyntaxTextAreaEditorKit.InsertQuoteAction
public static enum RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType
extends Enum<RSyntaxTextAreaEditorKit.InsertQuoteAction.QuoteType>
The type of quote to insert.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final char
private final int
private final int
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
QuoteType
(char ch, int validTokenType, int invalidTokenType) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOUBLE_QUOTE
-
SINGLE_QUOTE
-
BACKTICK
-
-
Field Details
-
ch
private final char ch -
validTokenType
private final int validTokenType -
invalidTokenType
private final int invalidTokenType
-
-
Constructor Details
-
QuoteType
private QuoteType(char ch, int validTokenType, int invalidTokenType)
-
-
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
-