|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.infonode.tabbedpanel.border.TabLineBorder
TabAreaLineBorder instead with
TabbedPanelProperties.TAB_SPACING set to -1.
public class TabLineBorder
TabLineBorder draws a 1 pixel wide line around a Tab. If tab spacing in the
tabbed panel is 0 then the border will only draw a single line between two adjacent tabs.
Tab,
TabbedPanel,
Serialized Form| Constructor Summary | |
|---|---|
TabLineBorder()
Deprecated. Constructor. |
|
TabLineBorder(boolean drawBottomLine,
boolean drawTopLine)
Deprecated. Constructs a TabLineBorder that draws lines on two, three or four sides of the tab. |
|
TabLineBorder(java.awt.Color color)
Deprecated. Constructs a TabLineBorder that draws lines on three sides of the tab. |
|
TabLineBorder(java.awt.Color color,
boolean drawBottomLine)
Deprecated. Constructs a TabLineBorder that draws lines on three or four sides of the tab. |
|
TabLineBorder(java.awt.Color color,
boolean drawBottomLine,
boolean drawTopLine)
Deprecated. Constructs a TabLineBorder that draws lines on two, three or four sides of the tab. |
|
TabLineBorder(java.awt.Color color,
javax.swing.border.Border innerBorder)
Deprecated. Constructs a TabLineBorder that draws lines on three sides of the tab. |
|
TabLineBorder(java.awt.Color color,
javax.swing.border.Border innerBorder,
boolean drawBottomLine)
Deprecated. Constructs a TabLineBorder that draws lines on three or four sides of the tab. |
|
TabLineBorder(ColorProvider colorProvider,
boolean drawBottomLine,
boolean drawTopLine)
Deprecated. Constructs a TabLineBorder that draws lines on two, three or four sides of the tab. |
|
TabLineBorder(ColorProvider colorProvider,
javax.swing.border.Border innerBorder,
boolean drawBottomLine,
boolean drawTopLine)
Deprecated. Constructs a TabLineBorder that draws lines on three or four sides of the tab. |
|
| Method Summary | |
|---|---|
java.awt.Insets |
getBorderInsets(java.awt.Component c)
Deprecated. |
boolean |
isBorderOpaque()
Deprecated. |
void |
paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabLineBorder()
public TabLineBorder(java.awt.Color color)
color - the line color
public TabLineBorder(java.awt.Color color,
boolean drawBottomLine)
color - the line colordrawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise false
public TabLineBorder(boolean drawBottomLine,
boolean drawTopLine)
drawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise falsedrawTopLine - true if a line should be drawn on the side opposite to
the tabbed panel's content area, otherwise false
public TabLineBorder(java.awt.Color color,
boolean drawBottomLine,
boolean drawTopLine)
color - the line colordrawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise falsedrawTopLine - true if a line should be drawn on the side opposite to
the tabbed panel's content area, otherwise false
public TabLineBorder(ColorProvider colorProvider,
boolean drawBottomLine,
boolean drawTopLine)
colorProvider - the line color providerdrawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise falsedrawTopLine - true if a line should be drawn on the side opposite to
the tabbed panel's content area, otherwise false
public TabLineBorder(java.awt.Color color,
javax.swing.border.Border innerBorder)
color - the line colorinnerBorder - border to draw inside of this TabLineBorder
public TabLineBorder(java.awt.Color color,
javax.swing.border.Border innerBorder,
boolean drawBottomLine)
color - the line colorinnerBorder - border to draw inside of this TabLineBorderdrawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise false
public TabLineBorder(ColorProvider colorProvider,
javax.swing.border.Border innerBorder,
boolean drawBottomLine,
boolean drawTopLine)
colorProvider - the line colorinnerBorder - border to draw inside of this TabLineBorderdrawBottomLine - true if a line should be drawn on the side towards the
tabbed panel's content area, otherwise falsedrawTopLine - true if a line should be drawn on the side opposite to
the tabbed panel's content area, otherwise false| Method Detail |
|---|
public void paintBorder(java.awt.Component c,
java.awt.Graphics g,
int x,
int y,
int width,
int height)
paintBorder in interface javax.swing.border.Borderpublic java.awt.Insets getBorderInsets(java.awt.Component c)
getBorderInsets in interface javax.swing.border.Borderpublic boolean isBorderOpaque()
isBorderOpaque in interface javax.swing.border.Border
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||