ilog.cpl.style.key
Class IlpColorKey

java.lang.Object
  extended by ilog.util.IlEnum
      extended by ilog.cpl.style.key.IlpKey
          extended by ilog.cpl.style.key.IlpColorKey

Deprecated. The Style API has been replaced by the Cascading Style Sheet mechanism. Refer to the User's Manual for further information.

public class IlpColorKey
extends IlpKey

Contains the keys for properties of type Color.

Since:
JTGO 3.0
See Also:
IlpKey
Deprecated Since:
JTGO 3.5

Field Summary
static IlEnumInfo metainfo
          Deprecated. Metainformation about style keys.
 
Fields inherited from class ilog.cpl.style.key.IlpKey
defaultValue, logger
 
Constructor Summary
protected IlpColorKey(String name, Color defaultValue)
          Deprecated. Constructor.
 
Method Summary
 Class getValueType()
          Deprecated. Gets the value type of the key.
static IlpColorKey New(String name)
          Deprecated. Creates a new key for properties of type java.awt.Color with a default value of null.
static IlpColorKey New(String name, Color defaultValue)
          Deprecated. Creates a new key for properties of type java.awt.Color.
 
Methods inherited from class ilog.cpl.style.key.IlpKey
getDefaultInitValue, GetSharedInstance, GetSharedInstance, hashCode, internalGetDefaultValue, NewKey, NewKey, setDefaultInitValue
 
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

metainfo

public static final IlEnumInfo metainfo
Deprecated. 
Metainformation about style keys.

Constructor Detail

IlpColorKey

protected IlpColorKey(String name,
                      Color defaultValue)
Deprecated. 
Constructor.

Method Detail

New

public static IlpColorKey New(String name)
Deprecated. 
Creates a new key for properties of type java.awt.Color with a default value of null.

Parameters:
name - A unique name for the key, used for serialization.

New

public static IlpColorKey New(String name,
                              Color defaultValue)
Deprecated. 
Creates a new key for properties of type java.awt.Color.

Parameters:
name - A unique name for the key, used for serialization.
defaultValue - Initialization default value used if no other value is available.

getValueType

public Class getValueType()
Deprecated. 
Gets the value type of the key.

Overrides:
getValueType in class IlpKey
Returns:
Class of the value stored in the key.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.