ilog.tgo.composite
Class IltcLayerPolicy

java.lang.Object
  extended by ilog.tgo.composite.IltcLayerPolicy
Direct Known Subclasses:
IltLayerPolicy

public abstract class IltcLayerPolicy
extends Object

This class determines the layer in which a composite object is placed, unless a layer is specified explicitly. An instance of this class is associated with every IltcCompositeManager instance.

Deprecated. Please use class IltLayerPolicy instead.

Since:
JTGO 1.0

Constructor Summary
IltcLayerPolicy()
          Default constructor.
 
Method Summary
abstract  void attach(IltcCompositeManager mgr)
           
abstract  void detach(IltcCompositeManager mgr)
           
 IlpLayer getDefaultLayer(IlpGraphic graphic)
           
abstract  IltcLayer getDefaultLayer(IltcCompositeGraphic graphic)
          Returns the default layer to be used when adding a composite object to the manager.
 IltcLayer getElementLayer(IltcCompositeGraphic graphic, ilog.tgo.composite.internal.IltcGraphicElement g)
          Deprecated.  
 IlvManagerLayer getSubNetworkLayer()
          Returns the layer to be used for subgraphers or null if not available.
abstract  boolean isRemovable(IltcLayer layer)
          Returns true if the specified layer is free to be removed from the manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltcLayerPolicy

public IltcLayerPolicy()
Default constructor.

Since:
JTGO 1.0
Method Detail

getDefaultLayer

public abstract IltcLayer getDefaultLayer(IltcCompositeGraphic graphic)
Returns the default layer to be used when adding a composite object to the manager.

Internal method or field: do not use!

isRemovable

public abstract boolean isRemovable(IltcLayer layer)
Returns true if the specified layer is free to be removed from the manager.

Internal method or field: do not use!

getSubNetworkLayer

public IlvManagerLayer getSubNetworkLayer()
Returns the layer to be used for subgraphers or null if not available.

Internal method or field: do not use!

getDefaultLayer

public IlpLayer getDefaultLayer(IlpGraphic graphic)
Internal method or field: do not use!

getElementLayer

public IltcLayer getElementLayer(IltcCompositeGraphic graphic,
                                 ilog.tgo.composite.internal.IltcGraphicElement g)
Deprecated. 

Returns the layer to be used for a specific graphic element, part of a composite object. null means to use the composite object's layer.

Internal method or field: do not use!
Deprecated Since:
JTGO 1.1

attach

public abstract void attach(IltcCompositeManager mgr)
Internal method or field: do not use!

detach

public abstract void detach(IltcCompositeManager mgr)
Internal method or field: do not use!


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