|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.RibbonComponentUI
org.pushingpixels.flamingo.internal.ui.ribbon.BasicRibbonComponentUI
public class BasicRibbonComponentUI
Nested Class Summary | |
---|---|
protected class |
BasicRibbonComponentUI.ExtComponentLayout
|
Field Summary | |
---|---|
protected JLabel |
captionLabel
|
protected ResizableIcon |
disabledIcon
|
protected PropertyChangeListener |
propertyChangeListener
|
protected JRibbonComponent |
ribbonComponent
The associated ribbon component. |
Constructor Summary | |
---|---|
BasicRibbonComponentUI()
|
Method Summary | |
---|---|
protected ResizableIcon |
createDisabledIcon()
|
protected LayoutManager |
createLayoutManager()
|
static ComponentUI |
createUI(JComponent c)
|
Point |
getKeyTipAnchorCenterPoint()
|
protected int |
getLayoutGap()
|
Dimension |
getPreferredSize(RibbonElementPriority priority)
|
protected void |
installComponents()
Installs subcomponents on the associated ribbon component. |
protected void |
installDefaults()
Installs default parameters on the associated ribbon component. |
protected void |
installListeners()
Installs listeners on the associated ribbon component. |
void |
installUI(JComponent c)
|
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 |
uninstallComponents()
Uninstalls components from the associated ribbon component. |
protected void |
uninstallDefaults()
Uninstalls default parameters from the associated ribbon component. |
protected void |
uninstallListeners()
Uninstalls listeners from the associated ribbon component. |
void |
uninstallUI(JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JRibbonComponent ribbonComponent
protected JLabel captionLabel
protected PropertyChangeListener propertyChangeListener
protected ResizableIcon disabledIcon
Constructor Detail |
---|
public BasicRibbonComponentUI()
Method Detail |
---|
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void installComponents()
protected void installListeners()
protected void uninstallDefaults()
protected void uninstallComponents()
protected void uninstallListeners()
public Point getKeyTipAnchorCenterPoint()
getKeyTipAnchorCenterPoint
in class RibbonComponentUI
protected LayoutManager createLayoutManager()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
protected void paintIcon(Graphics g, JRibbonComponent ribbonComp, Icon icon, int x, int y)
protected int getLayoutGap()
protected ResizableIcon createDisabledIcon()
protected boolean isIconVisible(RibbonElementPriority displayPriority)
protected boolean isCaptionVisible(RibbonElementPriority displayPriority)
public Dimension getPreferredSize(RibbonElementPriority priority)
getPreferredSize
in class RibbonComponentUI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |