Class DrawingCommand

java.lang.Object
ucar.unidata.idv.control.drawing.DrawingCommand
Direct Known Subclasses:
GlyphCreatorCommand

public class DrawingCommand extends Object
Class DrawingCommand.
Version:
$Revision: 1.7 $
Author:
IDV Development Team
  • Constructor Details

    • DrawingCommand

      public DrawingCommand()
      ctor
    • DrawingCommand

      public DrawingCommand(String label, String message, String iconPath)
      ctor
      Parameters:
      label - Label
      message - Message
      iconPath - Toolbar icon
    • DrawingCommand

      public DrawingCommand(String label, String message, String iconPath, int flags)
      ctor
      Parameters:
      label - Label
      message - Message
      iconPath - Toolbar icon
      flags - Flags
  • Method Details

    • isCapable

      public boolean isCapable(int mask)
      Is this command capable of the task defined in mask
      Parameters:
      mask - The mask
      Returns:
      Is capable
    • equals

      public boolean equals(Object o)
      Equals
      Overrides:
      equals in class Object
      Parameters:
      o - Object
      Returns:
      Is equals
    • setIconPath

      public void setIconPath(String value)
      Set the IconPath property.
      Parameters:
      value - The new value for IconPath
    • getIconPath

      public String getIconPath()
      Get the IconPath property.
      Returns:
      The IconPath
    • setLabel

      public void setLabel(String value)
      Set the Label property.
      Parameters:
      value - The new value for Label
    • getLabel

      public String getLabel()
      Get the Label property.
      Returns:
      The Label
    • setMessage

      public void setMessage(String value)
      Set the Message property.
      Parameters:
      value - The new value for Message
    • getMessage

      public String getMessage()
      Get the Message property.
      Returns:
      The Message
    • setFlags

      public void setFlags(int value)
      Set the Flags property.
      Parameters:
      value - The new value for Flags
    • getFlags

      public int getFlags()
      Get the Flags property.
      Returns:
      The Flags