java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.TabbedPaneUI
javax.swing.plaf.basic.BasicTabbedPaneUI
org.gtk.java.swing.plaf.gtk.GtkTabbedPaneUI
- All Implemented Interfaces:
- javax.swing.SwingConstants
- public class GtkTabbedPaneUI
- extends javax.swing.plaf.basic.BasicTabbedPaneUI
- Version:
- 1.41 08/28/98
| Nested classes inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI |
javax.swing.plaf.basic.BasicTabbedPaneUI.FocusHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.MouseHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicTabbedPaneUI.TabbedPaneLayout, javax.swing.plaf.basic.BasicTabbedPaneUI.TabSelectionHandler |
| Fields inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI |
calcRect, contentBorderInsets, downKey, focus, focusListener, highlight, leftKey, lightHighlight, maxTabHeight, maxTabWidth, mouseListener, propertyChangeListener, rects, rightKey, runCount, selectedRun, selectedTabPadInsets, shadow, tabAreaInsets, tabChangeListener, tabInsets, tabPane, tabRunOverlay, tabRuns, textIconGap, upKey |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
|
Method Summary |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent tabbedPane)
This method creates a new BasicTabbedPaneUI. |
protected int |
getTabRunIndent(int tabPlacement,
int run)
This method returns the tab run indent. |
protected int |
getTabRunOverlay(int tabPlacement)
This method returns the tab run overlay. |
protected void |
installDefaults()
This method installs defaults for the Look and Feel. |
protected void |
paintBottomTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintContentBorderBottomEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
This method paints the bottom edge of the content border. |
protected void |
paintContentBorderLeftEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
This method paints the left edge of the content border. |
protected void |
paintContentBorderRightEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
This method paints the right edge of the content border. |
protected void |
paintContentBorderTopEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
This method paints the top edge of the content border. |
protected void |
paintFocusIndicator(java.awt.Graphics g,
int tabPlacement,
java.awt.Rectangle[] rects,
int tabIndex,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected)
This method paints the focus rectangle around the selected tab. |
protected void |
paintLeftTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintRightTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
paintTabBackground(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
This method paints the background for an individual tab. |
protected void |
paintTabBorder(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
This method paints the border for an individual tab. |
protected void |
paintTopTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
protected void |
uninstallDefaults()
This method uninstalls defaults for the Look and Feel. |
| Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI |
assureRectsCreated, calculateMaxTabHeight, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createLayoutManager, createMouseListener, createPropertyChangeListener, expandTabRunsArray, getContentBorderInsets, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabAreaInsets, getTabBounds, getTabBounds, getTabInsets, getTabLabelShiftX, getTabLabelShiftY, getTabRunCount, getTabRunOffset, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, installListeners, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paint, paintContentBorder, paintIcon, paintTab, paintTabArea, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldPadTabRun, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
unselectedTabBackground
protected java.awt.Color unselectedTabBackground
unselectedTabForeground
protected java.awt.Color unselectedTabForeground
unselectedTabShadow
protected java.awt.Color unselectedTabShadow
unselectedTabHighlight
protected java.awt.Color unselectedTabHighlight
mediumShadow
protected java.awt.Color mediumShadow
lightShadow
protected java.awt.Color lightShadow
darkShadow
protected java.awt.Color darkShadow
GtkTabbedPaneUI
public GtkTabbedPaneUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent tabbedPane)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method creates a new BasicTabbedPaneUI.
installDefaults
protected void installDefaults()
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method installs defaults for the Look and Feel.
uninstallDefaults
protected void uninstallDefaults()
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method uninstalls defaults for the Look and Feel.
paintContentBorderTopEdge
protected void paintContentBorderTopEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the top edge of the content border.
paintContentBorderBottomEdge
protected void paintContentBorderBottomEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the bottom edge of the content border.
paintContentBorderRightEdge
protected void paintContentBorderRightEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the right edge of the content border.
paintContentBorderLeftEdge
protected void paintContentBorderLeftEdge(java.awt.Graphics g,
int tabPlacement,
int selectedIndex,
int x,
int y,
int w,
int h)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the left edge of the content border.
paintTabBackground
protected void paintTabBackground(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the background for an individual tab.
paintTopTabBorder
protected void paintTopTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintBottomTabBorder
protected void paintBottomTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintLeftTabBorder
protected void paintLeftTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintRightTabBorder
protected void paintRightTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
paintTabBorder
protected void paintTabBorder(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the border for an individual tab.
paintFocusIndicator
protected void paintFocusIndicator(java.awt.Graphics g,
int tabPlacement,
java.awt.Rectangle[] rects,
int tabIndex,
java.awt.Rectangle iconRect,
java.awt.Rectangle textRect,
boolean isSelected)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method paints the focus rectangle around the selected tab.
getTabRunIndent
protected int getTabRunIndent(int tabPlacement,
int run)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method returns the tab run indent. It is used in WRAP_TAB_LAYOUT and
makes each tab run start indented by a certain amount.
getTabRunOverlay
protected int getTabRunOverlay(int tabPlacement)
- Description copied from class:
javax.swing.plaf.basic.BasicTabbedPaneUI
- This method returns the tab run overlay.