|
||||||||||
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 com.cosylab.gui.components.util.CosyUIElements.PlainTabbedPaneUI
public static final class CosyUIElements.PlainTabbedPaneUI
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 no
border.
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.PlainTabbedPaneUI()
|
Method Summary | |
---|---|
protected java.awt.Insets |
getContentBorderInsets(int tabPlacement)
|
protected void |
paintContentBorder(java.awt.Graphics g,
int tabPlacement,
int selectedIndex)
|
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 com.cosylab.gui.components.util.CosyUIElements.FlushTabbedPaneUI |
---|
getTabAreaInsets, paintFocusIndicator, paintTabBackground |
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, 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.PlainTabbedPaneUI()
Method Detail |
---|
protected java.awt.Insets getContentBorderInsets(int tabPlacement)
getContentBorderInsets
in class CosyUIElements.FlushTabbedPaneUI
BasicTabbedPaneUI.getContentBorderInsets(int)
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 CosyUIElements.FlushTabbedPaneUI
MetalTabbedPaneUI.paintTopTabBorder(int, Graphics, int, int, int, int, int, int, boolean)
protected void paintContentBorder(java.awt.Graphics g, int tabPlacement, int selectedIndex)
paintContentBorder
in class javax.swing.plaf.basic.BasicTabbedPaneUI
BasicTabbedPaneUI.paintContentBorder(Graphics, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |