Class BasicRibbonComponentUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.RibbonComponentUI
org.pushingpixels.radiance.component.internal.ui.ribbon.BasicRibbonComponentUI
- Direct Known Subclasses:
RadianceRibbonComponentUI
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JLabel
private PropertyChangeListener
private PropertyChangeListener
protected JRibbonComponent
The associated ribbon component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManager
private int
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
private boolean
isCaptionVisible
(JRibbonBand.PresentationPriority presentationPriority) private boolean
isIconVisible
(JRibbonBand.PresentationPriority presentationPriority) void
paint
(Graphics g, JComponent c) protected abstract void
paintIcon
(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y) private void
propagateEnabled
(boolean enabled) 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, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Field Details
-
ribbonComponent
The associated ribbon component. -
captionLabel
-
propertyChangeListener
-
projectionPropertyChangeListener
-
-
Constructor Details
-
BasicRibbonComponentUI
public BasicRibbonComponentUI()
-
-
Method Details
-
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. -
propagateEnabled
private void propagateEnabled(boolean enabled) -
getKeyTipAnchorCenterPoint
- Specified by:
getKeyTipAnchorCenterPoint
in classRibbonComponentUI
-
getFocusSequence
- Specified by:
getFocusSequence
in classRibbonComponentUI
-
createLayoutManager
-
paint
- Overrides:
paint
in classComponentUI
-
paintIcon
-
getLayoutGap
private int getLayoutGap() -
isIconVisible
-
isCaptionVisible
-
getPreferredSize
- Specified by:
getPreferredSize
in classRibbonComponentUI
-