public class RibbonUtil extends java.lang.Object
Constructor and Description |
---|
RibbonUtil() |
Modifier and Type | Method and Description |
---|---|
static org.pushingpixels.flamingo.api.common.AbstractCommandButton |
findButton(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band,
java.lang.String name) |
static org.pushingpixels.flamingo.api.common.AbstractCommandButton |
findButton(java.util.List<org.pushingpixels.flamingo.api.common.AbstractCommandButton> buttons,
java.lang.String name) |
static org.pushingpixels.flamingo.api.ribbon.JRibbonBand |
getBand(org.pushingpixels.flamingo.api.ribbon.RibbonTask ribbonTask,
java.lang.String name) |
static org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority |
getButtonPriority(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band,
org.pushingpixels.flamingo.api.common.AbstractCommandButton button) |
static java.util.List<org.pushingpixels.flamingo.api.common.AbstractCommandButton> |
getButtons(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band) |
static org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand |
getFlowBand(org.pushingpixels.flamingo.api.ribbon.RibbonTask ribbonTask,
java.lang.String name) |
static org.pushingpixels.flamingo.api.ribbon.RibbonTask |
getTask(org.pushingpixels.flamingo.api.ribbon.JRibbon ribbon,
java.lang.String name) |
static java.util.ArrayList<org.pushingpixels.flamingo.api.ribbon.RibbonTask> |
getTasks(org.pushingpixels.flamingo.api.ribbon.JRibbon ribbon) |
static void |
removeButton(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band,
java.lang.String name)
!
|
static void |
setFixedResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band) |
static void |
setPermissiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band) |
static void |
setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand band,
int step) |
static void |
setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band) |
static void |
setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band,
int gap) |
public RibbonUtil()
public static void setPermissiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band)
public static void setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band)
public static void setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band, int gap)
public static void setFixedResizePolicies(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band)
public static void setRestrictiveResizePolicies(org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand band, int step)
public static java.util.ArrayList<org.pushingpixels.flamingo.api.ribbon.RibbonTask> getTasks(org.pushingpixels.flamingo.api.ribbon.JRibbon ribbon)
public static org.pushingpixels.flamingo.api.ribbon.RibbonTask getTask(org.pushingpixels.flamingo.api.ribbon.JRibbon ribbon, java.lang.String name)
public static org.pushingpixels.flamingo.api.ribbon.JRibbonBand getBand(org.pushingpixels.flamingo.api.ribbon.RibbonTask ribbonTask, java.lang.String name)
public static org.pushingpixels.flamingo.api.ribbon.JFlowRibbonBand getFlowBand(org.pushingpixels.flamingo.api.ribbon.RibbonTask ribbonTask, java.lang.String name)
public static org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority getButtonPriority(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band, org.pushingpixels.flamingo.api.common.AbstractCommandButton button)
public static java.util.List<org.pushingpixels.flamingo.api.common.AbstractCommandButton> getButtons(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band)
public static org.pushingpixels.flamingo.api.common.AbstractCommandButton findButton(java.util.List<org.pushingpixels.flamingo.api.common.AbstractCommandButton> buttons, java.lang.String name)
public static org.pushingpixels.flamingo.api.common.AbstractCommandButton findButton(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band, java.lang.String name)
public static void removeButton(org.pushingpixels.flamingo.api.ribbon.JRibbonBand band, java.lang.String name)