Class GradientTabAreaBorder

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

public class GradientTabAreaBorder extends Object implements Border, Serializable
Paints a gradient background for a tab area component. The background blends from one color on the component edge opposite to the tabbed panel content panel to the another color on the component edge closest to the tabbed panel content panel.
Since:
ITP 1.1.0
See Also:
  • Constructor Details

    • GradientTabAreaBorder

      public GradientTabAreaBorder(Color topColor)
      Creates a border where the color of the component edge closest to the tabben panel content panel will be the default control color.
      Parameters:
      topColor - the color of the component edge opposite to the tabbed panel content panel
    • GradientTabAreaBorder

      public GradientTabAreaBorder(Color topColor, Color bottomColor)
      Constructor.
      Parameters:
      topColor - the color of the component edge opposite to the tabbed panel content panel
      bottomColor - the color of the component edge closest to the tabbed panel content panel
    • GradientTabAreaBorder

      public GradientTabAreaBorder(ColorProvider topColorProvider, ColorProvider bottomColorProvider)
      Constructor.
      Parameters:
      topColorProvider - provides the color of the component edge opposite to the tabbed panel content panel
      bottomColorProvider - provides the color of the component edge closest to the tabbed panel content panel
  • Method Details