Module java.desktop

Class BasicBorders.ToggleButtonBorder

All Implemented Interfaces:
Serializable, Border, UIResource
Enclosing class:
BasicBorders

public static class BasicBorders.ToggleButtonBorder extends BasicBorders.ButtonBorder
Draws the border around a toggle button.
  • Constructor Details

    • ToggleButtonBorder

      public ToggleButtonBorder(Color shadow, Color darkShadow, Color highlight, Color lightHighlight)
      Constructs a new instance of a ToggleButtonBorder.
      Parameters:
      shadow - a color of shadow
      darkShadow - a color of dark shadow
      highlight - a color of highlight
      lightHighlight - a color of light highlight