Uses of Class
javax.swing.SizeRequirements
-
Packages that use SizeRequirements 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit
和支持类创建HTML文本编辑器。 -
-
Uses of SizeRequirements in javax.swing
Methods in javax.swing that return SizeRequirements Modifier and Type 方法 描述 static SizeRequirements
SizeRequirements. getAlignedSizeRequirements(SizeRequirements[] children)
确定对齐一组组件所需的总空间。static SizeRequirements
SizeRequirements. getTiledSizeRequirements(SizeRequirements[] children)
确定端点到端放置一组组件所需的总空间。Methods in javax.swing with parameters of type SizeRequirements Modifier and Type 方法 描述 static int[]
SizeRequirements. adjustSizes(int delta, SizeRequirements[] children)
将指定的大小数组调整一定量。static void
SizeRequirements. calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans)
创建一堆偏移/跨度对,指定如何使用指定的对齐方式布置一组组件。static void
SizeRequirements. calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal)
创建一组偏移/跨度对,指定如何使用指定的对齐方式布置一组组件。static void
SizeRequirements. calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans)
创建一组偏移/跨度对,这些偏移/跨度对代表端到端布局一组组件。static void
SizeRequirements. calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean forward)
创建一组偏移/跨度对,这些偏移/跨度对代表端到端布局一组组件。static SizeRequirements
SizeRequirements. getAlignedSizeRequirements(SizeRequirements[] children)
确定对齐一组组件所需的总空间。static SizeRequirements
SizeRequirements. getTiledSizeRequirements(SizeRequirements[] children)
确定端点到端放置一组组件所需的总空间。 -
Uses of SizeRequirements in javax.swing.text
Methods in javax.swing.text that return SizeRequirements Modifier and Type 方法 描述 protected SizeRequirements
BoxView. baselineRequirements(int axis, SizeRequirements r)
通过检查每个子视图的大小来计算BoxView
的大小要求。protected SizeRequirements
BoxView. calculateMajorAxisRequirements(int axis, SizeRequirements r)
计算长轴axis
的尺寸要求。protected SizeRequirements
TableView.TableRow. calculateMajorAxisRequirements(int axis, SizeRequirements r)
protected SizeRequirements
BoxView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算短轴axis
的尺寸要求。protected SizeRequirements
FlowView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿短轴的要求。protected SizeRequirements
ParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿着短轴的段落的需要。protected SizeRequirements
TableView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算短轴的要求。Methods in javax.swing.text with parameters of type SizeRequirements Modifier and Type 方法 描述 protected SizeRequirements
BoxView. baselineRequirements(int axis, SizeRequirements r)
通过检查每个子视图的大小来计算BoxView
的大小要求。protected SizeRequirements
BoxView. calculateMajorAxisRequirements(int axis, SizeRequirements r)
计算长轴axis
的尺寸要求。protected SizeRequirements
TableView.TableRow. calculateMajorAxisRequirements(int axis, SizeRequirements r)
protected SizeRequirements
BoxView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算短轴axis
的尺寸要求。protected SizeRequirements
FlowView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿短轴的要求。protected SizeRequirements
ParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿着短轴的段落的需要。protected SizeRequirements
TableView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算短轴的要求。protected void
TableView. layoutColumns(int targetSpan, int[] offsets, int[] spans, SizeRequirements[] reqs)
将列排出以适应给定的目标范围。 -
Uses of SizeRequirements in javax.swing.text.html
Methods in javax.swing.text.html that return SizeRequirements Modifier and Type 方法 描述 protected SizeRequirements
BlockView. calculateMajorAxisRequirements(int axis, SizeRequirements r)
沿着长轴计算块的要求(即轴与其一起的瓦片)。protected SizeRequirements
BlockView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿着短轴的块的要求(即,与轴一起垂直于轴的轴以及瓦片)。protected SizeRequirements
ParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿着短轴的段落的需要。Methods in javax.swing.text.html with parameters of type SizeRequirements Modifier and Type 方法 描述 protected SizeRequirements
BlockView. calculateMajorAxisRequirements(int axis, SizeRequirements r)
沿着长轴计算块的要求(即轴与其一起的瓦片)。protected SizeRequirements
BlockView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
计算沿着短轴的块的要求(即,与轴一起垂直于轴的轴以及瓦片)。protected SizeRequirements
ParagraphView. calculateMinorAxisRequirements(int axis, SizeRequirements r)
Calculate the needs for the paragraph along the minor axis.
-