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 ofRibbonElementPriority
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
Constructors Constructor Description Mirror(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 Detail
-
Mirror
public Mirror(JBandControlPanel controlPanel)
Creates the new resize policy of typeMIRROR
.- Parameters:
controlPanel
- The control panel of the associated ribbon band.
-
-