public class ResourceKey extends Object
ResourceKey
that exists for compatibility with WPF classes.Constructor and Description |
---|
ResourceKey(Class type,
Object value)
Initializes a new instance of the
ResourceKey class. |
ResourceKey(String key)
Initializes a new instance of the
ResourceKey class using the given string as the key. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getKey()
Gets the key that is used by this instance.
|
int |
hashCode() |
String |
toString()
Returns the
Key . |
public ResourceKey(Class type, Object value)
ResourceKey
class.type
- The type for which this resource is created.value
- The identifier that further specifies the resource. The Object.toString()
of this instance will be used for the
key.public ResourceKey(String key)
ResourceKey
class using the given string as the key.key
- The key.public final String getKey()