Class RadianceButtonBorder

  • All Implemented Interfaces:
    javax.swing.border.Border, javax.swing.plaf.UIResource
    Direct Known Subclasses:
    RadianceSpinnerButton.SpinnerButtonBorder

    public abstract class RadianceButtonBorder
    extends java.lang.Object
    implements javax.swing.border.Border, javax.swing.plaf.UIResource
    Base class for button borders in Radiance look-and-feel. This class is for internal use only.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<?> buttonShaperClass
      The associated button shaper class.
    • Constructor Summary

      Constructors 
      Constructor Description
      RadianceButtonBorder​(java.lang.Class<?> buttonShaperClass)
      Simple constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getButtonShaperClass()
      Returns the associated button shaper class.
      boolean isBorderOpaque()  
      void paintBorder​(java.awt.Component c, java.awt.Graphics g, int x, int y, int width, int height)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.border.Border

        getBorderInsets
    • Field Detail

      • buttonShaperClass

        private java.lang.Class<?> buttonShaperClass
        The associated button shaper class.
    • Constructor Detail

      • RadianceButtonBorder

        public RadianceButtonBorder​(java.lang.Class<?> buttonShaperClass)
        Simple constructor.
        Parameters:
        buttonShaperClass - The associated button shaper class.
    • Method Detail

      • isBorderOpaque

        public boolean isBorderOpaque()
        Specified by:
        isBorderOpaque in interface javax.swing.border.Border
      • paintBorder

        public void paintBorder​(java.awt.Component c,
                                java.awt.Graphics g,
                                int x,
                                int y,
                                int width,
                                int height)
        Specified by:
        paintBorder in interface javax.swing.border.Border
      • getButtonShaperClass

        public java.lang.Class<?> getButtonShaperClass()
        Returns the associated button shaper class.
        Returns:
        The associated button shaper class.