Package snap.styler

Class EffectTool

All Implemented Interfaces:
PropChange.DoChange

public class EffectTool extends StylerOwner
Provides a tool for editing Snap Effects.
  • Constructor Details

    • EffectTool

      public EffectTool()
      Creates EffectTool.
  • Method Details

    • getEffectCount

      public int getEffectCount()
      Returns the number of known effects.
    • getEffect

      public Effect getEffect(int anIndex)
      Returns an individual effect at given index.
    • getEffect

      public Effect getEffect()
      Returns the current styler effect.
    • setEffect

      public void setEffect(Effect anEffect)
      Sets the current styler effect.
    • initUI

      protected void initUI()
      Initialize UI panel.
      Overrides:
      initUI in class ViewOwner
    • resetUI

      public void resetUI()
      Reset UI controls from current selection.
      Overrides:
      resetUI in class ViewOwner
    • respondUI

      public void respondUI(ViewEvent anEvent)
      Updates styler from UI controls.
      Overrides:
      respondUI in class ViewOwner
    • getTool

      public StylerOwner getTool(Object anObj)
      Returns the specific tool for a given shape.