Class TLcyLayerContext

java.lang.Object
com.luciad.lucy.util.context.TLcyLayerContext

public class TLcyLayerContext extends Object
This context object defines everything related to a layer, more specifically the ILcdView in which it is displayed.

This class if for example used by the Layer Properties action. This action creates instances of this class, and creates a customizer panel for it using the factories available as service.

  • Constructor Details

    • TLcyLayerContext

      public TLcyLayerContext(ILcdLayer aLayer, ILcdView aView)
      Creates a new context object.
      Parameters:
      aLayer - The ILcdLayer for which this object provides context.
      aView - The ILcdView in which aLayer is displayed. This may be null if this information is not available.
  • Method Details

    • getLayer

      public ILcdLayer getLayer()
      Returns the ILcdLayer for which this object provides the context.
      Returns:
      The ILcdLayer for which this object provides the context. This will never be null.
    • getView

      public ILcdView getView()
      Returns the ILcdView in which this layer is displayed.
      Returns:
      The ILcdView in which this layer is displayed. This may be null.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object