Package com.jidesoft.plaf.metal
Class MetalPainter
- java.lang.Object
-
- com.jidesoft.plaf.basic.BasicPainter
-
- com.jidesoft.plaf.metal.MetalPainter
-
- All Implemented Interfaces:
ThemePainter
,javax.swing.SwingConstants
public class MetalPainter extends BasicPainter
Painter for Metal L&F. Please note, this class is an internal class which is meant to be used by other JIDE classes only. Future version might break your build if you use it.
-
-
Field Summary
-
Fields inherited from class com.jidesoft.plaf.basic.BasicPainter
_bk0, _bk1, _bk2, _bk3, _borderColor, ARROW_TEXT_GAP, H_GAP, V_GAP
-
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
-
Fields inherited from interface com.jidesoft.plaf.basic.ThemePainter
STATE_DEFAULT, STATE_DISABLE, STATE_DISABLE_ROLLOVER, STATE_DISABLE_SELECTED, STATE_INACTIVE_ROLLOVER, STATE_PRESSED, STATE_ROLLOVER, STATE_SELECTED
-
-
Constructor Summary
Constructors Constructor Description MetalPainter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThemePainter
getInstance()
void
paintDockableFrameTitlePane(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)
void
paintGripper(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)
-
Methods inherited from class com.jidesoft.plaf.basic.BasicPainter
fillBackground, getBackgroundDk, getBackgroundLt, getCollapsiblePaneContentBackground, getCollapsiblePaneDownIcon, getCollapsiblePaneDownIconEmphasized, getCollapsiblePaneDownMask, getCollapsiblePaneFocusTitleForeground, getCollapsiblePaneFocusTitleForegroundEmphasized, getCollapsiblePaneTitleButtonBackground, getCollapsiblePaneTitleButtonBackgroundEmphasized, getCollapsiblePaneTitleForeground, getCollapsiblePaneTitleForegroundEmphasized, getCollapsiblePaneUpIcon, getCollapsiblePaneUpIconEmphasized, getCollapsiblePaneUpMask, getColor, getCommandBarTitleBarBackground, getControl, getControlDk, getControlLt, getControlShadow, getDockableFrameTitleBarActiveForeground, getDockableFrameTitleBarInactiveForeground, getGripperForeground, getGripperForegroundLt, getMenuItemBackground, getMenuItemBorderColor, getOptionPaneBannerDk, getOptionPaneBannerForeground, getOptionPaneBannerLt, getSelectionSelectedDk, getSelectionSelectedLt, getSeparatorForeground, getSeparatorForegroundLt, getSortableTableHeaderColumnCellDecoratorInsets, getTabAreaBackgroundDk, getTabAreaBackgroundLt, getTabbedPaneSelectDk, getTabbedPaneSelectLt, getTitleBarBackground, installDefaults, paintBackground, paintButtonBackground, paintButtonBackground, paintChevronBackground, paintChevronMore, paintChevronOption, paintCollapsiblePanesBackground, paintCollapsiblePaneTitlePaneBackground, paintCollapsiblePaneTitlePaneBackgroundEmphasized, paintCollapsiblePaneTitlePaneBackgroundPlain, paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized, paintCollapsiblePaneTitlePaneBackgroundSeparator, paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized, paintCommandBarBackground, paintCommandBarTitlePane, paintContentBackground, paintDividerBackground, paintDockableFrameBackground, paintFloatingChevronOption, paintFloatingCommandBarBackground, paintHeaderBoxBackground, paintMenuItemBackground, paintMenuItemBackground, paintMenuShadow, paintPopupMenuSeparator, paintSelectedMenu, paintSidePaneItemBackground, paintSortableTableHeaderColumn, paintStatusBarBackground, paintStatusBarSeparator, paintTabAreaBackground, paintTabBackground, paintTabContentBorder, paintToolBarSeparator, shouldDisplayOnTop, uninstallDefaults
-
-
-
-
Method Detail
-
getInstance
public static ThemePainter getInstance()
-
paintGripper
public void paintGripper(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)
- Specified by:
paintGripper
in interfaceThemePainter
- Overrides:
paintGripper
in classBasicPainter
-
paintDockableFrameTitlePane
public void paintDockableFrameTitlePane(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)
- Specified by:
paintDockableFrameTitlePane
in interfaceThemePainter
- Overrides:
paintDockableFrameTitlePane
in classBasicPainter
-
-