ilog.cpl.graphic
Interface IlpGraphicViewStyleManager

All Superinterfaces:
IlpStyleManager
All Known Implementing Classes:
IlpBasicGraphicViewStyleManager, IlpDefaultGraphicViewStyleManager

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

public interface IlpGraphicViewStyleManager
extends IlpStyleManager

This interface defines the configuration of an IlpGraphicView object.

It stores information about styles that are specific to a view and that are used to create the graphic instance that represents the objects.

Since:
JTGO 3.0
See Also:
IlpDefaultGraphicViewStyleManager, IlpBasicGraphicViewStyleManager
Deprecated Since:
JTGO 3.5

Method Summary
 IlpStyleManager getDefaultStyleManager()
          Deprecated. Returns the default style manager used by this configuration.
 IlpStyle getStyle()
          Deprecated. Returns the style specified for this view.
 IlpStyle getStyle(IlpRepresentationObject ro)
          Deprecated. Returns the correct style for this representation object.
 IlpStyle getStyle(IlpRepresentationObject ro, IlpAttribute attribute)
          Deprecated. Return the correct style for this representation object.
 boolean removeStyle(IlpRepresentationObject ro)
          Deprecated. Remove an instance style from the currently buffered styles.
 
Methods inherited from interface ilog.cpl.style.IlpStyleManager
cleanup, getExistingStyle, getStyle, getStyle, getStyle, getStyle, getStyle, getStyle, getStyle, getStyleContexts, recustomizeStyles, removeStyle, resetStyles
 

Method Detail

getStyle

IlpStyle getStyle()
Deprecated. 
Returns the style specified for this view. If no style was specifically set, a default style will be returned.


getStyle

IlpStyle getStyle(IlpRepresentationObject ro)
Deprecated. 
Returns the correct style for this representation object. If no style is defined for this instance, a default style will be returned. See the createStyle method for the default style rules.

Parameters:
ro - Representation object.

getStyle

IlpStyle getStyle(IlpRepresentationObject ro,
                  IlpAttribute attribute)
Deprecated. 
Return the correct style for this representation object. If no style is defined for this instance, a default style will be returned. See the createStyle method for the default style rules.

Parameters:
ro - Representation object.
attribute - Attribute linked to representation object.

removeStyle

boolean removeStyle(IlpRepresentationObject ro)
Deprecated. 
Remove an instance style from the currently buffered styles. If a style is not removable, the method will return false.

Parameters:
ro - Representation object.
Returns:
Boolean indicating whether the style was removed.

getDefaultStyleManager

IlpStyleManager getDefaultStyleManager()
Deprecated. 
Returns the default style manager used by this configuration.

Generally, this is the Style Manager defined in the application context.



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