Class TLcdRemoveLayerAction

java.lang.Object
com.luciad.gui.ALcdAction
com.luciad.view.TLcdRemoveLayerAction
All Implemented Interfaces:
ILcdAction, ILcdPropertyChangeSource, ActionListener, Serializable, EventListener

public class TLcdRemoveLayerAction extends ALcdAction implements ILcdAction
This is an ILcdAction that removes a given ILcdLayer from an ILcdLayered..
See Also:
  • Constructor Details

    • TLcdRemoveLayerAction

      public TLcdRemoveLayerAction()
      Default constructor: an ILcdLayered, and an ILcdLayer still must be set.
    • TLcdRemoveLayerAction

      public TLcdRemoveLayerAction(ILcdLayered aLayered, ILcdLayer aLayer)
      Constructor with an ILcdLayered, and an ILcdLayer.
      Parameters:
      aLayered - the layered from which the layer will be removed.
      aLayer - the layer to remove from the layered.
  • Method Details

    • setTraceOn

      public void setTraceOn(boolean aTraceOn)
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Enables tracing for this class instance. Calling this method with either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false then only the informative, warning and error log messages are recorded.
      Overrides:
      setTraceOn in class ALcdAction
      Parameters:
      aTraceOn - if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
    • isTraceOn

      public boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Overrides:
      isTraceOn in class ALcdAction
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • setLayer

      public void setLayer(ILcdLayer aLayer)
      Sets the ILcdLayer aLayer to this ILcdAction.
      Parameters:
      aLayer - the layer that will be removed from the layered when the action is performed.
      See Also:
    • getLayer

      public ILcdLayer getLayer()
      Gets the ILcdLayer associated to this ILcdAction.
      Returns:
      the layer that will be removed from the layered when the action is performed.
      See Also:
    • setLayered

      public void setLayered(ILcdLayered aLayered)
      Sets the ILcdLayered aLayered to this ILcdAction.
      Parameters:
      aLayered - the layered from which the layer will be removed when the action is performed.
      See Also:
    • getLayered

      public ILcdLayered getLayered()
      Returns the layered from which the layer will be removed when the action is performed.
      Returns:
      the layered from which the layer will be removed when the action is performed.
      See Also:
    • actionPerformed

      public void actionPerformed(ActionEvent ae)
      Performs this ILcdAction. A NullPointerException will be thrown if one of the properties is null.
      Specified by:
      actionPerformed in interface ActionListener
      See Also: