|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.cpl.style.key.IlpKey
public class IlpKey
This enumeration contains the keys for IlpStyle properties.
An IlpKey is an entry point in an IlpStyle. The key
lets you store and retrieve values in a style. To draw objects, values
containing graphical properties are retrieved from styles using specific keys.
For instance, a key named LABEL_BACKGROUND_COLOR may be used to
access the background color for a label.
IlpStyle| Field Summary | |
|---|---|
protected Object |
defaultValue
Deprecated. Default value for the key |
protected static Logger |
logger
Deprecated. Logger for local access |
static IlEnumInfo |
metainfo
Deprecated. Contains metainformation about this IlEnum class. |
| Constructor Summary | |
|---|---|
protected |
IlpKey(String name,
Object defaultValue)
Deprecated. Creates a new property key. |
| Method Summary | |
|---|---|
Object |
getDefaultInitValue()
Deprecated. Gets the default value for the key. |
static IlpKey |
GetSharedInstance(String name)
Deprecated. Retrieves an existing key instance. |
static IlpKey |
GetSharedInstance(String name,
Class type)
Deprecated. Returns an existing key instance or creates a new key of the given type. |
Class |
getValueType()
Deprecated. Gets the value type of the key. |
int |
hashCode()
Deprecated. |
Object |
internalGetDefaultValue()
Deprecated. Internal accessor to default value. |
static IlpKey |
NewKey(String name)
Deprecated. Creates a new key for untyped properties and sets the default value to null. |
static IlpKey |
NewKey(String name,
Object defaultValue)
Deprecated. Creates a new key for untyped properties. |
protected void |
setDefaultInitValue(Object defaultValue)
Deprecated. Sets the default value for the key. |
| Methods inherited from class ilog.util.IlEnum |
|---|
getName, intern, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Object defaultValue
protected static final Logger logger
public static IlEnumInfo metainfo
IlEnum class.
| Constructor Detail |
|---|
protected IlpKey(String name,
Object defaultValue)
name - a unique name for the key, used for serialization.defaultValue - Initialization default value used if no other value
is available.| Method Detail |
|---|
public int hashCode()
hashCode in class Objectpublic static IlpKey NewKey(String name)
null.
name - A unique name for the key, used for serialization.
public static IlpKey NewKey(String name,
Object defaultValue)
name - A unique name for the key, used for serialization.defaultValue - Initialization default value used if no other value
is available.public Object getDefaultInitValue()
public Class getValueType()
protected void setDefaultInitValue(Object defaultValue)
defaultValue - Default value to set for the key.public static IlpKey GetSharedInstance(String name)
name - The name of the key to retrieve.
public static IlpKey GetSharedInstance(String name,
Class type)
name - The name of the key to retrieve.type - Key typepublic Object internalGetDefaultValue()
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||