Class Rule

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class Rule
extends JComponent
See Also:
Serialized Form
  • Field Details

    • INCH

      public static final int INCH
    • HORIZONTAL

      public static final int HORIZONTAL
      See Also:
      Constant Field Values
    • VERTICAL

      public static final int VERTICAL
      See Also:
      Constant Field Values
    • SIZE

      public static final int SIZE
      See Also:
      Constant Field Values
    • orientation

      public int orientation
    • isMetric

      public boolean isMetric
  • Constructor Details

    • Rule

      public Rule​(int o, boolean m)
  • Method Details

    • setIsMetric

      public void setIsMetric​(boolean isMetric)
    • isMetric

      public boolean isMetric()
    • getIncrement

      public int getIncrement()
    • setPreferredHeight

      public void setPreferredHeight​(int ph)
    • setPreferredWidth

      public void setPreferredWidth​(int pw)