Package com.calebleavell.jatui.modules
Enum Class TUIModule.Property
- All Implemented Interfaces:
Serializable,Comparable<TUIModule.Property>,Constable
- Enclosing class:
TUIModule
Fields that can be recursively updated in the Builder.
You can change the recursion flags for these fields (see
To update the flag for a property on a builder, call
You can also call
Note: setting the ansi, scanner, print stream, or enabling ansi will automatically lock those property flags, but setting application or merging ansi (appending/prepending) will not automatically lock the corresponding flags.
You can change the recursion flags for these fields (see
DirectedGraphNode.PropertyUpdateFlag). To update the flag for a property on a builder, call
TUIModule.Builder.updateFlag(Property, DirectedGraphNode.PropertyUpdateFlag) You can also call
TUIModule.Builder.lockProperty(Property) or TUIModule.Builder.unlockProperty(Property). Note: setting the ansi, scanner, print stream, or enabling ansi will automatically lock those property flags, but setting application or merging ansi (appending/prepending) will not automatically lock the corresponding flags.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheApplicationModulecorresponding to this moduleWhether Ansi can be displayed for this module (takes precedent overSET_ANSI)Deals with appending to or prepending to the ansiThe PrintStream this module may write to (not every module writes data)The Scanner this module may read data from (not every module reads data)Deals with replacing the ansi completely with setAnsi() -
Method Summary
Modifier and TypeMethodDescriptionstatic TUIModule.PropertyReturns the enum constant of this class with the specified name.static TUIModule.Property[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPLICATION
TheApplicationModulecorresponding to this module -
SET_ANSI
Deals with replacing the ansi completely with setAnsi() -
MERGE_ANSI
Deals with appending to or prepending to the ansi -
SCANNER
The Scanner this module may read data from (not every module reads data) -
PRINTSTREAM
The PrintStream this module may write to (not every module writes data) -
ENABLE_ANSI
Whether Ansi can be displayed for this module (takes precedent overSET_ANSI)
-
-
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
-