|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.tools.resource.ResourceValue
wt.tools.resource.StringResourceValue
wt.tools.resource.MetadataResourceValue
wt.tools.resource.EnumResourceValue
The value for an EnumeratedType. It is a specialization of its parent
class, because the "value" has multiple, embedded values, which are represented
by the attributes of this class.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private boolean |
defaultValue
|
private int |
order
|
private static String |
RESOURCE
|
Fields inherited from class wt.tools.resource.MetadataResourceValue |
|
Fields inherited from class wt.tools.resource.ResourceValue |
TRANSLATION_SOURCE_NOW, TRANSLATION_SOURCE_WAS, VALUE_TAG |
Constructor Summary | |
EnumResourceValue()
|
Method Summary | |
private void |
entryValidate(ResourceEntry a_Entry)
|
boolean |
equals(Object obj)
|
int |
getOrder()
Gets the value of the attribute: order. |
boolean |
isDefaultValue()
Gets the value of the attribute: defaultValue. |
boolean |
isSelectable()
Gets the value of the attribute: selectable. |
protected void |
load(Dictionary source,
String owner)
Load the state of this instance from the source. |
protected ResourceEntry |
makeEntry(String a_Key)
Make a new ResourceEntry, for this ResourceValue. |
(package private) static EnumResourceValue |
newEnumResourceValue(String a_Key)
Supported API: false |
void |
setDefaultValue(boolean a_DefaultValue)
Sets the value of the attribute: defaultValue. |
protected void |
setEntry(ResourceEntry a_Entry)
Sets the object for the association that plays role: entry. |
void |
setOrder(int a_Order)
Sets the value of the attribute: order. |
void |
setSelectable(boolean a_Selectable)
Sets the value of the attribute: selectable. |
Methods inherited from class wt.tools.resource.MetadataResourceValue |
getAbbreviatedDisplay, getDisplay, getExtraProperties, getFullDisplay, getLongDescription, getShortDescription, newMetadataResourceValue, setAbbreviatedDisplay, setDisplay, setExtraProperties, setFullDisplay, setLongDescription, setShortDescription |
Methods inherited from class wt.tools.resource.StringResourceValue |
newStringResourceValue, setValue |
Methods inherited from class wt.tools.resource.ResourceValue |
clone, getArgComments, getCategory, getComment, getConstant, getEntry, getKey, getPrimaryValue, getTranslationSource, getValue, initialize, isCustomizable, isDeprecated, isPrimaryValue, loadTranslationSource, makeLocalization, newResourceValue, setArgComments, setCategory, setComment, setConstant, setCustomizable, setDeprecated, setKey, setTranslationSource, toString, updated |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private int order
private boolean defaultValue
Constructor Detail |
public EnumResourceValue()
Method Detail |
public int getOrder()
public void setOrder(int a_Order) throws WTPropertyVetoException
a_Order
-
WTPropertyVetoException
public boolean isDefaultValue()
public void setDefaultValue(boolean a_DefaultValue) throws WTPropertyVetoException
a_DefaultValue
-
WTPropertyVetoException
public boolean isSelectable()
public void setSelectable(boolean a_Selectable) throws WTPropertyVetoException
a_Selectable
-
WTPropertyVetoException
protected void setEntry(ResourceEntry a_Entry) throws WTPropertyVetoException
setEntry
in class ResourceValue
a_Entry
-
WTPropertyVetoException
private void entryValidate(ResourceEntry a_Entry) throws WTPropertyVetoException
a_Entry
-
WTPropertyVetoException
static EnumResourceValue newEnumResourceValue(String a_Key) throws WTPropertyVetoException
a_Key
-
WTPropertyVetoException
protected ResourceEntry makeEntry(String a_Key) throws WTPropertyVetoException
makeEntry
in class ResourceValue
a_Key
-
WTPropertyVetoException
protected void load(Dictionary source, String owner) throws WTPropertyVetoException
load
in class MetadataResourceValue
source
- owner
-
WTPropertyVetoException
public boolean equals(Object obj)
equals
in class MetadataResourceValue
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |