org.fuin.utils4swing.layout.scalable
Class DefaultScalableLayout2

java.lang.Object
  extended by org.fuin.utils4swing.layout.scalable.AbstractScalableLayout
      extended by org.fuin.utils4swing.layout.scalable.ScalableLayout2
          extended by org.fuin.utils4swing.layout.scalable.DefaultScalableLayout2
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public final class DefaultScalableLayout2
extends ScalableLayout2

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


Constructor Summary
DefaultScalableLayout2(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.ScalableLayout2
addLayoutComponent, getLayoutAlignmentX, getLayoutAlignmentY, getOriginalLayout, invalidateLayout, maximumLayoutSize
 
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
 
Methods inherited from interface java.awt.LayoutManager
addLayoutComponent, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 

Constructor Detail

DefaultScalableLayout2

public DefaultScalableLayout2(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.