Uses of Class
javax.swing.SizeRequirements
| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text
components.
|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors. |
-
Uses of SizeRequirements in javax.swing
Methods in javax.swing that return SizeRequirements Modifier and Type Method Description static SizeRequirementsSizeRequirements. getAlignedSizeRequirements(SizeRequirements[] children)Determines the total space necessary to align a set of components.static SizeRequirementsSizeRequirements. getTiledSizeRequirements(SizeRequirements[] children)Determines the total space necessary to place a set of components end-to-end.Methods in javax.swing with parameters of type SizeRequirements Modifier and Type Method Description static int[]SizeRequirements. adjustSizes(int delta, SizeRequirements[] children)Adjust a specified array of sizes by a given amount.static voidSizeRequirements. calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans)Creates a bunch of offset/span pairs specifying how to lay out a set of components with the specified alignments.static voidSizeRequirements. calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal)Creates a set of offset/span pairs specifying how to lay out a set of components with the specified alignments.static voidSizeRequirements. calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans)Creates a set of offset/span pairs representing how to lay out a set of components end-to-end.static voidSizeRequirements. calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean forward)Creates a set of offset/span pairs representing how to lay out a set of components end-to-end.static SizeRequirementsSizeRequirements. getAlignedSizeRequirements(SizeRequirements[] children)Determines the total space necessary to align a set of components.static SizeRequirementsSizeRequirements. getTiledSizeRequirements(SizeRequirements[] children)Determines the total space necessary to place a set of components end-to-end. -
Uses of SizeRequirements in javax.swing.text
Methods in javax.swing.text that return SizeRequirements Modifier and Type Method Description protected SizeRequirementsBoxView. baselineRequirements(int axis, SizeRequirements r)Calculates the size requirements for thisBoxViewby examining the size of each child view.protected SizeRequirementsBoxView. calculateMajorAxisRequirements(int axis, SizeRequirements r)Calculates the size requirements for the major axisaxis.protected SizeRequirementsBoxView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculates the size requirements for the minor axisaxis.protected SizeRequirementsFlowView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate requirements along the minor axis.protected SizeRequirementsParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the needs for the paragraph along the minor axis.protected SizeRequirementsTableView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements for the minor axis.Methods in javax.swing.text with parameters of type SizeRequirements Modifier and Type Method Description protected SizeRequirementsBoxView. baselineRequirements(int axis, SizeRequirements r)Calculates the size requirements for thisBoxViewby examining the size of each child view.protected SizeRequirementsBoxView. calculateMajorAxisRequirements(int axis, SizeRequirements r)Calculates the size requirements for the major axisaxis.protected SizeRequirementsBoxView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculates the size requirements for the minor axisaxis.protected SizeRequirementsFlowView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate requirements along the minor axis.protected SizeRequirementsParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the needs for the paragraph along the minor axis.protected SizeRequirementsTableView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements for the minor axis.protected voidTableView. layoutColumns(int targetSpan, int[] offsets, int[] spans, SizeRequirements[] reqs)Lays out the columns to fit within the given target span. -
Uses of SizeRequirements in javax.swing.text.html
Methods in javax.swing.text.html that return SizeRequirements Modifier and Type Method Description protected SizeRequirementsBlockView. calculateMajorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements of the block along the major axis (i.e. the axis along with it tiles).protected SizeRequirementsBlockView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements of the block along the minor axis (i.e. the axis orthogonal to the axis along with it tiles).protected SizeRequirementsParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the needs for the paragraph along the minor axis.Methods in javax.swing.text.html with parameters of type SizeRequirements Modifier and Type Method Description protected SizeRequirementsBlockView. calculateMajorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements of the block along the major axis (i.e. the axis along with it tiles).protected SizeRequirementsBlockView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the requirements of the block along the minor axis (i.e. the axis orthogonal to the axis along with it tiles).protected SizeRequirementsParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)Calculate the needs for the paragraph along the minor axis.