Class TabHighlightBorder

java.lang.Object
net.infonode.tabbedpanel.border.TabHighlightBorder
All Implemented Interfaces:
Serializable, Border

public class TabHighlightBorder extends Object implements Border, Serializable
TabHighlightBorder draws a 1 pixel wide highlight on the top and left side of the tab. It will not draw highlight on the side towards a TabbedPanel's content area if the border is constructed with open border.
See Also:
  • Constructor Details

    • TabHighlightBorder

      public TabHighlightBorder()
      Constructs a TabHighlightBorder that acts as an empty border, i.e. no highlight is drawn but it will report the same insets as if the highlight was drawn
    • TabHighlightBorder

      public TabHighlightBorder(Color color, boolean openBorder)
      Constructs a TabHighlightBorder with the given color as highlight color
      Parameters:
      color - the highlight color
      openBorder - when true, no highlighting is drawn on the side towards a TabbedPanel's content area, otherwise false
    • TabHighlightBorder

      public TabHighlightBorder(ColorProvider colorProvider, boolean openBorder)
      Constructs a TabHighlightBorder with the given color as highlight color
      Parameters:
      colorProvider - the highlight color provider
      openBorder - when true, no highlighting is drawn on the side towards a TabbedPanel's content area, otherwise false
  • Method Details