net.infonode.tabbedpanel.border
public class TabLineBorder extends Object implements Border, Serializable
Deprecated: As of ITP 1.2.0 use {@link TabAreaLineBorder} instead with {@link net.infonode.tabbedpanel.TabbedPanelProperties#TAB_SPACING} set to -1.
TabLineBorder draws a 1 pixel wide line around a {@link Tab}. If tab spacing in the tabbed panel is 0 then the border will only draw a single line between two adjacent tabs.Version: $Revision: 1.27 $
See Also: Tab TabbedPanel
Constructor Summary | |
---|---|
TabLineBorder()
Constructor. | |
TabLineBorder(Color color)
Constructs a TabLineBorder that draws lines on three sides of the tab.
| |
TabLineBorder(Color color, boolean drawBottomLine)
Constructs a TabLineBorder that draws lines on three or four sides of the tab.
| |
TabLineBorder(boolean drawBottomLine, boolean drawTopLine)
Constructs a TabLineBorder that draws lines on two, three or four sides of the
tab.
| |
TabLineBorder(Color color, boolean drawBottomLine, boolean drawTopLine)
Constructs a TabLineBorder that draws lines on two, three or four sides of the
tab.
| |
TabLineBorder(ColorProvider colorProvider, boolean drawBottomLine, boolean drawTopLine)
Constructs a TabLineBorder that draws lines on two, three or four sides of the
tab.
| |
TabLineBorder(Color color, Border innerBorder)
Constructs a TabLineBorder that draws lines on three sides of the tab.
| |
TabLineBorder(Color color, Border innerBorder, boolean drawBottomLine)
Constructs a TabLineBorder that draws lines on three or four sides of the tab.
| |
TabLineBorder(ColorProvider colorProvider, Border innerBorder, boolean drawBottomLine, boolean drawTopLine)
Constructs a TabLineBorder that draws lines on three or four sides of the tab.
|
Method Summary | |
---|---|
Insets | getBorderInsets(Component c) |
boolean | isBorderOpaque() |
void | paintBorder(Component c, Graphics g, int x, int y, int width, int height) |
Parameters: color the line color
Parameters: color the line color drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false
Parameters: drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false drawTopLine true if a line should be drawn on the side opposite to the tabbed panel's content area, otherwise false
Parameters: color the line color drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false drawTopLine true if a line should be drawn on the side opposite to the tabbed panel's content area, otherwise false
Parameters: colorProvider the line color provider drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false drawTopLine true if a line should be drawn on the side opposite to the tabbed panel's content area, otherwise false
Parameters: color the line color innerBorder border to draw inside of this TabLineBorder
Parameters: color the line color innerBorder border to draw inside of this TabLineBorder drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false
Parameters: colorProvider the line color innerBorder border to draw inside of this TabLineBorder drawBottomLine true if a line should be drawn on the side towards the tabbed panel's content area, otherwise false drawTopLine true if a line should be drawn on the side opposite to the tabbed panel's content area, otherwise false