Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
javax.swing.SizeRequirements

Packages that use 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 and Description
static SizeRequirements SizeRequirements.getAlignedSizeRequirements(SizeRequirements[] children)
          Determines the total space necessary to align a set of components.
static SizeRequirements SizeRequirements.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 and Description
static int[] SizeRequirements.adjustSizes(int delta, SizeRequirements[] children)
          Adjust a specified array of sizes by a given amount.
static void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 void SizeRequirements.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 SizeRequirements SizeRequirements.getAlignedSizeRequirements(SizeRequirements[] children)
          Determines the total space necessary to align a set of components.
static SizeRequirements SizeRequirements.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 and Description
protected  SizeRequirements BoxView.baselineRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for this BoxView by examining the size of each child view.
protected  SizeRequirements BoxView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for the major axis axis.
protected  SizeRequirements TableView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements for the minor axis.
protected  SizeRequirements BoxView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for the minor axis axis.
protected  SizeRequirements FlowView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate equirements along the minor axis.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
 

Methods in javax.swing.text with parameters of type SizeRequirements
Modifier and Type Method and Description
protected  SizeRequirements BoxView.baselineRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for this BoxView by examining the size of each child view.
protected  SizeRequirements BoxView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for the major axis axis.
protected  SizeRequirements TableView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements for the minor axis.
protected  SizeRequirements BoxView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculates the size requirements for the minor axis axis.
protected  SizeRequirements FlowView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate equirements along the minor axis.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
protected  void TableView.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 and Description
protected  SizeRequirements BlockView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the major axis (i.e.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
protected  SizeRequirements BlockView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the minor axis (i.e.
 

Methods in javax.swing.text.html with parameters of type SizeRequirements
Modifier and Type Method and Description
protected  SizeRequirements BlockView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the major axis (i.e.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
protected  SizeRequirements BlockView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the minor axis (i.e.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.