Package com.jidesoft.plaf.office2003
Class Office2003Painter
java.lang.Object
com.jidesoft.plaf.basic.BasicPainter
com.jidesoft.plaf.office2003.Office2003Painter
- All Implemented Interfaces:
ThemePainter
,SwingConstants
Painter for Office2003 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTheme
(Office2003Theme theme) void
fillBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) static ThemePainter
void
static boolean
isNative()
protected void
paintBackground
(JComponent c, Graphics2D g2d, Rectangle rect, Color borderColor, Color startColor, Color endColor, int orientation) void
paintButtonBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) protected void
paintChevron
(JComponent c, Graphics2D g2d, Color color1, Color color2, Rectangle rect, int orientation) void
paintChevronBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintChevronMore
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintChevronOption
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePanesBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackgroundEmphasized
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackgroundPlain
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackgroundSeparator
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintCommandBarBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintContentBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintDividerBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintDockableFrameBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintDockableFrameTitlePane
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintFloatingCommandBarBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintGripper
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintHeaderBoxBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintMenuShadow
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintPopupMenuSeparator
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintStatusBarSeparator
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintTabAreaBackground
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
paintToolBarSeparator
(JComponent c, Graphics g, Rectangle rect, int orientation, int state) void
removeTheme
(String themeName) void
setColorName
(String colorName) static void
setNative
(boolean aNative) void
Methods inherited from class com.jidesoft.plaf.basic.BasicPainter
getSortableTableHeaderColumnCellDecoratorInsets, getTabAreaBackgroundDk, getTabAreaBackgroundLt, paintBackground, paintButtonBackground, paintCommandBarTitlePane, paintFloatingChevronOption, paintMenuItemBackground, paintMenuItemBackground, paintSelectedMenu, paintSidePaneItemBackground, paintSortableTableHeaderColumn, paintStatusBarBackground, paintTabBackground, paintTabContentBorder, shouldDisplayOnTop
-
Constructor Details
-
Office2003Painter
protected Office2003Painter()
-
-
Method Details
-
getInstance
-
addTheme
-
getTheme
-
removeTheme
-
getAvailableThemes
-
installDefaults
public void installDefaults()- Overrides:
installDefaults
in classBasicPainter
-
uninstallDefaults
public void uninstallDefaults()- Overrides:
uninstallDefaults
in classBasicPainter
-
getColorName
-
setColorName
-
isNative
public static boolean isNative() -
setNative
public static void setNative(boolean aNative) -
getCurrentTheme
-
paintButtonBackground
public void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) - Specified by:
paintButtonBackground
in interfaceThemePainter
- Overrides:
paintButtonBackground
in classBasicPainter
-
paintBackground
protected void paintBackground(JComponent c, Graphics2D g2d, Rectangle rect, Color borderColor, Color startColor, Color endColor, int orientation) -
paintChevronBackground
public void paintChevronBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintChevronBackground
in interfaceThemePainter
- Overrides:
paintChevronBackground
in classBasicPainter
-
paintDividerBackground
public void paintDividerBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDividerBackground
in interfaceThemePainter
- Overrides:
paintDividerBackground
in classBasicPainter
-
paintChevron
protected void paintChevron(JComponent c, Graphics2D g2d, Color color1, Color color2, Rectangle rect, int orientation) -
getColor
- Specified by:
getColor
in interfaceThemePainter
- Overrides:
getColor
in classBasicPainter
-
paintCommandBarBackground
public void paintCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCommandBarBackground
in interfaceThemePainter
- Overrides:
paintCommandBarBackground
in classBasicPainter
-
paintFloatingCommandBarBackground
public void paintFloatingCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintFloatingCommandBarBackground
in interfaceThemePainter
- Overrides:
paintFloatingCommandBarBackground
in classBasicPainter
-
paintMenuShadow
- Specified by:
paintMenuShadow
in interfaceThemePainter
- Overrides:
paintMenuShadow
in classBasicPainter
-
getControl
- Specified by:
getControl
in interfaceThemePainter
- Overrides:
getControl
in classBasicPainter
-
getControlLt
- Specified by:
getControlLt
in interfaceThemePainter
- Overrides:
getControlLt
in classBasicPainter
-
getControlDk
- Specified by:
getControlDk
in interfaceThemePainter
- Overrides:
getControlDk
in classBasicPainter
-
getControlShadow
- Specified by:
getControlShadow
in interfaceThemePainter
- Overrides:
getControlShadow
in classBasicPainter
-
getGripperForeground
- Specified by:
getGripperForeground
in interfaceThemePainter
- Overrides:
getGripperForeground
in classBasicPainter
-
getGripperForegroundLt
- Specified by:
getGripperForegroundLt
in interfaceThemePainter
- Overrides:
getGripperForegroundLt
in classBasicPainter
-
getSeparatorForeground
- Specified by:
getSeparatorForeground
in interfaceThemePainter
- Overrides:
getSeparatorForeground
in classBasicPainter
-
getSeparatorForegroundLt
- Specified by:
getSeparatorForegroundLt
in interfaceThemePainter
- Overrides:
getSeparatorForegroundLt
in classBasicPainter
-
getCollapsiblePaneContentBackground
- Specified by:
getCollapsiblePaneContentBackground
in interfaceThemePainter
- Overrides:
getCollapsiblePaneContentBackground
in classBasicPainter
-
getCollapsiblePaneTitleForeground
- Specified by:
getCollapsiblePaneTitleForeground
in interfaceThemePainter
- Overrides:
getCollapsiblePaneTitleForeground
in classBasicPainter
-
getCollapsiblePaneFocusTitleForeground
- Specified by:
getCollapsiblePaneFocusTitleForeground
in interfaceThemePainter
- Overrides:
getCollapsiblePaneFocusTitleForeground
in classBasicPainter
-
getCollapsiblePaneTitleForegroundEmphasized
- Specified by:
getCollapsiblePaneTitleForegroundEmphasized
in interfaceThemePainter
- Overrides:
getCollapsiblePaneTitleForegroundEmphasized
in classBasicPainter
-
getCollapsiblePaneFocusTitleForegroundEmphasized
- Specified by:
getCollapsiblePaneFocusTitleForegroundEmphasized
in interfaceThemePainter
- Overrides:
getCollapsiblePaneFocusTitleForegroundEmphasized
in classBasicPainter
-
getCollapsiblePaneUpIcon
- Specified by:
getCollapsiblePaneUpIcon
in interfaceThemePainter
- Overrides:
getCollapsiblePaneUpIcon
in classBasicPainter
-
getCollapsiblePaneDownIcon
- Specified by:
getCollapsiblePaneDownIcon
in interfaceThemePainter
- Overrides:
getCollapsiblePaneDownIcon
in classBasicPainter
-
getCollapsiblePaneUpIconEmphasized
- Specified by:
getCollapsiblePaneUpIconEmphasized
in interfaceThemePainter
- Overrides:
getCollapsiblePaneUpIconEmphasized
in classBasicPainter
-
getCollapsiblePaneDownIconEmphasized
- Specified by:
getCollapsiblePaneDownIconEmphasized
in interfaceThemePainter
- Overrides:
getCollapsiblePaneDownIconEmphasized
in classBasicPainter
-
getCollapsiblePaneTitleButtonBackground
- Specified by:
getCollapsiblePaneTitleButtonBackground
in interfaceThemePainter
- Overrides:
getCollapsiblePaneTitleButtonBackground
in classBasicPainter
-
getCollapsiblePaneTitleButtonBackgroundEmphasized
- Specified by:
getCollapsiblePaneTitleButtonBackgroundEmphasized
in interfaceThemePainter
- Overrides:
getCollapsiblePaneTitleButtonBackgroundEmphasized
in classBasicPainter
-
getCollapsiblePaneUpMask
- Specified by:
getCollapsiblePaneUpMask
in interfaceThemePainter
- Overrides:
getCollapsiblePaneUpMask
in classBasicPainter
-
getCollapsiblePaneDownMask
- Specified by:
getCollapsiblePaneDownMask
in interfaceThemePainter
- Overrides:
getCollapsiblePaneDownMask
in classBasicPainter
-
getBackgroundDk
- Specified by:
getBackgroundDk
in interfaceThemePainter
- Overrides:
getBackgroundDk
in classBasicPainter
-
getBackgroundLt
- Specified by:
getBackgroundLt
in interfaceThemePainter
- Overrides:
getBackgroundLt
in classBasicPainter
-
getSelectionSelectedDk
- Specified by:
getSelectionSelectedDk
in interfaceThemePainter
- Overrides:
getSelectionSelectedDk
in classBasicPainter
-
getSelectionSelectedLt
- Specified by:
getSelectionSelectedLt
in interfaceThemePainter
- Overrides:
getSelectionSelectedLt
in classBasicPainter
-
getMenuItemBorderColor
- Specified by:
getMenuItemBorderColor
in interfaceThemePainter
- Overrides:
getMenuItemBorderColor
in classBasicPainter
-
getMenuItemBackground
- Specified by:
getMenuItemBackground
in interfaceThemePainter
- Overrides:
getMenuItemBackground
in classBasicPainter
-
getCommandBarTitleBarBackground
- Specified by:
getCommandBarTitleBarBackground
in interfaceThemePainter
- Overrides:
getCommandBarTitleBarBackground
in classBasicPainter
-
getDockableFrameTitleBarActiveForeground
- Specified by:
getDockableFrameTitleBarActiveForeground
in interfaceThemePainter
- Overrides:
getDockableFrameTitleBarActiveForeground
in classBasicPainter
-
getDockableFrameTitleBarInactiveForeground
- Specified by:
getDockableFrameTitleBarInactiveForeground
in interfaceThemePainter
- Overrides:
getDockableFrameTitleBarInactiveForeground
in classBasicPainter
-
getTitleBarBackground
- Specified by:
getTitleBarBackground
in interfaceThemePainter
- Overrides:
getTitleBarBackground
in classBasicPainter
-
getOptionPaneBannerForeground
- Specified by:
getOptionPaneBannerForeground
in interfaceThemePainter
- Overrides:
getOptionPaneBannerForeground
in classBasicPainter
-
getTabbedPaneSelectDk
- Specified by:
getTabbedPaneSelectDk
in interfaceThemePainter
- Overrides:
getTabbedPaneSelectDk
in classBasicPainter
-
getTabbedPaneSelectLt
- Specified by:
getTabbedPaneSelectLt
in interfaceThemePainter
- Overrides:
getTabbedPaneSelectLt
in classBasicPainter
-
getOptionPaneBannerDk
- Specified by:
getOptionPaneBannerDk
in interfaceThemePainter
- Overrides:
getOptionPaneBannerDk
in classBasicPainter
-
getOptionPaneBannerLt
- Specified by:
getOptionPaneBannerLt
in interfaceThemePainter
- Overrides:
getOptionPaneBannerLt
in classBasicPainter
-
paintContentBackground
public void paintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintContentBackground
in interfaceThemePainter
- Overrides:
paintContentBackground
in classBasicPainter
-
paintGripper
- Specified by:
paintGripper
in interfaceThemePainter
- Overrides:
paintGripper
in classBasicPainter
-
paintChevronMore
- Specified by:
paintChevronMore
in interfaceThemePainter
- Overrides:
paintChevronMore
in classBasicPainter
-
paintChevronOption
public void paintChevronOption(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintChevronOption
in interfaceThemePainter
- Overrides:
paintChevronOption
in classBasicPainter
-
paintDockableFrameBackground
public void paintDockableFrameBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDockableFrameBackground
in interfaceThemePainter
- Overrides:
paintDockableFrameBackground
in classBasicPainter
-
paintDockableFrameTitlePane
public void paintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDockableFrameTitlePane
in interfaceThemePainter
- Overrides:
paintDockableFrameTitlePane
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackground
public void paintCollapsiblePaneTitlePaneBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackground
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackground
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundEmphasized
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackgroundEmphasized
in classBasicPainter
-
paintCollapsiblePanesBackground
public void paintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePanesBackground
in interfaceThemePainter
- Overrides:
paintCollapsiblePanesBackground
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundPlain
public void paintCollapsiblePaneTitlePaneBackgroundPlain(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundPlain
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackgroundPlain
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
in classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundSeparator
public void paintCollapsiblePaneTitlePaneBackgroundSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundSeparator
in interfaceThemePainter
- Overrides:
paintCollapsiblePaneTitlePaneBackgroundSeparator
in classBasicPainter
-
paintTabAreaBackground
public void paintTabAreaBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintTabAreaBackground
in interfaceThemePainter
- Overrides:
paintTabAreaBackground
in classBasicPainter
-
paintHeaderBoxBackground
public void paintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintHeaderBoxBackground
in interfaceThemePainter
- Overrides:
paintHeaderBoxBackground
in classBasicPainter
-
paintToolBarSeparator
public void paintToolBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintToolBarSeparator
in interfaceThemePainter
- Overrides:
paintToolBarSeparator
in classBasicPainter
-
paintPopupMenuSeparator
public void paintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintPopupMenuSeparator
in interfaceThemePainter
- Overrides:
paintPopupMenuSeparator
in classBasicPainter
-
paintStatusBarSeparator
public void paintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintStatusBarSeparator
in interfaceThemePainter
- Overrides:
paintStatusBarSeparator
in classBasicPainter
-
fillBackground
public void fillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) - Specified by:
fillBackground
in interfaceThemePainter
- Overrides:
fillBackground
in classBasicPainter
-