org.fuin.utils4swing.layout.scalable
Class DefaultScalableLayout

java.lang.Object
  extended by org.fuin.utils4swing.layout.scalable.AbstractScalableLayout
      extended by org.fuin.utils4swing.layout.scalable.ScalableLayout
          extended by org.fuin.utils4swing.layout.scalable.DefaultScalableLayout
All Implemented Interfaces:
java.awt.LayoutManager

public final class DefaultScalableLayout
extends ScalableLayout

A layout manager that resizes the content along to a given factor.


Constructor Summary
DefaultScalableLayout(ScalableLayoutRegistry registry, java.awt.Container container)
          Constructor with registry and container.
 
Method Summary
 void afterComponentsScaled(double factor)
          This method will be called after all components are scaled.
 
Methods inherited from class org.fuin.utils4swing.layout.scalable.AbstractScalableLayout
addLayoutComponent, addScaledComponent, findScaledComponent, getContainer, getFactor, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setFactor, setFactorRecursive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScalableLayout

public DefaultScalableLayout(ScalableLayoutRegistry registry,
                             java.awt.Container container)
Constructor with registry and container.

Parameters:
registry - Registry to use.
container - Container this layout should be applied to.
Method Detail

afterComponentsScaled

public final void afterComponentsScaled(double factor)
This method will be called after all components are scaled.

Specified by:
afterComponentsScaled in class AbstractScalableLayout
Parameters:
factor - Factor used.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.