All Implemented Interfaces:
MenuContributor, Command

public class TransparencyEditor extends AnnotationPropertyEditor
  • Constructor Details

    • TransparencyEditor

      public TransparencyEditor()
  • Method Details

    • execute

      protected void execute()
      Description copied from class: InjectedCommand
      This method is called in order to execute the command. It is only called, after the arguments have been validated and injected and only if InjectedCommand.canExecute() has returned true.
      execute in class AnnotationPropertyEditor
    • setAlpha

      public void setAlpha(float alpha)
    • setEnableFillColor

      public void setEnableFillColor(boolean enableFillColor)
    • setEnableStrokeColor

      public void setEnableStrokeColor(boolean enableStrokeColor)
    • getAlphaFillColor

      public Double getAlphaFillColor()
    • setAlphaFillColor

      public void setAlphaFillColor(Double alphaFillColor)
    • getAlphaStrokeColor

      public Double getAlphaStrokeColor()
    • setAlphaStrokeColor

      public void setAlphaStrokeColor(Double alphaStrokeColor)
    • isTransparent

      protected boolean isTransparent(ShapeBasedAnnotation a)
    • setTransparent

      protected void setTransparent(ShapeBasedAnnotation a, boolean enabled)
    • isSelected

      protected boolean isSelected()
      Description copied from class: InjectedCommand
      Returns the selected state of this command. This is typically used only for commands with a meaningful selection state.
      isSelected in class InjectedCommand
      the selected state