private static final class PlasticTabbedPaneUI.BottomEmbeddedRenderer extends PlasticTabbedPaneUI.AbstractRenderer
darkShadow, EAST_INSETS, EMPTY_INSETS, focus, lightHighlight, NORTH_INSETS, selectColor, selectHighlight, selectLight, shadowColor, SOUTH_INSETS, tabPane, tabPlacement, WEST_INSETS| Modifier | Constructor and Description |
|---|---|
private |
BottomEmbeddedRenderer(javax.swing.JTabbedPane tabPane) |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Insets |
getContentBorderInsets(java.awt.Insets defaultInsets) |
protected java.awt.Insets |
getSelectedTabPadInsets()
Returns additional the insets for the selected tab.
|
protected java.awt.Insets |
getTabAreaInsets(java.awt.Insets insets) |
protected java.awt.Insets |
getTabInsets(int tabIndex,
java.awt.Insets tabInsets)
Returns the insets for the given tab.
|
protected void |
paintContentBorderBottomEdge(java.awt.Graphics g,
int x,
int y,
int w,
int h,
boolean drawBroken,
java.awt.Rectangle selRect,
boolean isContentBorderPainted)
Draws the bottom edge of the Border around the content area.
|
protected void |
paintFocusIndicator(java.awt.Graphics g,
java.awt.Rectangle[] rects,
int tabIndex,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected)
Paints no focus: minimal decoration is really minimal.
|
protected void |
paintTabBackground(java.awt.Graphics g,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
Fills the background of the given tab to make sure overlap of
tabs is handled correctly.
|
protected void |
paintTabBorder(java.awt.Graphics g,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
Paints the border around the given tab.
|
getTabLabelShiftX, getTabLabelShiftY, getTabRunIndent, getTabRunOverlay, getTabsOverlay, isFirstDisplayedTab, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, shouldPadTabRunprivate BottomEmbeddedRenderer(javax.swing.JTabbedPane tabPane)
protected java.awt.Insets getTabAreaInsets(java.awt.Insets insets)
getTabAreaInsets in class PlasticTabbedPaneUI.AbstractRendererprotected java.awt.Insets getContentBorderInsets(java.awt.Insets defaultInsets)
getContentBorderInsets in class PlasticTabbedPaneUI.AbstractRendererprotected java.awt.Insets getSelectedTabPadInsets()
PlasticTabbedPaneUI.AbstractRenderergetSelectedTabPadInsets in class PlasticTabbedPaneUI.AbstractRendererprotected java.awt.Insets getTabInsets(int tabIndex,
java.awt.Insets tabInsets)
PlasticTabbedPaneUI.AbstractRenderergetTabInsets in class PlasticTabbedPaneUI.AbstractRendererprotected void paintFocusIndicator(java.awt.Graphics g,
java.awt.Rectangle[] rects,
int tabIndex,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected)
paintFocusIndicator in class PlasticTabbedPaneUI.AbstractRendererprotected void paintTabBackground(java.awt.Graphics g,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
PlasticTabbedPaneUI.AbstractRendererpaintTabBackground in class PlasticTabbedPaneUI.AbstractRendererprotected void paintTabBorder(java.awt.Graphics g,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
PlasticTabbedPaneUI.AbstractRendererpaintTabBorder in class PlasticTabbedPaneUI.AbstractRendererprotected void paintContentBorderBottomEdge(java.awt.Graphics g,
int x,
int y,
int w,
int h,
boolean drawBroken,
java.awt.Rectangle selRect,
boolean isContentBorderPainted)
PlasticTabbedPaneUI.AbstractRendererpaintContentBorderBottomEdge in class PlasticTabbedPaneUI.AbstractRenderer