Package snap.view

Class Separator

All Implemented Interfaces:
PropChange.DoChange, XMLArchiver.Archivable

public class Separator extends View
This class provides a RM shape/inspector for editing JSeparator.
  • Constructor Details

    • Separator

      public Separator()
  • Method Details

    • paintFront

      protected void paintFront(Painter aPntr)
      Override to wrap in Painter and forward.
      Overrides:
      paintFront in class View
    • getPrefWidthImpl

      protected double getPrefWidthImpl(double aH)
      Override to return default preferred width.
      Overrides:
      getPrefWidthImpl in class View
    • getPrefHeightImpl

      protected double getPrefHeightImpl(double aW)
      Override to return default preferred height.
      Overrides:
      getPrefHeightImpl in class View