Class CoreRibbonResizePolicies.Mid2Mid
java.lang.Object
org.pushingpixels.flamingo.api.ribbon.resize.BaseRibbonBandResizePolicy<JBandControlPanel>
org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies.Mid2Mid
- All Implemented Interfaces:
RibbonBandResizePolicy
- Enclosing class:
CoreRibbonResizePolicies
public static final class CoreRibbonResizePolicies.Mid2Mid
extends CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
Core resize policy that maps:
-
Field Summary
Fields inherited from class org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
mapping
Fields inherited from class org.pushingpixels.flamingo.api.ribbon.resize.BaseRibbonBandResizePolicy
controlPanel
-
Constructor Summary
ConstructorsConstructorDescriptionMid2Mid
(JBandControlPanel controlPanel) Creates the new resize policy of typeMID2MID
. -
Method Summary
Methods inherited from class org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
getPreferredButtonWidth, getPreferredWidth, getWidth, install
-
Constructor Details
-
Mid2Mid
Creates the new resize policy of typeMID2MID
.- Parameters:
controlPanel
- The control panel of the associated ribbon band.
-