|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jvnet.flamingo.ribbon.ui.RibbonUI
org.jvnet.flamingo.ribbon.ui.BasicRibbonUI
public class BasicRibbonUI
Basic UI for ribbon JRibbon
.
Field Summary | |
---|---|
static java.lang.String |
IS_USING_TITLE_PANE
Client property marking the ribbon component to indicate whether the task bar and contextual task group headers should be shown on the title pane of the window. |
Constructor Summary | |
---|---|
BasicRibbonUI()
Creates a new basic ribbon UI delegate. |
Method Summary | |
---|---|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
|
java.awt.Rectangle |
getContextualTaskGroupBounds(RibbonContextualTaskGroup group)
Returns the bounds of the specified contextual task group. |
int |
getTaskbarHeight()
Returns the height of the taskbar area. |
int |
getTaskToggleButtonHeight()
Returns the height of the task toggle button area. |
java.util.Map<RibbonTask,JRibbonTaskToggleButton> |
getTaskToggleButtons()
|
void |
handleMouseWheelEvent(java.awt.event.MouseWheelEvent e)
|
void |
installUI(javax.swing.JComponent c)
|
boolean |
isShowingScrollsForBands()
|
boolean |
isShowingScrollsForTaskToggleButtons()
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
|
void |
uninstallUI(javax.swing.JComponent c)
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IS_USING_TITLE_PANE
JRibbonFrame
.
Constructor Detail |
---|
public BasicRibbonUI()
Method Detail |
---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class javax.swing.plaf.ComponentUI
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
paint
in class javax.swing.plaf.ComponentUI
public java.awt.Rectangle getContextualTaskGroupBounds(RibbonContextualTaskGroup group)
RibbonUI
getContextualTaskGroupBounds
in class RibbonUI
group
- Contextual task group.
public int getTaskbarHeight()
public int getTaskToggleButtonHeight()
public boolean isShowingScrollsForTaskToggleButtons()
isShowingScrollsForTaskToggleButtons
in class RibbonUI
public boolean isShowingScrollsForBands()
isShowingScrollsForBands
in class RibbonUI
public java.util.Map<RibbonTask,JRibbonTaskToggleButton> getTaskToggleButtons()
public void handleMouseWheelEvent(java.awt.event.MouseWheelEvent e)
handleMouseWheelEvent
in class RibbonUI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |