public class Office2007Painter extends BasicPainter
Modifier and Type | Field and Description |
---|---|
static String |
IS_MENU_PART_BUTTON |
_bk0, _bk1, _bk2, _bk3, _borderColor, ARROW_TEXT_GAP, H_GAP, V_GAP
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
STATE_DEFAULT, STATE_DISABLE, STATE_DISABLE_ROLLOVER, STATE_DISABLE_SELECTED, STATE_INACTIVE_ROLLOVER, STATE_PRESSED, STATE_ROLLOVER, STATE_SELECTED
Modifier | Constructor and Description |
---|---|
protected |
Office2007Painter() |
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
public static final String IS_MENU_PART_BUTTON
public static ThemePainter getInstance()
protected ThemePainter createDefaultPainter()
public ThemePainter getDefaultPainter()
public void installDefaults()
installDefaults
in class BasicPainter
public void uninstallDefaults()
uninstallDefaults
in class BasicPainter
public Color getMenuItemBorderColor()
getMenuItemBorderColor
in interface ThemePainter
getMenuItemBorderColor
in class BasicPainter
public void paintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintContentBackground
in interface ThemePainter
paintContentBackground
in class BasicPainter
public void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder)
paintButtonBackground
in interface ThemePainter
paintButtonBackground
in class BasicPainter
public void paintStatusBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintStatusBarBackground
in interface ThemePainter
paintStatusBarBackground
in class BasicPainter
public void paintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintStatusBarSeparator
in interface ThemePainter
paintStatusBarSeparator
in class BasicPainter
public void paintMenuShadow(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintMenuShadow
in interface ThemePainter
paintMenuShadow
in class BasicPainter
public void paintMenuItemBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder)
paintMenuItemBackground
in interface ThemePainter
paintMenuItemBackground
in class BasicPainter
public void paintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintPopupMenuSeparator
in interface ThemePainter
paintPopupMenuSeparator
in class BasicPainter
public void paintDropDownIcon(Graphics g, int x, int y)
public void paintCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCommandBarBackground
in interface ThemePainter
paintCommandBarBackground
in class BasicPainter
public void paintFloatingCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintFloatingCommandBarBackground
in interface ThemePainter
paintFloatingCommandBarBackground
in class BasicPainter
public void paintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintDockableFrameTitlePane
in interface ThemePainter
paintDockableFrameTitlePane
in class BasicPainter
public void paintCollapsiblePaneTitlePaneBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackground
in interface ThemePainter
paintCollapsiblePaneTitlePaneBackground
in class BasicPainter
public void paintCollapsiblePaneTitlePaneBackgroundEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundEmphasized
in interface ThemePainter
paintCollapsiblePaneTitlePaneBackgroundEmphasized
in class BasicPainter
public void paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
in interface ThemePainter
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized
in class BasicPainter
public void paintCollapsiblePaneTitlePaneBackgroundSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundSeparator
in interface ThemePainter
paintCollapsiblePaneTitlePaneBackgroundSeparator
in class BasicPainter
public void paintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePanesBackground
in interface ThemePainter
paintCollapsiblePanesBackground
in class BasicPainter
public void paintSidePaneItemBackground(JComponent c, Graphics g, Rectangle rect, Color[] colors, int orientation, int state)
paintSidePaneItemBackground
in interface ThemePainter
paintSidePaneItemBackground
in class BasicPainter
public void paintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintHeaderBoxBackground
in interface ThemePainter
paintHeaderBoxBackground
in class BasicPainter
public void paintGripper(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintGripper
in interface ThemePainter
paintGripper
in class BasicPainter
public Color getGripperForegroundLt()
getGripperForegroundLt
in interface ThemePainter
getGripperForegroundLt
in class BasicPainter
public Color getSelectionSelectedDk()
getSelectionSelectedDk
in interface ThemePainter
getSelectionSelectedDk
in class BasicPainter
public Color getSelectionSelectedLt()
getSelectionSelectedLt
in interface ThemePainter
getSelectionSelectedLt
in class BasicPainter
public Color getBackgroundDk()
getBackgroundDk
in interface ThemePainter
getBackgroundDk
in class BasicPainter
public Color getBackgroundLt()
getBackgroundLt
in interface ThemePainter
getBackgroundLt
in class BasicPainter
public void fillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color)
fillBackground
in interface ThemePainter
fillBackground
in class BasicPainter