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 JLabelprotected ResizableIconprotected PropertyChangeListenerprotected JRibbonComponentThe associated ribbon component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ResizableIconprotected LayoutManagerstatic ComponentUIprotected intgetPreferredSize(RibbonElementPriority priority) protected voidInstalls subcomponents on the associated ribbon component.protected voidInstalls default parameters on the associated ribbon component.protected voidInstalls listeners on the associated ribbon component.voidprotected booleanisCaptionVisible(RibbonElementPriority displayPriority) protected booleanisIconVisible(RibbonElementPriority displayPriority) voidpaint(Graphics g, JComponent c) protected voidpaintIcon(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y) 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 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:
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. -
getKeyTipAnchorCenterPoint
- Specified by:
getKeyTipAnchorCenterPointin classRibbonComponentUI
-
createLayoutManager
-
paint
- Overrides:
paintin classComponentUI
-
paintIcon
-
getLayoutGap
protected int getLayoutGap() -
createDisabledIcon
-
isIconVisible
-
isCaptionVisible
-
getPreferredSize
- Specified by:
getPreferredSizein classRibbonComponentUI
-