de.frag.umlplugin.guilayout
Interface FlexLayout.SizeGetter
- Enclosing class:
- FlexLayout
protected static interface FlexLayout.SizeGetter
A SizeGetter gets size information from a component and is a simple
hook to get different size information in the same way (minimum size,
maximum size and preferred size).
Method Summary |
java.awt.Dimension |
getSize(java.awt.Component component)
|
java.awt.Dimension |
getStretchedSize()
a sizeinfo of the given component, assumed that it was stretch aligned. |
getSize
@NotNull
java.awt.Dimension getSize(@NotNull
java.awt.Component component)
getStretchedSize
@NotNull
java.awt.Dimension getStretchedSize()
- a sizeinfo of the given component, assumed that it was stretch aligned.
- Returns:
- a dimension object with Integr.MAX_VALUE values for the maximum
size, with 0 values otherwise