ilog.cpl.graphic.views
Interface IlpLayer

All Known Implementing Classes:
IltcLayer

public interface IlpLayer

An IlpLayer is a set of consecutive layers in the same IlvManager.

The functions in this interface must only be called while the IlvManager is locked.

Note: This interface is subject to change in future versions.


Method Summary
 int getEndIndex()
          Returns the current index of the last manager layer in use by this macro-layer, plus one.
 IlvManagerLayer getLayerFor(IlvManager manager, IlpGraphic graphic)
          Returns the right manager layer for a given object.
 int getStartIndex()
          Returns the current index of the first manager layer in use by this macro-layer.
 boolean isVisible(IlvManager manager)
          Returns the visibility of this macro-layer in the manager.
 boolean isVisible(IlvManagerView view)
          Returns the visibility of this macro-layer in a view.
 void setVisible(IlvManager manager, boolean visible)
          Changes the visibility of this macro-layer in the manager.
 void setVisible(IlvManager manager, IlvManagerView view, boolean visible)
          Changes the visibility of this macro-layer in a view.
 

Method Detail

getStartIndex

int getStartIndex()
Returns the current index of the first manager layer in use by this macro-layer.


getEndIndex

int getEndIndex()
Returns the current index of the last manager layer in use by this macro-layer, plus one.


isVisible

boolean isVisible(IlvManager manager)
Returns the visibility of this macro-layer in the manager.


isVisible

boolean isVisible(IlvManagerView view)
Returns the visibility of this macro-layer in a view.


setVisible

void setVisible(IlvManager manager,
                boolean visible)
Changes the visibility of this macro-layer in the manager.


setVisible

void setVisible(IlvManager manager,
                IlvManagerView view,
                boolean visible)
Changes the visibility of this macro-layer in a view.


getLayerFor

IlvManagerLayer getLayerFor(IlvManager manager,
                            IlpGraphic graphic)
Returns the right manager layer for a given object.



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