Class CoreRibbonResizePolicies.Mirror
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.Mirror
- All Implemented Interfaces:
RibbonBandResizePolicy
- Enclosing class:
CoreRibbonResizePolicies
public static final class CoreRibbonResizePolicies.Mirror
extends CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
Mirror core resize policy that maps the values of
RibbonElementPriority
s to themselves.-
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
ConstructorsConstructorDescriptionMirror
(JBandControlPanel controlPanel) Creates the new resize policy of typeMIRROR
. -
Method Summary
Methods inherited from class org.pushingpixels.flamingo.api.ribbon.resize.CoreRibbonResizePolicies.BaseCoreRibbonBandResizePolicy
getPreferredButtonWidth, getPreferredWidth, getWidth, install
-
Constructor Details
-
Mirror
Creates the new resize policy of typeMIRROR
.- Parameters:
controlPanel
- The control panel of the associated ribbon band.
-