Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Uses of Class
java.awt.Dimension

Uses of Dimension in java.awt
 

Fields in java.awt declared as Dimension
(package private)  Dimension Component.minSize
          Cached information on the minimum size.
(package private)  Dimension Component.prefSize
          Cached information on the preferred size.
(package private)  Dimension Container.maxSize
           
 

Methods in java.awt that return Dimension
 Dimension Component.getSize()
          Returns the size of this object.
 Dimension Component.size()
          Deprecated. use Component.getSize() 55 instead
 Dimension Component.getSize(Dimension d)
          Returns the size of this component.
 Dimension Component.getPreferredSize()
          Returns the component's preferred size.
 Dimension Component.preferredSize()
          Deprecated. use Component.getPreferredSize() 55 instead
 Dimension Component.getMinimumSize()
          Returns the component's minimum size.
 Dimension Component.minimumSize()
          Deprecated. use Component.getMinimumSize() 55 instead
 Dimension Component.getMaximumSize()
          Returns the component's maximum size.
 Dimension Component.AccessibleAWTComponent.getSize()
          Gets the size of this component, or null if it is not showing.
 Dimension Container.getPreferredSize()
          Returns the preferred size of this container.
 Dimension Container.preferredSize()
          Deprecated. use Container.getPreferredSize() 55 instead
 Dimension Container.getMinimumSize()
          Returns the minimum size of this container.
 Dimension Container.minimumSize()
          Deprecated. use Container.getMinimumSize() 55 instead
 Dimension Container.getMaximumSize()
          Returns the maximum size of this container.
abstract  Dimension Toolkit.getScreenSize()
          Returns the dimensions of the screen in pixels.
 Dimension Toolkit.getBestCursorSize(int preferredWidth, int preferredHeight)
          Returns the supported cursor dimension which is closest to the desired sizes.
 Dimension Dimension.getSize()
          Returns the size of this dimension.
abstract  Dimension PrintJob.getPageDimension()
          Returns the dimension of the page in pixels.
 Dimension LayoutManager.preferredLayoutSize(Container parent)
          Calculates the preferred size for this container, taking into account the components it contains.
 Dimension LayoutManager.minimumLayoutSize(Container parent)
          Calculates the minimum size for this container, taking into account the components it contains.
 Dimension Rectangle.getSize()
          Returns the size of this rectangle.
 Dimension LayoutManager2.maximumLayoutSize(Container target)
          Determines the maximum size of the specified target container.
 Dimension BorderLayout.minimumLayoutSize(Container target)
          Returns the minimum size of the specified container using this layout.
 Dimension BorderLayout.preferredLayoutSize(Container target)
          Returns the preferred size of the specified container using this layout.
 Dimension BorderLayout.maximumLayoutSize(Container target)
          Returns the maximum size of the specified container using this layout.
private  Dimension BorderLayout.calcCompSize(Component comp, int what)
           
private  Dimension BorderLayout.calcSize(Container target, int what)
          This is a helper function used to compute the various sizes for this layout.
 Dimension MenuComponent.AccessibleAWTMenuComponent.getSize()
          Returns the size of the component.
 Dimension FlowLayout.minimumLayoutSize(Container cont)
          Returns the minimum layout size for the specified container using this layout.
 Dimension FlowLayout.preferredLayoutSize(Container cont)
          Returns the preferred layout size for the specified container using this layout.
private  Dimension FlowLayout.getSize(Container parent, boolean is_min)
           
 Dimension CardLayout.maximumLayoutSize(Container target)
          Get the maximum layout size of the container.
 Dimension CardLayout.minimumLayoutSize(Container target)
          Get the minimum layout size of the container.
 Dimension CardLayout.preferredLayoutSize(Container parent)
          Get the preferred layout size of the container.
private  Dimension CardLayout.getSize(Container parent, int what)
           
 Dimension GridLayout.minimumLayoutSize(Container cont)
          Get the minimum layout size of the container.
 Dimension GridLayout.preferredLayoutSize(Container cont)
          Get the preferred layout size of the container.
