Class JSplitPaneScaler

All Implemented Interfaces:
Scaler

public class JSplitPaneScaler
extends ComponentScaler
A JSplitPane-specific extension of ComponentScaler.
Author:
D. Garkov
  • Constructor Details

    • JSplitPaneScaler

      public JSplitPaneScaler​(float scaleFactor)
  • Method Details

    • scaleComponent

      public void scaleComponent​(JComponent immediateComponent)
      Description copied from class: ComponentScaler
      A method to be called when this ComponentScaler has been dispatched to some immediate JComponent to be scaled - both from the central ComponentRegulator and on its own. A reason for a call outside the usual scaling routine could be an initialization of new components with overwritten, i.e custom-set, LAF Defaults, post-scaling. Attach a scaler and call this method after done with the initialization. For more specific JComponents, see the direct known subclasses.
      Overrides:
      scaleComponent in class ComponentScaler
      Parameters:
      immediateComponent - to be scaled