This class is designed for the command keywords that have integer values.
Constructor.
Argument | Type | Default | Description |
command | AFXCommand | Host command. | |
name | String | Keyword name. | |
isRequired | Bool | False | True if the keyword is a required argument of the command. |
defaultValue | Int | INT_DEFAULT | Default value. |
evalExpression | Bool | True | True if the keyword supports expression evaluation. |
Returns the name of the keyword type.
Implements AFXKeyword.
Reimplemented in AFXSymConstKeyword.
Returns the text string that represents the keyword's current value.
Implements AFXKeyword.
Reimplemented in AFXSymConstKeyword.
Returns True if the keyword value differs from its previous value.
Implements AFXKeyword.
Sets the keyword's default value.
Argument | Type | Default | Description |
defaultValue | Int | Default value. |
Sets the keyword's current value.
Argument | Type | Default | Description |
newValue | Int | New value. |
Sets the keyword value to its default.
Argument | Type | Default | Description |
ignoreUnspecified | Bool | False | Ignore setting the value if the default is unspecified. |