dsto.dfc.swing.controls
Class NumericSpinner.LayoutManager
java.lang.Object
dsto.dfc.swing.controls.NumericSpinner.LayoutManager
- All Implemented Interfaces:
- LayoutManager, Serializable
- Enclosing class:
- NumericSpinner
protected class NumericSpinner.LayoutManager
- extends Object
- implements LayoutManager, Serializable
Custom layout manager for NumericSpinner. Auto-sizes buttons and
text field for best effect based on desired height of text field.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
smallestButtonSize
protected Dimension smallestButtonSize
currentArrowHeight
protected int currentArrowHeight
NumericSpinner.LayoutManager
public NumericSpinner.LayoutManager()
addLayoutComponent
public void addLayoutComponent(String name,
Component component)
- Specified by:
addLayoutComponent
in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component component)
- Specified by:
removeLayoutComponent
in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize
in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interface LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer
in interface LayoutManager
Copyright © 2008 Commonwealth of Australia