Class CoreRibbonResizePolicies

java.lang.Object
org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies

public class CoreRibbonResizePolicies extends Object
The core resize policies. Provides a number of built in resize policies that respect the application element priorities passed to JRibbonBand.addCommandButton(org.pushingpixels.flamingo.api.common.AbstractCommandButton, org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority) and JRibbonBand.addRibbonGallery(String, java.util.List, java.util.Map, int, int, org.pushingpixels.flamingo.api.ribbon.RibbonElementPriority) APIs. There are three types of built in resize policies:

In addition to the specific resize policies, this class provides three core resize policies lists for JRibbonBands:

Note that as mentioned above, all the three lists above have the collapsed policy as their last element.

In addition, the getCoreFlowPoliciesRestrictive(JFlowRibbonBand, int) returns a restrictive resize policy for JFlowRibbonBands. The list starts with the two-row policy, goes to the three-row policy and then finally to the collapsed policy.