org.fuin.utils4swing.layout.scalable
Class ScalableBorderLayout
java.lang.Object
org.fuin.utils4swing.layout.scalable.AbstractScalableLayout
org.fuin.utils4swing.layout.scalable.ScalableLayout2
org.fuin.utils4swing.layout.scalable.ScalableBorderLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2
public final class ScalableBorderLayout
- extends ScalableLayout2
A layout manager that resizes the content along to a given factor.
|
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 |
ScalableBorderLayout
public ScalableBorderLayout(ScalableLayoutRegistry registry,
Container container)
- Constructor with registry and container.
- Parameters:
registry - Registry to use.container - Container this layout should be applied to.
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.