ilog.tgo.model
Class IltObject.ListPrimaryStateStyleValueProvider

java.lang.Object
  extended by ilog.cpl.style.IlpAbstractStyleValueProvider
      extended by ilog.tgo.model.IltObject.ListPrimaryStateStyleValueProvider
All Implemented Interfaces:
IlpStyleValueProvider, StyleChangeListener, Serializable, Cloneable, EventListener
Enclosing class:
IltObject

Deprecated. Styles have been replaced by CSS support.

public static class IltObject.ListPrimaryStateStyleValueProvider
extends IlpAbstractStyleValueProvider

This class implements a style value provider which allows us to list the primary state according to the state system being used. OSI and SNMP list their primary states.

See Also:
Serialized Form
Internal method or field: do not use!
Deprecated Since:
JTGO 3.0

Field Summary
 
Fields inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider
dependentStyles, styleListeners, supportNotification
 
Constructor Summary
IltObject.ListPrimaryStateStyleValueProvider()
          Deprecated.  
 
Method Summary
 String getStringValue()
          Deprecated. Returns the value for the given style as a string.
 Object getValue(IlpKey key, IlpStyle style)
          Deprecated. Returns the value for the given style.
 Class getValueType()
          Deprecated. Returns the Java class of the value the style value provider is expected to return.
 
Methods inherited from class ilog.cpl.style.IlpAbstractStyleValueProvider
addDependentStyle, addStyleChangeListener, clone, fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, removeDependentStyle, removeStyleChangeListener, setSupportNotification, specificAddDependentStyle, specificRemoveDependentStyle, styleChanged
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltObject.ListPrimaryStateStyleValueProvider

public IltObject.ListPrimaryStateStyleValueProvider()
Deprecated. 
Method Detail

getStringValue

public String getStringValue()
Deprecated. 
Description copied from interface: IlpStyleValueProvider
Returns the value for the given style as a string. This method is used by custom implementations of the IlpStyleValueProvider interface to provide the data that should be stored when the style value provider is saved to the persistent storage. Correspondingly, a string-based constructor for the style value provider is needed to restore the value when reading it from the stored styles.

Returns:
Value correctly formatted as a string.

getValue

public Object getValue(IlpKey key,
                       IlpStyle style)
Deprecated. 
Description copied from interface: IlpStyleValueProvider
Returns the value for the given style. Uses the context to obtain any information needed to calculate the value, such as the current value of an attribute for attribute styles.

Parameters:
key - Style key whose value is being requested.
style - Style whose value is requested.
Returns:
Value or IlpStyle.NotFound if the value could not be calculated by this provider.

getValueType

public Class getValueType()
Deprecated. 
Description copied from interface: IlpStyleValueProvider
Returns the Java class of the value the style value provider is expected to return.

Returns:
The expected type of the return value.


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