![]() |
Gridarta Editor
|
An ArchetypeAttribute for selecting boolean values having specific "true" and "false" values. More...
Public Member Functions | |
ArchetypeAttributeBoolSpec (@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength, @NotNull final String trueValue, @NotNull final String falseValue) | |
Creates a new instance. More... | |
String | getFalseValue () |
Returns the false value. More... | |
String | getTrueValue () |
Returns the true value. More... | |
void | visit (@NotNull final ArchetypeAttributeVisitor visitor) |
Calls the. More... | |
![]() | |
String | getArchetypeAttributeName () |
Returns the archetype attribute name. More... | |
String | getAttributeName () |
Returns the user interface attribute name. More... | |
String | getDescription () |
Returns the attribute's description. More... | |
int | getInputLength () |
Returns the input length in characters for text input fields. More... | |
String | toString () |
Private Attributes | |
final String | falseValue |
The false value. More... | |
final String | trueValue |
The true value. More... | |
Additional Inherited Members | |
![]() | |
static final int | TEXTFIELD_COLUMNS = 18 |
The width (columns) for input fields like textfields or JChooseBoxes. More... | |
![]() | |
ArchetypeAttribute (@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength) | |
Creates a new instance. More... | |
An ArchetypeAttribute for selecting boolean values having specific "true" and "false" values.
Definition at line 30 of file ArchetypeAttributeBoolSpec.java.
net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.ArchetypeAttributeBoolSpec | ( | @NotNull final String | archetypeAttributeName, |
@NotNull final String | attributeName, | ||
@NotNull final String | description, | ||
final int | inputLength, | ||
@NotNull final String | trueValue, | ||
@NotNull final String | falseValue | ||
) |
Creates a new instance.
archetypeAttributeName | the archetype attribute name |
attributeName | the user interface attribute name |
description | the attribute's description |
inputLength | the input length in characters for text input fields |
trueValue | the true value |
falseValue | the false value |
Definition at line 53 of file ArchetypeAttributeBoolSpec.java.
References net.sf.gridarta.model.archetypetype.ArchetypeAttribute.archetypeAttributeName, net.sf.gridarta.model.archetypetype.ArchetypeAttribute.attributeName, net.sf.gridarta.model.archetypetype.ArchetypeAttribute.description, net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.falseValue, net.sf.gridarta.model.archetypetype.ArchetypeAttribute.inputLength, and net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.trueValue.
String net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.getFalseValue | ( | ) |
Returns the false value.
Definition at line 73 of file ArchetypeAttributeBoolSpec.java.
References net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.falseValue.
String net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.getTrueValue | ( | ) |
Returns the true value.
Definition at line 64 of file ArchetypeAttributeBoolSpec.java.
References net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.trueValue.
void net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.visit | ( | @NotNull final ArchetypeAttributeVisitor | visitor | ) |
Calls the.
function appropriate for this instance.
visitor | the visitor to call |
Reimplemented from net.sf.gridarta.model.archetypetype.ArchetypeAttribute.
Definition at line 78 of file ArchetypeAttributeBoolSpec.java.
|
private |
The false value.
Definition at line 42 of file ArchetypeAttributeBoolSpec.java.
Referenced by net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.ArchetypeAttributeBoolSpec(), and net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.getFalseValue().
|
private |
The true value.
Definition at line 36 of file ArchetypeAttributeBoolSpec.java.
Referenced by net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.ArchetypeAttributeBoolSpec(), and net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec.getTrueValue().