| java.lang.Object org.apache.harmony.x.swing.SizeRequirementsHelper
SizeRequirementsHelper | final public class SizeRequirementsHelper (Code) | | Helper object which wraps functionality of javax.swing.SizeRequirements
so that it can be easily used by javax.swing.text.BoxView.
|
Method Summary | |
public static void | calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal) | public static void | calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) | public static void | calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal) | public static SizeRequirements | getAlignedSizeRequirements(SizeRequirements[] children, SizeRequirements sr, boolean alignByPreferred) See Also: javax.swing.SizeRequirements.getAlignedSizeRequirements(SizeRequirements[]) Parameters: sr - SizeRequirements where results to be copied. | public static SizeRequirements | getTiledSizeRequirements(SizeRequirements[] children, SizeRequirements sr) See Also: javax.swing.SizeRequirements.getTiledSizeRequirements(SizeRequirements[]) Parameters: sr - SizeRequirements where results to be copied. |
|
|