public class MetalTitlebarUI extends TitlebarUI
activeBackground, activeBorder, activeFont, antialiasing, ANTIALIASING, BACKGROUND_COLOR, BACKGROUND_COLOR_ACTIVE, BORDER, BORDER_ACTIVE, buttonMargin, DEFAULT_HEIGHT, defaultHeight, defaultIcons, font, FONT, FONT_COLOR, FONT_COLOR_ACTIVE, ICON_INSETS, iconInsets, inactiveBackground, inactiveBorder, inactiveFont, insets, INSETS, MINIMUM_HEIGHT, painter, PAINTER
creationParameters
ICON_RESOURCE
ATTRIBUTE_KEY, CLASSNAME_KEY, CONSTRUCTOR_KEY, DESC_KEY, EXTENDS_KEY, HANDLER_KEY, INHERITS_KEY, NAME_KEY, OVERRIDDEN_KEY, PROP_HANDLER_KEY, PROPERTY_KEY, REFERENCE_KEY, VALUE_KEY
Constructor and Description |
---|
MetalTitlebarUI() |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Color |
getBackgroundColor(boolean active) |
protected int |
getPainterWidth(java.awt.Graphics g,
Titlebar titlebar) |
protected int |
getPainterX(java.awt.Graphics g,
Titlebar titlebar) |
protected void |
paintBackground(java.awt.Graphics g,
Titlebar titlebar) |
configureAction, getAction, getActiveBackground, getActiveBorder, getActiveFont, getBorder, getButtonMargin, getDefaultHeight, getDefaultIcons, getFont, getFontColor, getIconInsets, getIconRect, getIcons, getIcons, getInactiveBackground, getInactiveBorder, getInactiveFont, getInsets, getLeftIconMargin, getPainter, getPaintRect, getPreferredButtonUI, getPreferredSize, getRightIconMargin, getTextLocation, initializeCreationParameters, installUI, isAntialiasing, layoutComponents, paint, paintBorder, paintIcon, paintTitle, setActiveBackground, setActiveBorder, setActiveFont, setAntialiasing, setButtonMargin, setDefaultHeight, setDefaultIcons, setDefaultIcons, setFont, setIconInsets, setInactiveBackground, setInactiveBorder, setInactiveFont, setInsets, setPainter, uninstallUI
getCreationParameters, setCreationParameters
protected void paintBackground(java.awt.Graphics g, Titlebar titlebar)
paintBackground
in class TitlebarUI
protected java.awt.Color getBackgroundColor(boolean active)
getBackgroundColor
in class TitlebarUI
protected int getPainterX(java.awt.Graphics g, Titlebar titlebar)
protected int getPainterWidth(java.awt.Graphics g, Titlebar titlebar)