Class BasicRibbonComponentUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.RibbonComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonComponentUI
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JLabel
protected ResizableIcon
protected PropertyChangeListener
protected JRibbonComponent
The associated ribbon component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResizableIcon
protected LayoutManager
static ComponentUI
protected int
getPreferredSize
(RibbonElementPriority priority) protected void
Installs subcomponents on the associated ribbon component.protected void
Installs default parameters on the associated ribbon component.protected void
Installs listeners on the associated ribbon component.void
protected boolean
isCaptionVisible
(RibbonElementPriority displayPriority) protected boolean
isIconVisible
(RibbonElementPriority displayPriority) void
paint
(Graphics g, JComponent c) protected void
paintIcon
(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y) protected void
Uninstalls components from the associated ribbon component.protected void
Uninstalls default parameters from the associated ribbon component.protected void
Uninstalls listeners from the associated ribbon component.void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Field Details
-
ribbonComponent
The associated ribbon component. -
captionLabel
-
propertyChangeListener
-
disabledIcon
-
-
Constructor Details
-
BasicRibbonComponentUI
public BasicRibbonComponentUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
installDefaults
protected void installDefaults()Installs default parameters on the associated ribbon component. -
installComponents
protected void installComponents()Installs subcomponents on the associated ribbon component. -
installListeners
protected void installListeners()Installs listeners on the associated ribbon component. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls default parameters from the associated ribbon component. -
uninstallComponents
protected void uninstallComponents()Uninstalls components from the associated ribbon component. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated ribbon component. -
getKeyTipAnchorCenterPoint
- Specified by:
getKeyTipAnchorCenterPoint
in classRibbonComponentUI
-
createLayoutManager
-
paint
- Overrides:
paint
in classComponentUI
-
paintIcon
-
getLayoutGap
protected int getLayoutGap() -
createDisabledIcon
-
isIconVisible
-
isCaptionVisible
-
getPreferredSize
- Specified by:
getPreferredSize
in classRibbonComponentUI
-