Class MetalTaskPaneUI.MetalPaneBorder

java.lang.Object
org.jdesktop.swingx.plaf.basic.BasicTaskPaneUI.PaneBorder
org.jdesktop.swingx.plaf.metal.MetalTaskPaneUI.MetalPaneBorder
All Implemented Interfaces:
Border, UIResource
Enclosing class:
MetalTaskPaneUI

class MetalTaskPaneUI.MetalPaneBorder extends BasicTaskPaneUI.PaneBorder
The border of the task pane group paints the "text", the "icon", the "expanded" status and the "special" type.
  • Constructor Details

    • MetalPaneBorder

      MetalPaneBorder()
  • Method Details

    • paintExpandedControls

      protected void paintExpandedControls(JXTaskPane group, Graphics g, int x, int y, int width, int height)
      Description copied from class: BasicTaskPaneUI.PaneBorder
      Paints expanded controls. Default implementation does nothing.
      Overrides:
      paintExpandedControls in class BasicTaskPaneUI.PaneBorder
      Parameters:
      group - Expanded group.
      g - Target graphics.
      x - X coordinate of the top left corner.
      y - Y coordinate of the top left corner.
      width - Width of the box.
      height - Height of the box.
    • isMouseOverBorder

      protected boolean isMouseOverBorder()
      Description copied from class: BasicTaskPaneUI.PaneBorder
      Default implementation returns false.
      Overrides:
      isMouseOverBorder in class BasicTaskPaneUI.PaneBorder
      Returns:
      true if this border wants to display things differently when the mouse is over it