Class MetalTitlebarUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.flexdock.plaf.FlexViewComponentUI
org.flexdock.plaf.theme.TitlebarUI
org.flexdock.plaf.theme.metal.MetalTitlebarUI
- All Implemented Interfaces:
IFlexViewComponentUI, XMLConstants
- Author:
- Claudio Romano
-
Field Summary
Fields inherited from class 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, PAINTERFields inherited from class FlexViewComponentUI
creationParametersFields inherited from interface IFlexViewComponentUI
ICON_RESOURCEFields inherited from interface XMLConstants
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColorgetBackgroundColor(boolean active) protected intgetPainterWidth(Graphics g, Titlebar titlebar) protected intgetPainterX(Graphics g, Titlebar titlebar) protected voidpaintBackground(Graphics g, Titlebar titlebar) Methods inherited from class TitlebarUI
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, uninstallUIMethods inherited from class FlexViewComponentUI
getCreationParameters, setCreationParametersMethods inherited from class ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Constructor Details
-
MetalTitlebarUI
public MetalTitlebarUI()
-
-
Method Details
-
paintBackground
- Overrides:
paintBackgroundin classTitlebarUI
-
getBackgroundColor
- Overrides:
getBackgroundColorin classTitlebarUI
-
getPainterX
-
getPainterWidth
-