|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Dimension | |
java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. |
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. |
Uses of Dimension in java.applet |
Methods in java.applet with parameters of type Dimension | |
void |
Applet.resize(Dimension d)
Requests that this applet be resized. |
Uses of Dimension in java.awt |
Methods in java.awt that return Dimension | |
Dimension |
TextField.getPreferredSize(int columns)
Gets the preferred size of this text field with the specified number of columns. |
Dimension |
TextField.preferredSize(int columns)
Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int) . |
Dimension |
TextField.getPreferredSize()
Gets the preferred size of this text field. |
Dimension |
TextField.preferredSize()
Deprecated. As of JDK version 1.1, replaced by getPreferredSize() . |
Dimension |
TextField.getMinimumSize(int columns)
Gets the minumum dimensions for a text field with the specified number of columns. |
Dimension |
TextField.minimumSize(int columns)
Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int) . |
Dimension |
TextField.getMinimumSize()
Gets the minumum dimensions for this text field. |
Dimension |
TextField.minimumSize()
Deprecated. As of JDK version 1.1, replaced by getMinimumSize() . |
Dimension |
TextArea.getPreferredSize(int rows,
int columns)
Determines the preferred size of a text area with the specified number of rows and columns. |
Dimension |
TextArea.preferredSize(int rows,
int columns)
Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int, int) . |
Dimension |
TextArea.getPreferredSize()
Determines the preferred size of this text area. |
Dimension |
TextArea.preferredSize()
Deprecated. As of JDK version 1.1, replaced by getPreferredSize() . |
Dimension |
TextArea.getMinimumSize(int rows,
int columns)
Determines the minimum size of a text area with the specified number of rows and columns. |
Dimension |
TextArea.minimumSize(int rows,
int columns)
Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int, int) . |
Dimension |
TextArea.getMinimumSize()
Determines the minimum size of this text area. |
Dimension |
TextArea.minimumSize()
Deprecated. As of JDK version 1.1, replaced by getMinimumSize() . |
abstract Dimension |
Toolkit.getScreenSize()
Gets the size of the screen. |
Dimension |
ScrollPane.getViewportSize()
Returns the current size of the scroll pane's view port. |
Dimension |
LayoutManager2.maximumLayoutSize(Container target)
Returns the maximum size of this component. |
Dimension |
LayoutManager.preferredLayoutSize(Container parent)
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container. |
Dimension |
LayoutManager.minimumLayoutSize(Container parent)
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container. |
Dimension |
List.getPreferredSize(int rows)
Gets the preferred dimensions for a list with the specified number of rows. |
Dimension |
List.preferredSize(int rows)
Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int) . |
Dimension |
List.getPreferredSize()
Gets the preferred size of this scrolling list. |
Dimension |
List.preferredSize()
Deprecated. As of JDK version 1.1, replaced by getPreferredSize() . |
Dimension |
List.getMinimumSize(int rows)
Gets the minumum dimensions for a list with the specified number of rows. |
Dimension |
List.minimumSize(int rows)
Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int) . |
Dimension |
List.getMinimumSize()
Determines the minimum size of this scrolling list. |
Dimension |
List.minimumSize()
Deprecated. As of JDK version 1.1, replaced by getMinimumSize() . |
Dimension |
Rectangle.getSize()
Gets the size of this Rectangle , represented by
the returned Dimension . |
Dimension |
GridLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the container argument using this grid layout. |
Dimension |
GridLayout.minimumLayoutSize(Container parent)
Determines the minimum size of the container argument using this grid layout. |
Dimension |
GridBagLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the target
container using this grid bag layout. |
Dimension |
GridBagLayout.minimumLayoutSize(Container parent)
Determines the minimum size of the target container
using this grid bag layout. |
Dimension |
GridBagLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
Dimension |
FlowLayout.preferredLayoutSize(Container target)
Returns the preferred dimensions for this layout given the components in the specified target container. |
Dimension |
FlowLayout.minimumLayoutSize(Container target)
Returns the minimum dimensions needed to layout the components contained in the specified target container. |
Dimension |
Container.getPreferredSize()
Returns the preferred size of this container. |
Dimension |
Container.preferredSize()
Deprecated. As of JDK version 1.1, replaced by getPreferredSize() . |
Dimension |
Container.getMinimumSize()
Returns the minimum size of this container. |
Dimension |
Container.minimumSize()
Deprecated. As of JDK version 1.1, replaced by getMinimumSize() . |
Dimension |
Container.getMaximumSize()
Returns the maximum size of this container. |
Dimension |
Dimension.getSize()
Gets the size of this Dimension object. |
Dimension |
CardLayout.preferredLayoutSize(Container parent)
Determines the preferred size of the container argument using this card layout. |
Dimension |
CardLayout.minimumLayoutSize(Container parent)
Calculates the minimum size for the specified panel. |
Dimension |
CardLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
Dimension |
Component.getSize()
Returns the size of this component in the form of a Dimension object. |
Dimension |
Component.size()
Deprecated. As of JDK version 1.1, replaced by getSize() . |
Dimension |
Component.getSize(Dimension rv)
Store the width/height of this component into "return value" rv and return rv. |
Dimension |
Component.getPreferredSize()
Gets the preferred size of this component. |
Dimension |
Component.preferredSize()
Deprecated. As of JDK version 1.1, replaced by getPreferredSize() . |
Dimension |
Component.getMinimumSize()
Gets the mininimum size of this component. |
Dimension |
Component.minimumSize()
Deprecated. As of JDK version 1.1, replaced by getMinimumSize() . |
Dimension |
Component.getMaximumSize()
Gets the maximum size of this component. |
Dimension |
BorderLayout.minimumLayoutSize(Container target)
Determines the minimum size of the target container
using this layout manager. |
Dimension |
BorderLayout.preferredLayoutSize(Container target)
Determines the preferred size of the target
container using this layout manager, based on the components
in the container. |
Dimension |
BorderLayout.maximumLayoutSize(Container target)
Returns the maximum dimensions for this layout given the components in the specified target container. |
Methods in java.awt with parameters of type Dimension | |
void |
Rectangle.setSize(Dimension d)
Sets the size of this Rectangle to match the
specified Dimension . |
void |
Dimension.setSize(Dimension d)
Set the size of this Dimension object to the specified size. |
void |
Component.setSize(Dimension d)
Resizes this component so that it has width d.width
and height d.height . |
void |
Component.resize(Dimension d)
Deprecated. As of JDK version 1.1, replaced by setSize(Dimension) . |
Dimension |
Component.getSize(Dimension rv)
Store the width/height of this component into "return value" rv and return rv. |
Constructors in java.awt with parameters of type Dimension | |
Rectangle(Point p,
Dimension d)
Constructs a new Rectangle whose top-left corner is
specified by the Point argument, and
whose width and height are specified by the
Dimension argument. |
|
Rectangle(Dimension d)
Constructs a new Rectangle whose top left corner is
(0, 0) and whose width and height are specified
by the Dimension argument. |
|
Dimension(Dimension d)
Creates an instance of Dimension whose width
and height are the same as for the specified dimension. |
|
JSR-62 (Final) | ||||||||||
PREV NEXT | FRAMES NO FRAMES |