Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev
Next
Sample
Document
Uses of Class java.awt.Dimension
Deprecated: ShowHide
View: ClientSubclassPackageImplementation

Uses of Class
java.awt.Dimension

  • Packages that use Dimension 
    Package Description
    java.awt
    Contains all of the classes for creating user interfaces and for painting graphics and images.
    • Uses of Dimension in java.awt

      Methods in java.awt that return Dimension 
      Modifier and Type Method and Description
      Dimension  Toolkit.getBestCursorSize(int preferredWidth, int preferredHeight)
      Returns the supported cursor dimension which is closest to the desired sizes.
      Dimension  Container.getMaximumSize()
      Returns the maximum size of this container.
      Dimension  Component.getMaximumSize()
      Gets the maximum size of this component.
      Dimension  TextField.getMinimumSize()
      Gets the minumum dimensions for this text field.
      Dimension  TextArea.getMinimumSize()
      Determines the minimum size of this text area.
      Dimension  List.getMinimumSize()
      Determines the minimum size of this scrolling list.
      Dimension  Container.getMinimumSize()
      Returns the minimum size of this container.
      Dimension  Component.getMinimumSize()
      Gets the mininimum size of this component.
      Dimension  TextField.getMinimumSize(int columns)
      Gets the minumum dimensions for a text field with the specified number of columns.
      Dimension  List.getMinimumSize(int rows)
      Gets the minumum dimensions for a list with the specified number of rows.
      Dimension  TextArea.getMinimumSize(int rows, int columns)
      Determines the minimum size of a text area with the specified number of rows and columns.
      protected Dimension  GridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info)
      Figures out the minimum size of the master based on the information from getLayoutInfo.
      protected Dimension  GridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info)
      This method is obsolete and supplied for backwards compatability only; new code should call getMinSize instead.
      abstract Dimension  PrintJob.getPageDimension()
      Returns the dimensions of the page in pixels.
      Dimension  TextField.getPreferredSize()
      Gets the preferred size of this text field.
      Dimension  TextArea.getPreferredSize()
      Determines the preferred size of this text area.
      Dimension  List.getPreferredSize()
      Gets the preferred size of this scrolling list.
      Dimension  Container.getPreferredSize()
      Returns the preferred size of this container.
      Dimension  Component.getPreferredSize()
      Gets the preferred size of this component.
      Dimension  TextField.getPreferredSize(int columns)
      Gets the preferred size of this text field with the specified number of columns.
      Dimension  List.getPreferredSize(int rows)
      Gets the preferred dimensions for a list with the specified number of rows.
      Dimension  TextArea.getPreferredSize(int rows, int columns)
      Determines the preferred size of a text area with the specified number of rows and columns.
      abstract Dimension  Toolkit.getScreenSize()
      Gets the size of the screen.
      Dimension  TrayIcon.getSize()
      Returns the size, in pixels, of the space that the tray icon occupies in the system tray.
      Dimension  SplashScreen.getSize()
      Returns the size of the splash screen window as a Dimension.
      Dimension  Rectangle.getSize()
      Gets the size of this Rectangle, represented by the returned Dimension.
      Dimension  MenuComponent.AccessibleAWTMenuComponent.getSize()
      Returns the size of this object in the form of a Dimension object.
      Dimension  List.AccessibleAWTList.AccessibleAWTListChild.getSize()
      Returns the size of this object in the form of a Dimension object.
      Dimension  Dimension.getSize()
      Gets the size of this Dimension object.
      Dimension  Component.getSize()
      Returns the size of this component in the form of a Dimension object.
      Dimension  Component.AccessibleAWTComponent.getSize()
      Returns the size of this object in the form of a Dimension object.
      Dimension  Component.getSize(Dimension rv)
      Stores the width/height of this component into "return value" rv and return rv.
      Dimension  SystemTray.getTrayIconSize()
      Returns the size, in pixels, of the space that a tray icon will occupy in the system tray.
      Dimension  ScrollPane.getViewportSize()
      Returns the current size of the scroll pane's view port.
      Dimension  LayoutManager2.maximumLayoutSize(Container target)
      Calculates the maximum size dimensions for the specified container, given the components it contains.
      Dimension  GridBagLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  CardLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  BorderLayout.maximumLayoutSize(Container target)
      Returns the maximum dimensions for this layout given the components in the specified target container.
      Dimension  LayoutManager.minimumLayoutSize(Container parent)
      Calculates the minimum size dimensions for the specified container, given the components it contains.
      Dimension  GridLayout.minimumLayoutSize(Container parent)
      Determines the minimum size of the container argument using this grid layout.
      Dimension  GridBagLayout.minimumLayoutSize(Container parent)
      Determines the minimum size of the parent container using this grid bag layout.
      Dimension  FlowLayout.minimumLayoutSize(Container target)
      Returns the minimum dimensions needed to layout the visible components contained in the specified target container.
      Dimension  CardLayout.minimumLayoutSize(Container parent)
      Calculates the minimum size for the specified panel.
      Dimension  BorderLayout.minimumLayoutSize(Container target)
      Determines the minimum size of the target container using this layout manager.
      Dimension  TextField.minimumSize()
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize().
      Dimension  TextArea.minimumSize()
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize().
      Dimension  List.minimumSize()
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize().
      Dimension  Container.minimumSize()
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize().
      Dimension  Component.minimumSize()
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize().
      Dimension  TextField.minimumSize(int columns)
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int).
      Dimension  List.minimumSize(int rows)
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int).
      Dimension  TextArea.minimumSize(int rows, int columns)
      Deprecated. As of JDK version 1.1, replaced by getMinimumSize(int, int).
      Dimension  LayoutManager.preferredLayoutSize(Container parent)
      Calculates the preferred size dimensions for the specified container, given the components it contains.
      Dimension  GridLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the container argument using this grid layout.
      Dimension  GridBagLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the parent container using this grid bag layout.
      Dimension  FlowLayout.preferredLayoutSize(Container target)
      Returns the preferred dimensions for this layout given the visible components in the specified target container.
      Dimension  CardLayout.preferredLayoutSize(Container parent)
      Determines the preferred size of the container argument using this card layout.
      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  TextField.preferredSize()
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize().
      Dimension  TextArea.preferredSize()
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize().
      Dimension  List.preferredSize()
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize().
      Dimension  Container.preferredSize()
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize().
      Dimension  Component.preferredSize()
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize().
      Dimension  TextField.preferredSize(int columns)
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int).
      Dimension  List.preferredSize(int rows)
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int).
      Dimension  TextArea.preferredSize(int rows, int columns)
      Deprecated. As of JDK version 1.1, replaced by getPreferredSize(int, int).
      Dimension  Component.size()
      Deprecated. As of JDK version 1.1, replaced by getSize().
      Methods in java.awt with parameters of type Dimension 
      Modifier and Type Method and Description
      Dimension  Component.getSize(Dimension rv)
      Stores the width/height of this component into "return value" rv and return rv.
      void  Component.resize(Dimension d)
      Deprecated. As of JDK version 1.1, replaced by setSize(Dimension).
      void  Component.setMaximumSize(Dimension maximumSize)
      Sets the maximum size of this component to a constant value.
      void  Window.setMinimumSize(Dimension minimumSize)
      Sets the minimum size of this window to a constant value.
      void  Component.setMinimumSize(Dimension minimumSize)
      Sets the minimum size of this component to a constant value.
      void  Component.setPreferredSize(Dimension preferredSize)
      Sets the preferred size of this component to a constant value.
      void  Window.setSize(Dimension d)
      Resizes this component so that it has width d.width and height d.height.
      void  Rectangle.setSize(Dimension d)
      Sets the size of this Rectangle to match the specified Dimension.
      void  MenuComponent.AccessibleAWTMenuComponent.setSize(Dimension d)
      Resizes this object.
      void  List.AccessibleAWTList.AccessibleAWTListChild.setSize(Dimension d)
      Resizes this object so that it has width and height.
      void  Dimension.setSize(Dimension d)
      Sets 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.AccessibleAWTComponent.setSize(Dimension d)
      Resizes this object so that it has width and height.
      Constructors in java.awt with parameters of type Dimension 
      Constructor and Description
      Dimension(Dimension d)
      Creates an instance of Dimension whose width and height are the same as for the specified dimension.
      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.
      Rectangle(Point p, Dimension d)
      Constructs a new Rectangle whose upper-left corner is specified by the Point argument, and whose width and height are specified by the Dimension argument.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge