Package com.jidesoft.plaf.eclipse
Class EclipsePainter
- java.lang.Object
-
- com.jidesoft.plaf.basic.BasicPainter
-
- com.jidesoft.plaf.eclipse.EclipsePainter
-
- All Implemented Interfaces:
ThemePainter,javax.swing.SwingConstants
public class EclipsePainter extends BasicPainter
Painter for Eclipse 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 Modifier and Type Field Description protected java.awt.Color_darkShadowColorprotected java.awt.Color_highlightprotected java.awt.Color_lightHighlightColorprotected java.awt.Color_shadowColor-
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 Modifier Constructor Description protectedEclipsePainter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ThemePaintergetInstance()voidpaintButtonBackground(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)voidpaintDockableFrameTitlePane(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)voidpaintGripper(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)voidpaintSelectedMenu(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)voidpaintToolBarSeparator(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, paintChevronBackground, paintChevronMore, paintChevronOption, paintCollapsiblePanesBackground, paintCollapsiblePaneTitlePaneBackground, paintCollapsiblePaneTitlePaneBackgroundEmphasized, paintCollapsiblePaneTitlePaneBackgroundPlain, paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized, paintCollapsiblePaneTitlePaneBackgroundSeparator, paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized, paintCommandBarBackground, paintCommandBarTitlePane, paintContentBackground, paintDividerBackground, paintDockableFrameBackground, paintFloatingChevronOption, paintFloatingCommandBarBackground, paintHeaderBoxBackground, paintMenuItemBackground, paintMenuItemBackground, paintMenuShadow, paintPopupMenuSeparator, paintSidePaneItemBackground, paintSortableTableHeaderColumn, paintStatusBarBackground, paintStatusBarSeparator, paintTabAreaBackground, paintTabBackground, paintTabContentBorder, shouldDisplayOnTop, uninstallDefaults
-
-
-
-
Method Detail
-
getInstance
public static ThemePainter getInstance()
-
paintButtonBackground
public void paintButtonBackground(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)- Specified by:
paintButtonBackgroundin interfaceThemePainter- Overrides:
paintButtonBackgroundin classBasicPainter
-
paintSelectedMenu
public void paintSelectedMenu(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)- Specified by:
paintSelectedMenuin interfaceThemePainter- Overrides:
paintSelectedMenuin classBasicPainter
-
paintGripper
public void paintGripper(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)- Specified by:
paintGripperin interfaceThemePainter- Overrides:
paintGripperin classBasicPainter
-
paintDockableFrameTitlePane
public void paintDockableFrameTitlePane(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)- Specified by:
paintDockableFrameTitlePanein interfaceThemePainter- Overrides:
paintDockableFrameTitlePanein classBasicPainter
-
paintToolBarSeparator
public void paintToolBarSeparator(javax.swing.JComponent c, java.awt.Graphics g, java.awt.Rectangle rect, int orientation, int state)- Specified by:
paintToolBarSeparatorin interfaceThemePainter- Overrides:
paintToolBarSeparatorin classBasicPainter
-
-