|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.ComponentUI javax.swing.plaf.TabbedPaneUI javax.swing.plaf.basic.BasicTabbedPaneUI javax.swing.plaf.metal.MetalTabbedPaneUI com.cosylab.gui.components.util.CosyUIElements.FlushTabbedPaneUI
public static class CosyUIElements.FlushTabbedPaneUI
A class implementing the user interface of a JTabbedPane
.
It assumes that the tabs are situated at the top of the pane,
and that the components contained inside the tabbed pane have a
PanelFlushBorder
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.plaf.metal.MetalTabbedPaneUI |
---|
javax.swing.plaf.metal.MetalTabbedPaneUI.TabbedPaneLayout |
Nested classes/interfaces 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.TabSelectionHandler |
Field Summary |
---|
Fields inherited from class javax.swing.plaf.metal.MetalTabbedPaneUI |
---|
minTabWidth, selectColor, selectHighlight, tabAreaBackground |
Fields inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI |
---|
calcRect, contentBorderInsets, darkShadow, 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 |
Constructor Summary | |
---|---|
CosyUIElements.FlushTabbedPaneUI()
|
Method Summary | |
---|---|
protected java.awt.Insets |
getContentBorderInsets(int tabPlacement)
|
protected java.awt.Insets |
getTabAreaInsets(int tabPlacement)
|
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)
|
protected void |
paintTabBackground(java.awt.Graphics g,
int tabPlacement,
int tabIndex,
int x,
int y,
int w,
int h,
boolean isSelected)
|
protected void |
paintTopTabBorder(int tabIndex,
java.awt.Graphics g,
int x,
int y,
int w,
int h,
int btm,
int rght,
boolean isSelected)
|
Methods inherited from class javax.swing.plaf.metal.MetalTabbedPaneUI |
---|
calculateMaxTabHeight, createLayoutManager, createUI, getBaselineOffset, getColorForGap, getTabLabelShiftX, getTabLabelShiftY, getTabRunOverlay, installDefaults, paint, paintBottomTabBorder, paintContentBorderBottomEdge, paintContentBorderLeftEdge, paintContentBorderRightEdge, paintContentBorderTopEdge, paintHighlightBelowTab, paintLeftTabBorder, paintRightTabBorder, paintTabBorder, shouldFillGap, shouldPadTabRun, shouldRotateTabRuns, update |
Methods inherited from class javax.swing.plaf.basic.BasicTabbedPaneUI |
---|
assureRectsCreated, calculateMaxTabWidth, calculateTabAreaHeight, calculateTabAreaWidth, calculateTabHeight, calculateTabWidth, createChangeListener, createFocusListener, createMouseListener, createPropertyChangeListener, createScrollButton, expandTabRunsArray, getBaseline, getBaseline, getBaselineResizeBehavior, getFocusIndex, getFontMetrics, getIconForTab, getMaximumSize, getMinimumSize, getNextTabIndex, getNextTabIndexInRun, getNextTabRun, getPreviousTabIndex, getPreviousTabIndexInRun, getPreviousTabRun, getRolloverTab, getRunForTab, getSelectedTabPadInsets, getTabBounds, getTabBounds, getTabInsets, getTabRunCount, getTabRunIndent, getTabRunOffset, getTextViewForTab, getVisibleComponent, installComponents, installKeyboardActions, installListeners, installUI, lastTabInRun, layoutLabel, navigateSelectedTab, paintContentBorder, paintIcon, paintTab, paintTabArea, paintText, rotateInsets, selectAdjacentRunTab, selectNextTab, selectNextTabInRun, selectPreviousTab, selectPreviousTabInRun, setRolloverTab, setVisibleComponent, shouldRotateTabRuns, tabForCoordinate, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getPreferredSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CosyUIElements.FlushTabbedPaneUI()
Method Detail |
---|
protected java.awt.Insets getContentBorderInsets(int tabPlacement)
getContentBorderInsets
in class javax.swing.plaf.basic.BasicTabbedPaneUI
BasicTabbedPaneUI.getContentBorderInsets(int)
protected java.awt.Insets getTabAreaInsets(int tabPlacement)
getTabAreaInsets
in class javax.swing.plaf.basic.BasicTabbedPaneUI
BasicTabbedPaneUI.getTabAreaInsets(int)
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)
paintFocusIndicator
in class javax.swing.plaf.metal.MetalTabbedPaneUI
BasicTabbedPaneUI.paintFocusIndicator(Graphics, int, Rectangle[], int, Rectangle, Rectangle, boolean)
protected void paintTopTabBorder(int tabIndex, java.awt.Graphics g, int x, int y, int w, int h, int btm, int rght, boolean isSelected)
paintTopTabBorder
in class javax.swing.plaf.metal.MetalTabbedPaneUI
MetalTabbedPaneUI.paintTopTabBorder(int, Graphics, int, int, int, int, int, int, boolean)
protected void paintTabBackground(java.awt.Graphics g, int tabPlacement, int tabIndex, int x, int y, int w, int h, boolean isSelected)
paintTabBackground
in class javax.swing.plaf.metal.MetalTabbedPaneUI
BasicTabbedPaneUI.paintTabBackground(Graphics, int, int, int, int, int, int, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |