Class CoreRibbonResizePolicies

java.lang.Object
org.pushingpixels.radiance.component.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.addRibbonCommand(BaseCommandButtonProjection, JRibbonBand.PresentationPriority) and JRibbonBand.addRibbonGallery(RibbonGalleryProjection, JRibbonBand.PresentationPriority) 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.