org.fuin.utils4swing.layout.scalable
Class ScalableBorderLayout

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.ScalableBorderLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2

public final class ScalableBorderLayout
extends ScalableLayout2

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


Constructor Summary
ScalableBorderLayout(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

ScalableBorderLayout

public ScalableBorderLayout(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 © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.