private  Dimension GridLayout.getSize(Container parent, boolean is_min)
           
 Dimension TextField.getMinimumSize()
          Returns the minimum size for this text field.
 Dimension TextField.getMinimumSize(int columns)
          Returns the minimum size of a text field with the specified number of columns.
 Dimension TextField.minimumSize()
          Deprecated. This method is deprecated in favor of getMinimumSize().
 Dimension TextField.minimumSize(int columns)
          Deprecated. This method is deprecated in favor of getMinimumSize(int).
 Dimension TextField.getPreferredSize()
          Returns the preferred size for this text field.
 Dimension TextField.getPreferredSize(int columns)
          Returns the preferred size of a text field with the specified number of columns.
 Dimension TextField.preferredSize()
          Deprecated. This method is deprecated in favor of getPreferredSize().
 Dimension TextField.preferredSize(int columns)
          Deprecated. This method is deprecated in favor of getPreferredSize(int).
 Dimension TextArea.getMinimumSize()
          Retrieve the minimum size for this text area, considering the text area's current row and column values.
 Dimension TextArea.getMinimumSize(int rows, int columns)
          Retrieve the minimum size that this text area would have if its row and column values were equal to those specified.
 Dimension TextArea.minimumSize()
          Deprecated. This method is deprecated in favor of getMinimumSize ().
 Dimension TextArea.minimumSize(int rows, int columns)
          Deprecated. This method is deprecated in favor of getMinimumSize (int, int).
 Dimension TextArea.getPreferredSize()
          Retrieve the preferred size for this text area, considering the text area's current row and column values.
 Dimension TextArea.getPreferredSize(int rows, int columns)
          Retrieve the preferred size that this text area would have if its row and column values were equal to those specified.
 Dimension TextArea.preferredSize()
          Deprecated. This method is deprecated in favor of getPreferredSize ().
 Dimension TextArea.preferredSize(int rows, int columns)
          Deprecated. This method is deprecated in favor of getPreferredSize (int, int).
 Dimension ScrollPane.getViewportSize()
          Returns the current viewport size.
 Dimension List.getMinimumSize()
          Returns the minimum size of this component.
 Dimension List.minimumSize()
          Deprecated. This method is deprecated in favor of getMinimumSize.
 Dimension List.getMinimumSize(int rows)
          Returns the minimum size of this component assuming it had the specified number of rows.
 Dimension List.minimumSize(int rows)
          Deprecated. This method is deprecated in favor of getMinimumSize(int)>
 Dimension List.getPreferredSize()
          Returns the preferred size of this component.
 Dimension List.preferredSize()
          Deprecated. This method is deprecated in favor of getPreferredSize.
 Dimension List.getPreferredSize(int rows)
          Returns the preferred size of this component assuming it had the specified number of rows.
 Dimension List.preferredSize(int rows)
          Deprecated. This method is deprecated in favor of getPreferredSize(int)>
 Dimension GridBagLayout.preferredLayoutSize(Container parent)
           
 Dimension GridBagLayout.minimumLayoutSize(Container parent)
           
 Dimension GridBagLayout.maximumLayoutSize(Container target)
           
protected  Dimension GridBagLayout.GetMinSize(Container parent, GridBagLayoutInfo info)
          Obsolete.
protected  Dimension GridBagLayout.getMinSize(Container parent, GridBagLayoutInfo info)
           
 

Methods in java.awt with parameters of type Dimension
 void Component.setSize(Dimension d)
          Sets the size of this component to the specified value.
 void Component.resize(Dimension d)
          Deprecated. use Component.setSize(Dimension) 55 instead
 Dimension Component.getSize(Dimension d)
          Returns the size of this component.
 void Component.AccessibleAWTComponent.setSize(Dimension d)
          Sets the size of this component.
 void Dimension.setSize(Dimension d)
          Sets the width and height of this object to match that of the specified object.
 void Rectangle.setSize(Dimension d)
          Sets the size of this rectangle based on the specified dimensions.
 void MenuComponent.AccessibleAWTMenuComponent.setSize(Dimension size)
          Sets the size of the component.
 

Constructors in java.awt with parameters of type Dimension
Dimension(Dimension d)
          Create a new Dimension with width and height identical to that of the specified dimension.
Rectangle(Point p, Dimension d)
          Initializes a new instance of Rectangle with a top-left corner represented by the specified point and the width and height represented by the specified dimension.
Rectangle(Dimension d)
          Initializes a new instance of Rectangle with an upper left corner at the origin (0,0) and a width and height represented by the specified dimension.