public class BasicPainter extends Object implements SwingConstants, ThemePainter
| Modifier and Type | Field and Description |
|---|---|
protected Color |
_bk0 |
protected Color |
_bk1 |
protected Color |
_bk2 |
protected Color |
_bk3 |
protected Color |
_borderColor |
static int |
ARROW_TEXT_GAP
The gap between the sort arrow and index text.
|
static int |
H_GAP
The distant from the right edge of the table header to left edge of sort arrow.
|
static int |
V_GAP
The distant from top edge of the table header to the top edge of the sort arrow.
|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WESTSTATE_DEFAULT, STATE_DISABLE, STATE_DISABLE_ROLLOVER, STATE_DISABLE_SELECTED, STATE_INACTIVE_ROLLOVER, STATE_PRESSED, STATE_ROLLOVER, STATE_SELECTED| Constructor and Description |
|---|
BasicPainter() |
protected Color _bk0
protected Color _bk1
protected Color _bk2
protected Color _bk3
protected Color _borderColor
public static int V_GAP
public static int H_GAP
public static int ARROW_TEXT_GAP
public static ThemePainter getInstance()
public void installDefaults()
public void uninstallDefaults()
public Color getGripperForeground()
getGripperForeground in interface ThemePainterpublic Color getGripperForegroundLt()
getGripperForegroundLt in interface ThemePainterpublic Color getSeparatorForeground()
getSeparatorForeground in interface ThemePainterpublic Color getSeparatorForegroundLt()
getSeparatorForegroundLt in interface ThemePainterpublic Color getCollapsiblePaneContentBackground()
getCollapsiblePaneContentBackground in interface ThemePainterpublic Color getCollapsiblePaneTitleForeground()
getCollapsiblePaneTitleForeground in interface ThemePainterpublic Color getCollapsiblePaneTitleForegroundEmphasized()
getCollapsiblePaneTitleForegroundEmphasized in interface ThemePainterpublic Color getCollapsiblePaneFocusTitleForegroundEmphasized()
getCollapsiblePaneFocusTitleForegroundEmphasized in interface ThemePainterpublic Color getCollapsiblePaneFocusTitleForeground()
getCollapsiblePaneFocusTitleForeground in interface ThemePainterpublic ImageIcon getCollapsiblePaneUpIcon()
getCollapsiblePaneUpIcon in interface ThemePainterpublic ImageIcon getCollapsiblePaneDownIcon()
getCollapsiblePaneDownIcon in interface ThemePainterpublic ImageIcon getCollapsiblePaneUpIconEmphasized()
getCollapsiblePaneUpIconEmphasized in interface ThemePainterpublic ImageIcon getCollapsiblePaneDownIconEmphasized()
getCollapsiblePaneDownIconEmphasized in interface ThemePainterpublic ImageIcon getCollapsiblePaneTitleButtonBackground()
getCollapsiblePaneTitleButtonBackground in interface ThemePainterpublic ImageIcon getCollapsiblePaneTitleButtonBackgroundEmphasized()
getCollapsiblePaneTitleButtonBackgroundEmphasized in interface ThemePainterpublic ImageIcon getCollapsiblePaneUpMask()
getCollapsiblePaneUpMask in interface ThemePainterpublic ImageIcon getCollapsiblePaneDownMask()
getCollapsiblePaneDownMask in interface ThemePainterpublic Color getBackgroundDk()
getBackgroundDk in interface ThemePainterpublic Color getBackgroundLt()
getBackgroundLt in interface ThemePainterpublic Color getSelectionSelectedDk()
getSelectionSelectedDk in interface ThemePainterpublic Color getSelectionSelectedLt()
getSelectionSelectedLt in interface ThemePainterpublic Color getMenuItemBorderColor()
getMenuItemBorderColor in interface ThemePainterpublic Color getMenuItemBackground()
getMenuItemBackground in interface ThemePainterpublic Color getCommandBarTitleBarBackground()
getCommandBarTitleBarBackground in interface ThemePainterpublic Color getControl()
getControl in interface ThemePainterpublic Color getControlLt()
getControlLt in interface ThemePainterpublic Color getControlDk()
getControlDk in interface ThemePainterpublic Color getControlShadow()
getControlShadow in interface ThemePainterpublic Color getTitleBarBackground()
getTitleBarBackground in interface ThemePainterpublic Color getDockableFrameTitleBarActiveForeground()
getDockableFrameTitleBarActiveForeground in interface ThemePainterpublic Color getDockableFrameTitleBarInactiveForeground()
getDockableFrameTitleBarInactiveForeground in interface ThemePainterpublic Color getTabbedPaneSelectDk()
getTabbedPaneSelectDk in interface ThemePainterpublic Color getTabbedPaneSelectLt()
getTabbedPaneSelectLt in interface ThemePainterpublic Color getTabAreaBackgroundDk()
getTabAreaBackgroundDk in interface ThemePainterpublic Color getTabAreaBackgroundLt()
getTabAreaBackgroundLt in interface ThemePainterpublic Color getOptionPaneBannerForeground()
getOptionPaneBannerForeground in interface ThemePainterpublic Color getOptionPaneBannerDk()
getOptionPaneBannerDk in interface ThemePainterpublic Color getOptionPaneBannerLt()
getOptionPaneBannerLt in interface ThemePainterpublic void paintSelectedMenu(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintSelectedMenu in interface ThemePainterpublic void paintMenuItemBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintMenuItemBackground in interface ThemePainterpublic void paintMenuItemBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder)
paintMenuItemBackground in interface ThemePainterpublic void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintButtonBackground in interface ThemePainterpublic void paintButtonBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, boolean showBorder)
paintButtonBackground in interface ThemePainterprotected void paintBackground(JComponent c, Graphics g, Rectangle rect, Color borderColor, Color background, int orientation)
public void paintChevronBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintChevronBackground in interface ThemePainterpublic void paintDividerBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintDividerBackground in interface ThemePainterpublic void paintCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCommandBarBackground in interface ThemePainterpublic void paintFloatingCommandBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintFloatingCommandBarBackground in interface ThemePainterpublic void paintMenuShadow(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintMenuShadow in interface ThemePainterpublic void paintContentBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintContentBackground in interface ThemePainterpublic void paintStatusBarBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintStatusBarBackground in interface ThemePainterpublic void paintCommandBarTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCommandBarTitlePane in interface ThemePainterpublic void paintGripper(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintGripper in interface ThemePainterpublic void paintChevronMore(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintChevronMore in interface ThemePainterpublic void paintChevronOption(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintChevronOption in interface ThemePainterpublic void paintFloatingChevronOption(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintFloatingChevronOption in interface ThemePainterpublic void paintDockableFrameBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintDockableFrameBackground in interface ThemePainterpublic void paintDockableFrameTitlePane(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintDockableFrameTitlePane in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackground in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackgroundEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundEmphasized in interface ThemePainterpublic void paintCollapsiblePanesBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePanesBackground in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundPlainEmphasized in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackgroundPlain(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundPlain in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundSeparatorEmphasized in interface ThemePainterpublic void paintCollapsiblePaneTitlePaneBackgroundSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintCollapsiblePaneTitlePaneBackgroundSeparator in interface ThemePainterpublic Color getColor(Object key)
getColor in interface ThemePainterpublic void paintTabAreaBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintTabAreaBackground in interface ThemePainterpublic void paintTabBackground(JComponent c, Graphics g, Shape region, Color[] colors, int orientation, int state)
paintTabBackground in interface ThemePainterpublic void paintTabContentBorder(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintTabContentBorder in interface ThemePainterpublic void paintSidePaneItemBackground(JComponent c, Graphics g, Rectangle rect, Color[] colors, int orientation, int state)
paintSidePaneItemBackground in interface ThemePainterpublic void paintHeaderBoxBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintHeaderBoxBackground in interface ThemePainterpublic void paintToolBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintToolBarSeparator in interface ThemePainterpublic void paintPopupMenuSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintPopupMenuSeparator in interface ThemePainterpublic void paintStatusBarSeparator(JComponent c, Graphics g, Rectangle rect, int orientation, int state)
paintStatusBarSeparator in interface ThemePainterprotected boolean shouldDisplayOnTop()
public void fillBackground(JComponent c, Graphics g, Rectangle rect, int orientation, int state, Color color)
fillBackground in interface ThemePainterpublic Insets getSortableTableHeaderColumnCellDecoratorInsets(JComponent c, Graphics g, Rectangle rect, int orientation, int state, int sortOrder, Icon sortIcon, int orderIndex, Color indexColor, boolean paintIndex)
getSortableTableHeaderColumnCellDecoratorInsets in interface ThemePainterpublic void paintSortableTableHeaderColumn(JComponent c, Graphics g, Rectangle rect, int orientation, int state, int sortOrder, Icon sortIcon, int orderIndex, Color indexColor, boolean paintIndex)
paintSortableTableHeaderColumn in interface ThemePainterCopyright © 2017. All rights reserved.