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 JLabelprivate PropertyChangeListenerprivate PropertyChangeListenerprotected JRibbonComponentThe associated ribbon component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LayoutManagerprivate intprotected voidInstalls subcomponents on the associated ribbon component.protected voidInstalls default parameters on the associated ribbon component.protected voidInstalls listeners on the associated ribbon component.voidprivate booleanisCaptionVisible(JRibbonBand.PresentationPriority presentationPriority) private booleanisIconVisible(JRibbonBand.PresentationPriority presentationPriority) voidpaint(Graphics g, JComponent c) protected abstract voidpaintIcon(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y) private voidpropagateEnabled(boolean enabled) protected voidUninstalls components from the associated ribbon component.protected voidUninstalls default parameters from the associated ribbon component.protected voidUninstalls listeners from the associated ribbon component.voidMethods inherited from class 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:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin 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:
getKeyTipAnchorCenterPointin classRibbonComponentUI
-
getFocusSequence
- Specified by:
getFocusSequencein classRibbonComponentUI
-
createLayoutManager
-
paint
- Overrides:
paintin classComponentUI
-
paintIcon
-
getLayoutGap
private int getLayoutGap() -
isIconVisible
-
isCaptionVisible
-
getPreferredSize
- Specified by:
getPreferredSizein classRibbonComponentUI
-