ilog.cpl.style.key
Class IlpFormatKey

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

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

public class IlpFormatKey
extends IlpKey

Contains the keys for properties of type java.text.Format.

Note: java.text.Format values for keys of this type must be treated as immutable: their fields must not be modified.

Since:
JTGO 3.0
See Also:
Format
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 IlpFormatKey(String name, Format defaultValue)
          Deprecated. Constructor.
 
Method Summary
 Class getValueType()
          Deprecated. Gets the value type of the key.
static IlpFormatKey New(String name)
          Deprecated. Creates a new key for properties of type java.text.Format with a default value of null.
static IlpFormatKey New(String name, Format defaultValue)
          Deprecated. Creates a new key for properties of type java.text.Format.
 
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

IlpFormatKey

protected IlpFormatKey(String name,
                       Format defaultValue)
Deprecated. 
Constructor.

Method Detail

New

public static IlpFormatKey New(String name)
Deprecated. 
Creates a new key for properties of type java.text.Format with a default value of null.

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

New

public static IlpFormatKey New(String name,
                               Format defaultValue)
Deprecated. 
Creates a new key for properties of type java.text.Format.

Parameters:
name - A unique name for the key, used for serialization.
defaultValue - The 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.