|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.pietschy.command.configuration.impl.PropertyKey
class PropertyKey
Class that represent property keys in resource bundles. This class parses the keys to determine
their type. The key cmd@face.text would represent the text property of the default
face of the ActionCommand "cmd".
| Field Summary | |
|---|---|
(package private) boolean |
clientProperty
|
static int |
FACE
|
static int |
FACE_CONTEXT
|
static int |
ID
|
static int |
PROPERTY_NAME
|
(package private) boolean |
userProperty
|
| Constructor Summary | |
|---|---|
PropertyKey(java.lang.String key,
ExceptionFactory exceptionFactory)
Creates a new property key from the specified key. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFaceContext()
Gets the face context if for face properties. |
java.lang.String |
getId()
Gets the id of the command or group represented by this key. |
java.lang.String |
getPropertyName()
Gets the property name represented by the key. |
boolean |
isClientProperty()
Returns true if the key represents a face client property, false otherwise. |
boolean |
isFace()
Returns true if this is a face property, false otherwise. |
boolean |
isGroup()
Returns true if this is a group property, false otherwise. |
boolean |
isUserProperty()
Returns true if the key represents a user property, false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ID
public static final int FACE
public static final int FACE_CONTEXT
public static final int PROPERTY_NAME
boolean clientProperty
boolean userProperty
| Constructor Detail |
|---|
public PropertyKey(java.lang.String key,
ExceptionFactory exceptionFactory)
throws ParseException
key - the property key as defined in the resource bundle.exceptionFactory - the exception facotry.
ParseException - if there was an error parsing the key.| Method Detail |
|---|
public java.lang.String getId()
public boolean isFace()
true if this is a face property, false otherwise.
true if this is a face property, false otherwise.public boolean isGroup()
true if this is a group property, false otherwise.
true if this is a group property, false otherwise.public java.lang.String getFaceContext()
public java.lang.String getPropertyName()
cmd@face.text the property name
would be text.
public boolean isUserProperty()
true if the key represents a user property, false otherwise.
true if the key represents a user property, false otherwise.public boolean isClientProperty()
true if the key represents a face client property, false otherwise.
true if the key represents a user property, false otherwise.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||