| java.lang.Object net.infonode.tabbedpanel.border.OpenContentBorder
OpenContentBorder | public class OpenContentBorder implements Border,Serializable(Code) | |
OpenContentBorder is a border that draws a 1 pixel wide line border around a
component that is used as content area component in a tabbed panel. The border
also optionally draws a highlight inside the line on the top and left sides of the
component. It is open, i.e. no content border will be drawn where the highlighted
tab in the tabbed panel is located.
If the highlighted tab has a
net.infonode.gui.shaped.border.ShapedBorder its
shape will be used to calculate where the OpenContentBorder should be open.
author: $Author: johan $ version: $Revision: 1.29 $ See Also: TabbedPanel |
OpenContentBorder | public OpenContentBorder(Color color, int tabLeftInset)(Code) | | Constructor.
Parameters: color - the line color Parameters: tabLeftInset - the left border inset of the tab |
OpenContentBorder | public OpenContentBorder()(Code) | | Constructor. Uses the TabbedPane.darkShadow color from the UIManager as line color.
|
OpenContentBorder | public OpenContentBorder(Color color)(Code) | | Constructs a OpenContentBorder without highlight and with the given color as line
color.
Parameters: color - the line color |
OpenContentBorder | public OpenContentBorder(Color color, Color highlightColor)(Code) | | Constructs a OpenContentBorder with highlight and with the given colors as line
color and highlight color.
Parameters: color - the line color Parameters: highlightColor - the highlight color |
OpenContentBorder | public OpenContentBorder(ColorProvider lineColor, ColorProvider highlightColorProvider, int tabLeftInset)(Code) | | Constructs a OpenContentBorder with highlight and with the given colors as line
color and highlight color.
Parameters: lineColor - the line color provider Parameters: highlightColorProvider - the highlight color provider Parameters: tabLeftInset - the left border inset of the tab |
OpenContentBorder | public OpenContentBorder(ColorProvider topLeftLineColor, ColorProvider bottomRightLineColor, ColorProvider highlightColorProvider, int tabLeftInset)(Code) | | Constructs a OpenContentBorder with highlight and with the given colors as line
color and highlight color.
Parameters: topLeftLineColor - the line color provider for the top and left lines Parameters: bottomRightLineColor - the line color provider for the bottom and right lines Parameters: highlightColorProvider - the highlight color provider Parameters: tabLeftInset - the left border inset of the tab |
isBorderOpaque | public boolean isBorderOpaque()(Code) | | |
|
|