private static final class PlasticTabbedPaneUI.TopEmbeddedRenderer 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 |
TopEmbeddedRenderer(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 |
paintContentBorderTopEdge(java.awt.Graphics g,
int x,
int y,
int w,
int h,
boolean drawBroken,
java.awt.Rectangle selRect,
boolean isContentBorderPainted)
Draws the top 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)
Minimal decoration: no focus.
|
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, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, shouldPadTabRunprotected 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 getTabInsets(int tabIndex,
java.awt.Insets tabInsets)
PlasticTabbedPaneUI.AbstractRenderergetTabInsets in class PlasticTabbedPaneUI.AbstractRendererprotected java.awt.Insets getSelectedTabPadInsets()
PlasticTabbedPaneUI.AbstractRenderergetSelectedTabPadInsets 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 paintContentBorderTopEdge(java.awt.Graphics g,
int x,
int y,
int w,
int h,
boolean drawBroken,
java.awt.Rectangle selRect,
boolean isContentBorderPainted)
PlasticTabbedPaneUI.AbstractRendererpaintContentBorderTopEdge in class PlasticTabbedPaneUI.AbstractRenderer