Package com.jidesoft.plaf.office2007
Class Office2007Painter
java.lang.Object
com.jidesoft.plaf.basic.BasicPainter
com.jidesoft.plaf.office2007.Office2007Painter
- All Implemented Interfaces:
ThemePainter,SwingConstants
Painter for Office2007 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
FieldsFields 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 TypeMethodDescriptionprotected ThemePainterCreates a default painter that paints something that could not be painted by Office2007Painter.'voidfillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) static ThemePaintervoidvoidpaintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) 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) 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) voidpaintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintDropDownIcon(Graphics g, int x, int y) 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) voidpaintMenuItemBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) voidpaintMenuShadow(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintSidePaneItemBackground(JComponent c, Graphics g, Rectangle rect, Color[] colors, int orientation, int state) voidpaintStatusBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidpaintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) voidMethods inherited from class com.jidesoft.plaf.basic.BasicPainter
getCollapsiblePaneContentBackground, getCollapsiblePaneDownIcon, getCollapsiblePaneDownIconEmphasized, getCollapsiblePaneDownMask, getCollapsiblePaneFocusTitleForeground, getCollapsiblePaneFocusTitleForegroundEmphasized, getCollapsiblePaneTitleButtonBackground, getCollapsiblePaneTitleButtonBackgroundEmphasized, getCollapsiblePaneTitleForeground, getCollapsiblePaneTitleForegroundEmphasized, getCollapsiblePaneUpIcon, getCollapsiblePaneUpIconEmphasized, getCollapsiblePaneUpMask, getColor, getCommandBarTitleBarBackground, getControl, getControlDk, getControlLt, getControlShadow, getDockableFrameTitleBarActiveForeground, getDockableFrameTitleBarInactiveForeground, getGripperForeground, getMenuItemBackground, getOptionPaneBannerDk, getOptionPaneBannerForeground, getOptionPaneBannerLt, getSeparatorForeground, getSeparatorForegroundLt, getSortableTableHeaderColumnCellDecoratorInsets, getTabAreaBackgroundDk, getTabAreaBackgroundLt, getTabbedPaneSelectDk, getTabbedPaneSelectLt, getTitleBarBackground, paintBackground, paintButtonBackground, paintChevronBackground, paintChevronMore, paintChevronOption, paintCollapsiblePaneTitlePaneBackgroundPlain, paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized, paintCommandBarTitlePane, paintDividerBackground, paintDockableFrameBackground, paintFloatingChevronOption, paintMenuItemBackground, paintSelectedMenu, paintSortableTableHeaderColumn, paintTabAreaBackground, paintTabBackground, paintTabContentBorder, paintToolBarSeparator, shouldDisplayOnTop
-
Field Details
-
IS_MENU_PART_BUTTON
- See Also:
-
-
Constructor Details
-
Office2007Painter
protected Office2007Painter()
-
-
Method Details
-
getInstance
-
createDefaultPainter
Creates a default painter that paints something that could not be painted by Office2007Painter.' By default, it returns an Office2003Painter. However, if you doesn't like the painting theme of Office2003Painter, you could override this method to offer another default painter.- Returns:
- the default painter instance.
-
getDefaultPainter
-
installDefaults
public void installDefaults()- Overrides:
installDefaultsin classBasicPainter
-
uninstallDefaults
public void uninstallDefaults()- Overrides:
uninstallDefaultsin classBasicPainter
-
getMenuItemBorderColor
- Specified by:
getMenuItemBorderColorin interfaceThemePainter- Overrides:
getMenuItemBorderColorin classBasicPainter
-
paintContentBackground
public void paintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintContentBackgroundin interfaceThemePainter- Overrides:
paintContentBackgroundin classBasicPainter
-
paintButtonBackground
public void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) - Specified by:
paintButtonBackgroundin interfaceThemePainter- Overrides:
paintButtonBackgroundin classBasicPainter
-
paintStatusBarBackground
public void paintStatusBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintStatusBarBackgroundin interfaceThemePainter- Overrides:
paintStatusBarBackgroundin classBasicPainter
-
paintStatusBarSeparator
public void paintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintStatusBarSeparatorin interfaceThemePainter- Overrides:
paintStatusBarSeparatorin classBasicPainter
-
paintMenuShadow
- Specified by:
paintMenuShadowin interfaceThemePainter- Overrides:
paintMenuShadowin classBasicPainter
-
paintMenuItemBackground
public void paintMenuItemBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder) - Specified by:
paintMenuItemBackgroundin interfaceThemePainter- Overrides:
paintMenuItemBackgroundin classBasicPainter
-
paintPopupMenuSeparator
public void paintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintPopupMenuSeparatorin interfaceThemePainter- Overrides:
paintPopupMenuSeparatorin classBasicPainter
-
paintDropDownIcon
-
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
-
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
-
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
-
paintCollapsiblePanesBackground
public void paintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintCollapsiblePanesBackgroundin interfaceThemePainter- Overrides:
paintCollapsiblePanesBackgroundin classBasicPainter
-
paintSidePaneItemBackground
public void paintSidePaneItemBackground(JComponent c, Graphics g, Rectangle rect, Color[] colors, int orientation, int state) - Specified by:
paintSidePaneItemBackgroundin interfaceThemePainter- Overrides:
paintSidePaneItemBackgroundin classBasicPainter
-
paintHeaderBoxBackground
public void paintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state) - Specified by:
paintHeaderBoxBackgroundin interfaceThemePainter- Overrides:
paintHeaderBoxBackgroundin classBasicPainter
-
paintGripper
- Specified by:
paintGripperin interfaceThemePainter- Overrides:
paintGripperin classBasicPainter
-
getGripperForegroundLt
- Specified by:
getGripperForegroundLtin interfaceThemePainter- Overrides:
getGripperForegroundLtin classBasicPainter
-
getSelectionSelectedDk
- Specified by:
getSelectionSelectedDkin interfaceThemePainter- Overrides:
getSelectionSelectedDkin classBasicPainter
-
getSelectionSelectedLt
- Specified by:
getSelectionSelectedLtin interfaceThemePainter- Overrides:
getSelectionSelectedLtin classBasicPainter
-
getBackgroundDk
- Specified by:
getBackgroundDkin interfaceThemePainter- Overrides:
getBackgroundDkin classBasicPainter
-
getBackgroundLt
- Specified by:
getBackgroundLtin interfaceThemePainter- Overrides:
getBackgroundLtin classBasicPainter
-
fillBackground
public void fillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color) - Specified by:
fillBackgroundin interfaceThemePainter- Overrides:
fillBackgroundin classBasicPainter
-