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 Linvalid input: '&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_GAPFields 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, WESTFields 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 TypeMethodDescriptionvoidaddTheme(Office2003Theme theme) voidfillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) static ThemePaintervoidstatic booleanisNative()protected voidpaintBackground(JComponent c, Graphics2D g2d, Rectangle rect, Color borderColor, Color startColor, Color endColor, int orientation) voidpaintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) protected voidpaintChevron(JComponent c, Graphics2D g2d, Color color1, Color color2, Rectangle rect, int orientation) voidpaintChevronBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintChevronMore(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintChevronOption(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackgroundEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackgroundPlain(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackgroundPlainEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackgroundSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintDividerBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintDockableFrameBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintFloatingCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintGripper(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintMenuShadow(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintTabAreaBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintToolBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidremoveTheme(String themeName) voidsetColorName(String colorName) static voidsetNative(boolean aNative) voidMethods 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:
installDefaultsin classBasicPainter
-
uninstallDefaults
public void uninstallDefaults()- Overrides:
uninstallDefaultsin 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:
paintButtonBackgroundin interfaceThemePainter- Overrides:
paintButtonBackgroundin 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:
paintChevronBackgroundin interfaceThemePainter- Overrides:
paintChevronBackgroundin classBasicPainter
-
paintDividerBackground
public void paintDividerBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDividerBackgroundin interfaceThemePainter- Overrides:
paintDividerBackgroundin classBasicPainter
-
paintChevron
protected void paintChevron(JComponent c, Graphics2D g2d, Color color1, Color color2, Rectangle rect, int orientation) -
getColor
- Specified by:
getColorin interfaceThemePainter- Overrides:
getColorin classBasicPainter
-
paintCommandBarBackground
public void paintCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCommandBarBackgroundin interfaceThemePainter- Overrides:
paintCommandBarBackgroundin classBasicPainter
-
paintFloatingCommandBarBackground
public void paintFloatingCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintFloatingCommandBarBackgroundin interfaceThemePainter- Overrides:
paintFloatingCommandBarBackgroundin classBasicPainter
-
paintMenuShadow
- Specified by:
paintMenuShadowin interfaceThemePainter- Overrides:
paintMenuShadowin classBasicPainter
-
getControl
- Specified by:
getControlin interfaceThemePainter- Overrides:
getControlin classBasicPainter
-
getControlLt
- Specified by:
getControlLtin interfaceThemePainter- Overrides:
getControlLtin classBasicPainter
-
getControlDk
- Specified by:
getControlDkin interfaceThemePainter- Overrides:
getControlDkin classBasicPainter
-
getControlShadow
- Specified by:
getControlShadowin interfaceThemePainter- Overrides:
getControlShadowin classBasicPainter
-
getGripperForeground
- Specified by:
getGripperForegroundin interfaceThemePainter- Overrides:
getGripperForegroundin classBasicPainter
-
getGripperForegroundLt
- Specified by:
getGripperForegroundLtin interfaceThemePainter- Overrides:
getGripperForegroundLtin classBasicPainter
-
getSeparatorForeground
- Specified by:
getSeparatorForegroundin interfaceThemePainter- Overrides:
getSeparatorForegroundin classBasicPainter
-
getSeparatorForegroundLt
- Specified by:
getSeparatorForegroundLtin interfaceThemePainter- Overrides:
getSeparatorForegroundLtin classBasicPainter
-
getCollapsiblePaneContentBackground
- Specified by:
getCollapsiblePaneContentBackgroundin interfaceThemePainter- Overrides:
getCollapsiblePaneContentBackgroundin classBasicPainter
-
getCollapsiblePaneTitleForeground
- Specified by:
getCollapsiblePaneTitleForegroundin interfaceThemePainter- Overrides:
getCollapsiblePaneTitleForegroundin classBasicPainter
-
getCollapsiblePaneFocusTitleForeground
- Specified by:
getCollapsiblePaneFocusTitleForegroundin interfaceThemePainter- Overrides:
getCollapsiblePaneFocusTitleForegroundin classBasicPainter
-
getCollapsiblePaneTitleForegroundEmphasized
- Specified by:
getCollapsiblePaneTitleForegroundEmphasizedin interfaceThemePainter- Overrides:
getCollapsiblePaneTitleForegroundEmphasizedin classBasicPainter
-
getCollapsiblePaneFocusTitleForegroundEmphasized
- Specified by:
getCollapsiblePaneFocusTitleForegroundEmphasizedin interfaceThemePainter- Overrides:
getCollapsiblePaneFocusTitleForegroundEmphasizedin classBasicPainter
-
getCollapsiblePaneUpIcon
- Specified by:
getCollapsiblePaneUpIconin interfaceThemePainter- Overrides:
getCollapsiblePaneUpIconin classBasicPainter
-
getCollapsiblePaneDownIcon
- Specified by:
getCollapsiblePaneDownIconin interfaceThemePainter- Overrides:
getCollapsiblePaneDownIconin classBasicPainter
-
getCollapsiblePaneUpIconEmphasized
- Specified by:
getCollapsiblePaneUpIconEmphasizedin interfaceThemePainter- Overrides:
getCollapsiblePaneUpIconEmphasizedin classBasicPainter
-
getCollapsiblePaneDownIconEmphasized
- Specified by:
getCollapsiblePaneDownIconEmphasizedin interfaceThemePainter- Overrides:
getCollapsiblePaneDownIconEmphasizedin classBasicPainter
-
getCollapsiblePaneTitleButtonBackground
- Specified by:
getCollapsiblePaneTitleButtonBackgroundin interfaceThemePainter- Overrides:
getCollapsiblePaneTitleButtonBackgroundin classBasicPainter
-
getCollapsiblePaneTitleButtonBackgroundEmphasized
- Specified by:
getCollapsiblePaneTitleButtonBackgroundEmphasizedin interfaceThemePainter- Overrides:
getCollapsiblePaneTitleButtonBackgroundEmphasizedin classBasicPainter
-
getCollapsiblePaneUpMask
- Specified by:
getCollapsiblePaneUpMaskin interfaceThemePainter- Overrides:
getCollapsiblePaneUpMaskin classBasicPainter
-
getCollapsiblePaneDownMask
- Specified by:
getCollapsiblePaneDownMaskin interfaceThemePainter- Overrides:
getCollapsiblePaneDownMaskin classBasicPainter
-
getBackgroundDk
- Specified by:
getBackgroundDkin interfaceThemePainter- Overrides:
getBackgroundDkin classBasicPainter
-
getBackgroundLt
- Specified by:
getBackgroundLtin interfaceThemePainter- Overrides:
getBackgroundLtin classBasicPainter
-
getSelectionSelectedDk
- Specified by:
getSelectionSelectedDkin interfaceThemePainter- Overrides:
getSelectionSelectedDkin classBasicPainter
-
getSelectionSelectedLt
- Specified by:
getSelectionSelectedLtin interfaceThemePainter- Overrides:
getSelectionSelectedLtin classBasicPainter
-
getMenuItemBorderColor
- Specified by:
getMenuItemBorderColorin interfaceThemePainter- Overrides:
getMenuItemBorderColorin classBasicPainter
-
getMenuItemBackground
- Specified by:
getMenuItemBackgroundin interfaceThemePainter- Overrides:
getMenuItemBackgroundin classBasicPainter
-
getCommandBarTitleBarBackground
- Specified by:
getCommandBarTitleBarBackgroundin interfaceThemePainter- Overrides:
getCommandBarTitleBarBackgroundin classBasicPainter
-
getDockableFrameTitleBarActiveForeground
- Specified by:
getDockableFrameTitleBarActiveForegroundin interfaceThemePainter- Overrides:
getDockableFrameTitleBarActiveForegroundin classBasicPainter
-
getDockableFrameTitleBarInactiveForeground
- Specified by:
getDockableFrameTitleBarInactiveForegroundin interfaceThemePainter- Overrides:
getDockableFrameTitleBarInactiveForegroundin classBasicPainter
-
getTitleBarBackground
- Specified by:
getTitleBarBackgroundin interfaceThemePainter- Overrides:
getTitleBarBackgroundin classBasicPainter
-
getOptionPaneBannerForeground
- Specified by:
getOptionPaneBannerForegroundin interfaceThemePainter- Overrides:
getOptionPaneBannerForegroundin classBasicPainter
-
getTabbedPaneSelectDk
- Specified by:
getTabbedPaneSelectDkin interfaceThemePainter- Overrides:
getTabbedPaneSelectDkin classBasicPainter
-
getTabbedPaneSelectLt
- Specified by:
getTabbedPaneSelectLtin interfaceThemePainter- Overrides:
getTabbedPaneSelectLtin classBasicPainter
-
getOptionPaneBannerDk
- Specified by:
getOptionPaneBannerDkin interfaceThemePainter- Overrides:
getOptionPaneBannerDkin classBasicPainter
-
getOptionPaneBannerLt
- Specified by:
getOptionPaneBannerLtin interfaceThemePainter- Overrides:
getOptionPaneBannerLtin classBasicPainter
-
paintContentBackground
public void paintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintContentBackgroundin interfaceThemePainter- Overrides:
paintContentBackgroundin classBasicPainter
-
paintGripper
- Specified by:
paintGripperin interfaceThemePainter- Overrides:
paintGripperin classBasicPainter
-
paintChevronMore
- Specified by:
paintChevronMorein interfaceThemePainter- Overrides:
paintChevronMorein classBasicPainter
-
paintChevronOption
public void paintChevronOption(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintChevronOptionin interfaceThemePainter- Overrides:
paintChevronOptionin classBasicPainter
-
paintDockableFrameBackground
public void paintDockableFrameBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDockableFrameBackgroundin interfaceThemePainter- Overrides:
paintDockableFrameBackgroundin classBasicPainter
-
paintDockableFrameTitlePane
public void paintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintDockableFrameTitlePanein interfaceThemePainter- Overrides:
paintDockableFrameTitlePanein classBasicPainter
-
paintCollapsiblePaneTitlePaneBackground
public void paintCollapsiblePaneTitlePaneBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundin classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundEmphasizedin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundEmphasizedin classBasicPainter
-
paintCollapsiblePanesBackground
public void paintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePanesBackgroundin interfaceThemePainter- Overrides:
paintCollapsiblePanesBackgroundin classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasizedin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasizedin classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundPlain
public void paintCollapsiblePaneTitlePaneBackgroundPlain(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundPlainin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundPlainin classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
public void paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasizedin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasizedin classBasicPainter
-
paintCollapsiblePaneTitlePaneBackgroundSeparator
public void paintCollapsiblePaneTitlePaneBackgroundSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePaneTitlePaneBackgroundSeparatorin interfaceThemePainter- Overrides:
paintCollapsiblePaneTitlePaneBackgroundSeparatorin classBasicPainter
-
paintTabAreaBackground
public void paintTabAreaBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintTabAreaBackgroundin interfaceThemePainter- Overrides:
paintTabAreaBackgroundin classBasicPainter
-
paintHeaderBoxBackground
public void paintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintHeaderBoxBackgroundin interfaceThemePainter- Overrides:
paintHeaderBoxBackgroundin classBasicPainter
-
paintToolBarSeparator
public void paintToolBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintToolBarSeparatorin interfaceThemePainter- Overrides:
paintToolBarSeparatorin classBasicPainter
-
paintPopupMenuSeparator
public void paintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintPopupMenuSeparatorin interfaceThemePainter- Overrides:
paintPopupMenuSeparatorin classBasicPainter
-
paintStatusBarSeparator
public void paintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintStatusBarSeparatorin interfaceThemePainter- Overrides:
paintStatusBarSeparatorin classBasicPainter
-
fillBackground
public void fillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) - Specified by:
fillBackgroundin interfaceThemePainter- Overrides:
fillBackgroundin classBasicPainter
-