站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.SizeRequirements - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
javax.swing.SizeRequirements

Packages that use SizeRequirements
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
static SizeRequirements SizeRequirements.getTiledSizeRequirements(SizeRequirements[] children)
          Determines the total space necessary to place a set of components end-to-end.
static SizeRequirements SizeRequirements.getAlignedSizeRequirements(SizeRequirements[] children)
          Determines the total space necessary to align a set of components.
 

Methods in javax.swing with parameters of type SizeRequirements
static SizeRequirements SizeRequirements.getTiledSizeRequirements(SizeRequirements[] children)
          Determines the total space necessary to place 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 void SizeRequirements.calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans)
          Creates a bunch of offset/span pairs representing how to lay out a set of components end-to-end.
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 int[] SizeRequirements.adjustSizes(int delta, SizeRequirements[] children)
          Adjust a specified array of sizes by a given amount.
 

Uses of SizeRequirements in javax.swing.text
 

Methods in javax.swing.text that return SizeRequirements
protected  SizeRequirements BoxView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
           
protected  SizeRequirements BoxView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
           
protected  SizeRequirements BoxView.baselineRequirements(int axis, SizeRequirements r)
           
protected  SizeRequirements TableView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements for the minor axis.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
           
 

Methods in javax.swing.text with parameters of type SizeRequirements
protected  SizeRequirements BoxView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
           
protected  SizeRequirements BoxView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
           
protected  SizeRequirements BoxView.baselineRequirements(int axis, SizeRequirements r)
           
protected  void TableView.layoutColumns(int targetSpan, int[] offsets, int[] spans, SizeRequirements[] reqs)
          Layout the columns to fit within the given target span.
protected  SizeRequirements TableView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements for the minor axis.
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
           
 

Uses of SizeRequirements in javax.swing.text.html
 

Methods in javax.swing.text.html that return SizeRequirements
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
protected  SizeRequirements BlockView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the major axis (i.e.
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
protected  SizeRequirements ParagraphView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the needs for the paragraph along the minor axis.
protected  SizeRequirements BlockView.calculateMajorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the major axis (i.e.
protected  SizeRequirements BlockView.calculateMinorAxisRequirements(int axis, SizeRequirements r)
          Calculate the requirements of the block along the minor axis (i.e.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.