Package snap.styler

Class ShadowEffectTool.OffsetPanel

java.lang.Object
snap.props.PropObject
snap.view.View
snap.styler.ShadowEffectTool.OffsetPanel
All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable
Enclosing class:
ShadowEffectTool

public static class ShadowEffectTool.OffsetPanel extends View
Implements a simple control to edit shadow position.
  • Constructor Details

    • OffsetPanel

      public OffsetPanel()
      Creates offset panel.
  • Method Details

    • processEvent

      protected void processEvent(ViewEvent e)
      Handle Events.
      Overrides:
      processEvent in class View
    • getDX

      public int getDX()
      Return offset X.
    • getDY

      public int getDY()
      Return offset Y.
    • paintFront

      public void paintFront(Painter aPntr)
      Paint component.
      Overrides:
      paintFront in class View