JIDE 3.5.15

com.jidesoft.plaf.eclipse
Class EclipsePainter

java.lang.Object
  extended by com.jidesoft.plaf.basic.BasicPainter
      extended by com.jidesoft.plaf.eclipse.EclipsePainter
All Implemented Interfaces:
ThemePainter, 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
protected  Color _darkShadowColor
           
protected  Color _highlight
           
protected  Color _lightHighlightColor
           
protected  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
protected EclipsePainter()
           
 
Method Summary
static ThemePainter getInstance()
           
 void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
           
 void paintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
           
 void paintGripper(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
           
 void paintSelectedMenu(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
           
 void paintToolBarSeparator(JComponent c, Graphics g, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_shadowColor

protected Color _shadowColor

_darkShadowColor

protected Color _darkShadowColor

_highlight

protected Color _highlight

_lightHighlightColor

protected Color _lightHighlightColor
Constructor Detail

EclipsePainter

protected EclipsePainter()
Method Detail

getInstance

public static ThemePainter getInstance()

paintButtonBackground

public void paintButtonBackground(JComponent c,
                                  Graphics g,
                                  Rectangle rect,
                                  int orientation,
                                  int state)
Specified by:
paintButtonBackground in interface ThemePainter
Overrides:
paintButtonBackground in class BasicPainter

paintSelectedMenu

public void paintSelectedMenu(JComponent c,
                              Graphics g,
                              Rectangle rect,
                              int orientation,
                              int state)
Specified by:
paintSelectedMenu in interface ThemePainter
Overrides:
paintSelectedMenu in class BasicPainter

paintGripper

public void paintGripper(JComponent c,
                         Graphics g,
                         Rectangle rect,
                         int orientation,
                         int state)
Specified by:
paintGripper in interface ThemePainter
Overrides:
paintGripper in class BasicPainter

paintDockableFrameTitlePane

public void paintDockableFrameTitlePane(JComponent c,
                                        Graphics g,
                                        Rectangle rect,
                                        int orientation,
                                        int state)
Specified by:
paintDockableFrameTitlePane in interface ThemePainter
Overrides:
paintDockableFrameTitlePane in class BasicPainter

paintToolBarSeparator

public void paintToolBarSeparator(JComponent c,
                                  Graphics g,
                                  Rectangle rect,
                                  int orientation,
                                  int state)
Specified by:
paintToolBarSeparator in interface ThemePainter
Overrides:
paintToolBarSeparator in class BasicPainter

JIDE 3.5.15