Java Platform 1.2

Uses of Class
java.awt.Dimension

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. 
javax.accessibility Defines a contract between user-interface components and an assistive technology that provides access to those components. 
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.border Provides classes and interface for drawing specialized borders around a Swing component. 
javax.swing.plaf Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. 
javax.swing.plaf.basic Provides user interface objects built according to the Basic look-and-feel. 
javax.swing.plaf.metal Provides user interface objects built according to the ``metal'' look-and-feel. 
javax.swing.plaf.multi The multiplexing look and feel allows users to combine auxiliary look and feels with the default look and feel. 
javax.swing.table Provides classes and interfaces for dealing with java.awt.swing.JTable. 
javax.swing.text Provides classes and interfaces that deal with editable and noneditable text components. 
javax.swing.tree Provides classes and interfaces for dealing with java.awt.swing.JTree. 
 

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 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 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 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 Dimension.getSize()
          Gets the size of this Dimension object.
abstract  Dimension PrintJob.getPageDimension()
          Returns the dimensions of the page in pixels.
 Dimension LayoutManager2.maximumLayoutSize(Container target)
          Returns the maximum size of this component.
 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.
abstract  Dimension Toolkit.getScreenSize()
          Gets the size of the screen.
 Dimension Toolkit.getBestCursorSize(int preferredWidth, int preferredHeight)
          Returns the supported cursor dimension which is closest to the desired sizes.
 Dimension ScrollPane.getViewportSize()
          Returns the current size of the scroll pane's view port.
 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 Rectangle.getSize()
          Gets the size of this Rectangle, represented by the returned Dimension.
 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 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().
 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 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.
protected  Dimension GridBagLayout.GetMinSize(Container parent, java.awt.GridBagLayoutInfo info)
           
 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 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 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.
 void Dimension.setSize(Dimension d)
          Set the size of this Dimension object to the specified size.
 void Rectangle.setSize(Dimension d)
          Sets the size of this Rectangle to match the specified Dimension.
 

Constructors in java.awt with parameters of type Dimension
Dimension.Dimension(Dimension d)
          Creates an instance of Dimension whose width and height are the same as for the specified dimension.
Rectangle.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.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.
 

Uses of Dimension in javax.accessibility
 

Methods in javax.accessibility that return Dimension
 Dimension AccessibleComponent.getSize()
          Returns the size of this object in the form of a Dimension object.
 

Methods in javax.accessibility with parameters of type Dimension
 void AccessibleComponent.setSize(Dimension d)
          Resizes this object so that it has width and height.
 

Uses of Dimension in javax.swing
 

Fields in javax.swing declared as Dimension
protected  Dimension JTable.preferredViewportSize
          Used by the Scrollable interface to determine the initial visible area
 

Methods in javax.swing that return Dimension
 Dimension JComponent.getPreferredSize()
          If the preferredSize has been set to a non-null value just return it.
 Dimension JComponent.getMaximumSize()
          If the maximumSize has been set to a non-null value just return it.
 Dimension JComponent.getMinimumSize()
          If the minimumSize has been set to a non-null value just return it.
 Dimension JComponent.getSize(Dimension rv)
          Store the width/height of this component into "return value" rv and return rv.
 Dimension JEditorPane.getPreferredSize()
          The preferred size for JEditorPane is slightly altered from the preferred size of the superclass.
 Dimension JComponent.AccessibleJComponent.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension JTree.getPreferredScrollableViewportSize()
          Returns the preferred display size of a JTree.
 Dimension JTree.AccessibleJTree.AccessibleJTreeNode.getSize()
           
 Dimension ViewportLayout.preferredLayoutSize(Container parent)
          Returns the preferred dimensions for this layout given the components in the specified target container.
 Dimension ViewportLayout.minimumLayoutSize(Container parent)
          Returns the minimum dimensions needed to layout the components contained in the specified target container.
static Dimension UIManager.getDimension(Object key)
          Returns a dimension from the defaults table.
 Dimension UIDefaults.getDimension(Object key)
          If the value of key is a Dimension return it, otherwise return null.
 Dimension JApplet.AccessibleJApplet.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension JTextField.getPreferredSize()
          Returns the preferred size Dimensions needed for this TextField.
 Dimension RepaintManager.getDoubleBufferMaximumSize()
          Returns the maximum double buffer size.
 Dimension JToolBar.Separator.getSeparatorSize()
          Return the size of the separator
 Dimension JToolBar.Separator.getMinimumSize()
          Return the minimum size for the separator
 Dimension JToolBar.Separator.getMaximumSize()
          Return the maximum size for the separator
 Dimension JToolBar.Separator.getPreferredSize()
          Return the preferred size for the separator
 Dimension JScrollBar.getMinimumSize()
          The scrollbar is flexible along it's scrolling axis and rigid along the other axis.
 Dimension JScrollBar.getMaximumSize()
          The scrollbar is flexible along it's scrolling axis and rigid along the other axis.
 Dimension JViewport.getViewSize()
          If the view's size hasn't been explicitly set, return the preferred size, otherwise return the view's current size.
 Dimension JViewport.getExtentSize()
          Returns the size of the visible part of the view in view coordinates.
 Dimension JViewport.toViewCoordinates(Dimension size)
          Convert a size in pixel coordinates to view coordinates.
 Dimension ScrollPaneLayout.preferredLayoutSize(Container parent)
          The preferred size of a ScrollPane is the size of the insets, plus the preferred size of the viewport, plus the preferred size of the visible headers, plus the preferred size of the scrollbars that will appear given the current view and the current scrollbar displayPolicies.
 Dimension ScrollPaneLayout.minimumLayoutSize(Container parent)
          The minimum size of a ScrollPane is the size of the insets plus minimum size of the viewport, plus the scrollpane's viewportBorder insets, plus the minimum size of the visible headers, plus the minimum size of the scrollbars whose displayPolicy isn't NEVER.
 Dimension JWindow.AccessibleJWindow.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension BoxLayout.preferredLayoutSize(Container target)
          Returns the preferred dimensions for this layout, given the components in the specified target container.
 Dimension BoxLayout.minimumLayoutSize(Container target)
          Returns the minimum dimensions needed to lay out the components contained in the specified target container.
 Dimension BoxLayout.maximumLayoutSize(Container target)
          Returns the maximum dimensions the target container can use to lay out the components it contains.
 Dimension JRootPane.RootLayout.preferredLayoutSize(Container parent)
          Returns the amount of space the layout would like to have.
 Dimension JRootPane.RootLayout.minimumLayoutSize(Container parent)
          Returns the minimum amount of space the layout needs.
 Dimension JRootPane.RootLayout.maximumLayoutSize(Container target)
          Returns the maximum amount of space the layout can use.
 Dimension JTextArea.getPreferredSize()
          Returns the preferred size of the TextArea.
 Dimension JTextArea.getPreferredScrollableViewportSize()
          Returns the preferred size of the viewport if this component is embedded in a JScrollPane.
 Dimension Scrollable.getPreferredScrollableViewportSize()
          Returns the preferred size of the viewport for a view component.
 Dimension Box.Filler.getMinimumSize()
          Returns the minimum size of the component.
 Dimension Box.Filler.getPreferredSize()
          Returns the preferred size of the component.
 Dimension Box.Filler.getMaximumSize()
          Returns the maximum size of the component.
 Dimension Box.Filler.AccessibleBoxFiller.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension Box.AccessibleBox.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension JDialog.AccessibleJDialog.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension CellRendererPane.AccessibleCellRendererPane.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension JTable.getIntercellSpacing()
          Returns the horizontal and vertical spacing between cells.
 Dimension JTable.getPreferredScrollableViewportSize()
          Returns the preferred size of the viewport for this table.
 Dimension JTable.AccessibleJTable.AccessibleJTableCell.getSize()
           
 Dimension OverlayLayout.preferredLayoutSize(Container target)
          Returns the preferred dimensions for this layout given the components in the specified target container.
 Dimension OverlayLayout.minimumLayoutSize(Container target)
          Returns the minimum dimensions needed to lay out the components contained in the specified target container.
 Dimension OverlayLayout.maximumLayoutSize(Container target)
          Returns the minimum dimensions needed to lay out the components contained in the specified target container.
 Dimension JFrame.AccessibleJFrame.getSize()
          Returns the size of this object in the form of a Dimension object.
 Dimension JList.getPreferredScrollableViewportSize()
          Compute the size of the viewport needed to display visibleRowCount rows.
 Dimension JList.AccessibleJList.AccessibleJListChild.getSize()
           
 

Methods in javax.swing with parameters of type Dimension
 void JComponent.setPreferredSize(Dimension preferredSize)
          Set the preferred size of the receiving component.
 void JComponent.setMaximumSize(Dimension maximumSize)
          Sets the maximumSize of this component to a constant value.
 void JComponent.setMinimumSize(Dimension minimumSize)
          Sets the minimumSize of this component to a constant value.
 Dimension JComponent.getSize(Dimension rv)
          Store the width/height of this component into "return value" rv and return rv.
 void JComponent.AccessibleJComponent.setSize(Dimension d)
          Resizes this object so that it has width width and height.
 void JTree.AccessibleJTree.AccessibleJTreeNode.setSize(Dimension d)
           
 void JApplet.AccessibleJApplet.setSize(Dimension d)
          Resizes this object so that it has width width and height.
 void RepaintManager.setDoubleBufferMaximumSize(Dimension d)
          Set the maximum double buffer size.
 void JToolBar.addSeparator(Dimension size)
          Appends a toolbar separator to the end of the toolbar.
 void JToolBar.Separator.setSeparatorSize(Dimension size)
          Set the size of the separator
 void JViewport.setViewSize(Dimension newSize)
          Sets the view coordinates that appear in the upper left hand corner of the viewport, and the size of the view.
protected  boolean JViewport.computeBlit(int dx, int dy, Point blitFrom, Point blitTo, Dimension blitSize, Rectangle blitPaint)
          Computes the parameters for a blit where the backing store image currently contains oldLoc in the upper left hand corner and we're scrolling to newLoc.
 Dimension JViewport.toViewCoordinates(Dimension size)
          Convert a size in pixel coordinates to view coordinates.
 void JViewport.setExtentSize(Dimension newExtent)
          Set the size of the visible part of the view using view coordinates.
 void JPopupMenu.setPopupSize(Dimension d)
          Sets the size of the Popup window using a Dimension object.
 void JWindow.AccessibleJWindow.setSize(Dimension d)
          Resizes this object so that it has width width and height.
static Component Box.createRigidArea(Dimension d)
          Creates an invisible component that's always the specified size.
 void Box.Filler.changeShape(Dimension min, Dimension pref, Dimension max)
          Change the size requests for this shape.
 void Box.Filler.AccessibleBoxFiller.setSize(Dimension d)
          Resizes this object.
 void Box.AccessibleBox.setSize(Dimension d)
          Resizes this object.
 void JDialog.AccessibleJDialog.setSize(Dimension d)
          Resizes this object so that it has width width and height.
 void CellRendererPane.AccessibleCellRendererPane.setSize(Dimension d)
          Resizes this object so that it has width width and height.
 void JTable.setIntercellSpacing(Dimension newSpacing)
          Sets the width and height between cells to newSpacing and redisplays the receiver.
 void JTable.setPreferredScrollableViewportSize(Dimension size)
          Sets the preferred size of the viewport for this table.
 void JTable.AccessibleJTable.AccessibleJTableCell.setSize(Dimension d)
           
 void JFrame.AccessibleJFrame.setSize(Dimension d)
          Resizes this object so that it has width width and height.
 void JList.AccessibleJList.AccessibleJListChild.setSize(Dimension d)
           
 

Constructors in javax.swing with parameters of type Dimension
JToolBar.Separator.JToolBar.Separator(Dimension size)
          Create a new toolbar separator with the specified size
Box.Filler.Box.Filler(Dimension min, Dimension pref, Dimension max)
          Constructor to create shape with the given size ranges.
 

Uses of Dimension in javax.swing.border
 

Methods in javax.swing.border that return Dimension
 Dimension TitledBorder.getMinimumSize(Component c)
          Returns the minimum dimensions this border requires in order to fully display the border and title.
 

Uses of Dimension in javax.swing.plaf
 

Subclasses of Dimension in javax.swing.plaf
 class DimensionUIResource
           
 

Methods in javax.swing.plaf that return Dimension
 Dimension ComponentUI.getPreferredSize(JComponent c)
           
 Dimension ComponentUI.getMinimumSize(JComponent c)
           
 Dimension ComponentUI.getMaximumSize(JComponent c)
           
 

Uses of Dimension in javax.swing.plaf.basic
 

Fields in javax.swing.plaf.basic declared as Dimension
protected  Dimension BasicOptionPaneUI.minimumSize
           
protected  Dimension BasicTreeUI.preferredMinSize
          Minimum preferred size.
protected  Dimension BasicTreeUI.preferredSize
          Size needed to completely display all the nodes.
protected  Dimension BasicScrollBarUI.minimumThumbSize
           
protected  Dimension BasicScrollBarUI.maximumThumbSize
           
protected  Dimension BasicComboBoxUI.cachedMinimumSize
           
 

Methods in javax.swing.plaf.basic that return Dimension
 Dimension BasicTextUI.getPreferredSize(JComponent c)
          Gets the preferred size for the editor component.
 Dimension BasicTextUI.getMinimumSize(JComponent c)
          Gets the minimum size for the editor component.
 Dimension BasicTextUI.getMaximumSize(JComponent c)
          Gets the maximum size for the editor component.
 Dimension BasicOptionPaneUI.getMinimumOptionPaneSize()
          Returns the minimum size the option pane should be.
 Dimension BasicOptionPaneUI.getPreferredSize(JComponent c)
          If c is the JOptionPane the reciever is contained in, the preferred size that is returned is the maximum of the preferred size of the LayoutManager for the JOptionPane, and getMinimumOptionPaneSize.
 Dimension BasicOptionPaneUI.getMinimumSize(JComponent c)
          Messages getPreferredSize.
 Dimension BasicOptionPaneUI.getMaximumSize(JComponent c)
          Messages getPreferredSize.
 Dimension BasicOptionPaneUI.ButtonAreaLayout.minimumLayoutSize(Container c)
           
 Dimension BasicOptionPaneUI.ButtonAreaLayout.preferredLayoutSize(Container c)
           
 Dimension BasicDesktopPaneUI.getPreferredSize(JComponent c)
           
 Dimension BasicDesktopPaneUI.getMinimumSize(JComponent c)
           
 Dimension BasicDesktopPaneUI.getMaximumSize(JComponent c)
           
 Dimension BasicMenuItemUI.getMinimumSize(JComponent c)
           
 Dimension BasicMenuItemUI.getPreferredSize(JComponent c)
           
 Dimension BasicMenuItemUI.getMaximumSize(JComponent c)
           
protected  Dimension BasicMenuItemUI.getPreferredMenuItemSize(JComponent c, Icon checkIcon, Icon arrowIcon, int defaultTextIconGap)
           
 Dimension BasicSeparatorUI.getPreferredSize(JComponent c)
           
 Dimension BasicSeparatorUI.getMinimumSize(JComponent c)
           
 Dimension BasicSeparatorUI.getMaximumSize(JComponent c)
           
 Dimension BasicToolBarSeparatorUI.getPreferredSize(JComponent c)
           
 Dimension BasicToolBarSeparatorUI.getMinimumSize(JComponent c)
           
 Dimension BasicToolBarSeparatorUI.getMaximumSize(JComponent c)
           
 Dimension BasicTableUI.getMinimumSize(JComponent c)
          Return the minimum size of the table.
 Dimension BasicTableUI.getPreferredSize(JComponent c)
          Return the preferred size of the table.
 Dimension BasicTableUI.getMaximumSize(JComponent c)
          Return the maximum size of the table.
 Dimension BasicTabbedPaneUI.getPreferredSize(JComponent c)
           
 Dimension BasicTabbedPaneUI.getMinimumSize(JComponent c)
           
 Dimension BasicTabbedPaneUI.getMaximumSize(JComponent c)
           
 Dimension BasicTabbedPaneUI.TabbedPaneLayout.preferredLayoutSize(Container parent)
           
 Dimension BasicTabbedPaneUI.TabbedPaneLayout.minimumLayoutSize(Container parent)
           
protected  Dimension BasicTabbedPaneUI.TabbedPaneLayout.calculateSize(boolean minimum)
           
 Dimension BasicSplitPaneDivider.getPreferredSize()
          Returns dividerSize x dividerSize
 Dimension BasicSplitPaneDivider.DividerLayout.minimumLayoutSize(Container c)
           
 Dimension BasicSplitPaneDivider.DividerLayout.preferredLayoutSize(Container c)
           
 Dimension BasicDesktopIconUI.getPreferredSize(JComponent c)
           
 Dimension BasicDesktopIconUI.getMinimumSize(JComponent c)
           
 Dimension BasicDesktopIconUI.getMaximumSize(JComponent c)
           
 Dimension BasicListUI.getPreferredSize(JComponent c)
          The preferredSize of a list is total height of the rows and the maximum width of the cells.
 Dimension BasicListUI.getMinimumSize(JComponent c)
           
 Dimension BasicListUI.getMaximumSize(JComponent c)
           
 Dimension BasicToolBarUI.getMinimumSize(JComponent c)
           
 Dimension BasicToolBarUI.getPreferredSize(JComponent c)
           
 Dimension BasicToolBarUI.getMaximumSize(JComponent c)
           
 Dimension BasicSliderUI.getPreferredHorizontalSize()
           
 Dimension BasicSliderUI.getPreferredVerticalSize()
           
 Dimension BasicSliderUI.getMinimumHorizontalSize()
           
 Dimension BasicSliderUI.getMinimumVerticalSize()
           
 Dimension BasicSliderUI.getPreferredSize(JComponent c)
           
 Dimension BasicSliderUI.getMinimumSize(JComponent c)
           
 Dimension BasicSliderUI.getMaximumSize(JComponent c)
           
protected  Dimension BasicSliderUI.getThumbSize()
           
 Dimension BasicInternalFrameTitlePane.TitlePaneLayout.preferredLayoutSize(Container c)
           
 Dimension BasicInternalFrameTitlePane.TitlePaneLayout.minimumLayoutSize(Container c)
           
 Dimension BasicToolTipUI.getPreferredSize(JComponent c)
           
 Dimension BasicToolTipUI.getMinimumSize(JComponent c)
           
 Dimension BasicToolTipUI.getMaximumSize(JComponent c)
           
 Dimension BasicSplitPaneUI.getPreferredSize(JComponent jc)
          Returns the preferred size for the passed in component, This is passed off to the current layoutmanager.
 Dimension BasicSplitPaneUI.getMinimumSize(JComponent jc)
          Returns the minimum size for the passed in component, This is passed off to the current layoutmanager.
 Dimension BasicSplitPaneUI.getMaximumSize(JComponent jc)
          Returns the maximum size for the passed in component, This is passed off to the current layoutmanager.
 Dimension BasicSplitPaneUI.BasicHorizontalLayoutManager.minimumLayoutSize(Container container)
          Returns the minimum size needed to contain the children.
 Dimension BasicSplitPaneUI.BasicHorizontalLayoutManager.preferredLayoutSize(Container container)
          Returns the preferred size needed to contain the children.
 Dimension BasicSplitPaneUI.BasicHorizontalLayoutManager.maximumLayoutSize(Container target)
          Returns the maximum layout size, which is Integer.MAX_VALUE in both directions.
 Dimension BasicSplitPaneUI.BasicVerticalLayoutManager.minimumLayoutSize(Container container)
          Returns the minimum size needed to contain the children.
 Dimension BasicSplitPaneUI.BasicVerticalLayoutManager.preferredLayoutSize(Container container)
          Returns the preferred size needed to contain the children.
 Dimension BasicButtonUI.getMinimumSize(JComponent c)
           
 Dimension BasicButtonUI.getPreferredSize(JComponent c)
           
 Dimension BasicButtonUI.getMaximumSize(JComponent c)
           
protected  Dimension BasicProgressBarUI.getPreferredInnerHorizontal()
           
protected  Dimension BasicProgressBarUI.getPreferredInnerVertical()
           
 Dimension BasicProgressBarUI.getPreferredSize(JComponent c)
           
 Dimension BasicProgressBarUI.getMinimumSize(JComponent c)
          The Minimum size for this component is 10.
 Dimension BasicProgressBarUI.getMaximumSize(JComponent c)
           
 Dimension BasicArrowButton.getPreferredSize()
           
 Dimension BasicArrowButton.getMinimumSize()
           
 Dimension BasicArrowButton.getMaximumSize()
           
 Dimension BasicRadioButtonUI.getPreferredSize(JComponent c)
          The preferred size of the radio button
 Dimension BasicPopupMenuSeparatorUI.getPreferredSize(JComponent c)
           
 Dimension BasicTreeUI.getPreferredMinSize()
          Returns the minimum preferred size.
 Dimension BasicTreeUI.getPreferredSize(JComponent c)
          Returns the preferred size to properly display the tree, this is a cover method for getPreferredSize(c, false).
 Dimension BasicTreeUI.getPreferredSize(JComponent c, boolean checkConsistancy)
          Returns the preferred size to represent the tree in c.
 Dimension BasicTreeUI.getMinimumSize(JComponent c)
          Returns the minimum size for this component.
 Dimension BasicTreeUI.getMaximumSize(JComponent c)
          Returns the maximum size for this component, which will be the preferred size if the instance is currently in a JTree, or 0, 0.
 Dimension BasicMenuBarUI.getPreferredSize(JComponent c)
           
 Dimension BasicMenuBarUI.getMinimumSize(JComponent c)
           
 Dimension BasicMenuBarUI.getMaximumSize(JComponent c)
           
 Dimension BasicTableHeaderUI.getMinimumSize(JComponent c)
          Return the minimum size of the header.
 Dimension BasicTableHeaderUI.getPreferredSize(JComponent c)
          Return the preferred size of the header.
 Dimension BasicTableHeaderUI.getMaximumSize(JComponent c)
          Return the maximum size of the header.
static Dimension BasicGraphicsUtils.getPreferredButtonSize(AbstractButton b, int textIconGap)
           
 Dimension BasicScrollBarUI.getPreferredSize(JComponent c)
          A vertical scrollbars preferred width is the maximum of preferred widths of the (non null) increment/decrement buttons, and the minimum width of the thumb.
 Dimension BasicScrollBarUI.getMinimumSize(JComponent c)
          A vertical scrollbars minimum width is the largest minimum width of the (non null) increment/decrement buttons, and the minimum width of the thumb.
 Dimension BasicScrollBarUI.getMaximumSize(JComponent c)
           
protected  Dimension BasicScrollBarUI.getMinimumThumbSize()
          Return the smallest acceptable size for the thumb.
protected  Dimension BasicScrollBarUI.getMaximumThumbSize()
          Return the smallest acceptable size for the thumb.
 Dimension BasicScrollBarUI.preferredLayoutSize(Container scrollbarContainer)
           
 Dimension BasicScrollBarUI.minimumLayoutSize(Container scrollbarContainer)
           
 Dimension BasicLabelUI.getPreferredSize(JComponent c)
           
 Dimension BasicLabelUI.getMinimumSize(JComponent c)
           
 Dimension BasicLabelUI.getMaximumSize(JComponent c)
           
 Dimension BasicPopupMenuUI.getMinimumSize(JComponent c)
           
 Dimension BasicPopupMenuUI.getPreferredSize(JComponent c)
           
 Dimension BasicPopupMenuUI.getMaximumSize(JComponent c)
           
 Dimension BasicComboBoxUI.getPreferredSize(JComponent c)
           
 Dimension BasicComboBoxUI.getMinimumSize(JComponent c)
           
 Dimension BasicComboBoxUI.getMaximumSize(JComponent c)
           
protected  Dimension BasicComboBoxUI.getDefaultSize()
          Return the dimension the the combo box should have if by default if there is no current value and no value in the list of possible values.
protected  Dimension BasicComboBoxUI.getDisplaySize()
           
 Dimension BasicComboBoxUI.ComboBoxLayoutManager.preferredLayoutSize(Container parent)
           
 Dimension BasicComboBoxUI.ComboBoxLayoutManager.minimumLayoutSize(Container parent)
           
 Dimension BasicInternalFrameUI.getPreferredSize(JComponent x)
           
 Dimension BasicInternalFrameUI.getMinimumSize(JComponent x)
           
 Dimension BasicInternalFrameUI.getMaximumSize(JComponent x)
           
 Dimension BasicInternalFrameUI.InternalFrameLayout.preferredLayoutSize(Container c)
           
 Dimension BasicInternalFrameUI.InternalFrameLayout.minimumLayoutSize(Container c)
           
 Dimension BasicScrollPaneUI.getPreferredSize(JComponent c)
           
 Dimension BasicScrollPaneUI.getMinimumSize(JComponent c)
           
 Dimension BasicScrollPaneUI.getMaximumSize(JComponent c)
           
 Dimension BasicMenuUI.getMaximumSize(JComponent c)
           
 

Methods in javax.swing.plaf.basic with parameters of type Dimension
protected  int BasicSplitPaneUI.BasicHorizontalLayoutManager.getAvailableSize(Dimension containerSize, Insets insets)
          Returns the available width based on the container size and Insets.
protected  void BasicSplitPaneUI.BasicHorizontalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          Sets the width of the component c to be size, placing its x location at location, y to the insets.top and height to the containersize.height less the top and bottom insets.
protected  int BasicSplitPaneUI.BasicVerticalLayoutManager.getAvailableSize(Dimension containerSize, Insets insets)
          Returns the available height based on the container size and Insets.
protected  void BasicSplitPaneUI.BasicVerticalLayoutManager.setComponentToSize(Component c, int size, int location, Insets insets, Dimension containerSize)
          Sets the height of the component c to be size, placing its x location to insets.left, y to location and width to the containersize.width less the left and right insets.
protected  void BasicRadioButtonUI.paintFocus(Graphics g, Rectangle textRect, Dimension size)
           
 void BasicTreeUI.setPreferredMinSize(Dimension newSize)
          Sets the preferred minimum size.
 

Uses of Dimension in javax.swing.plaf.metal
 

Methods in javax.swing.plaf.metal that return Dimension
 Dimension MetalFileChooserUI.getPreferredSize(JComponent c)
           
 Dimension MetalFileChooserUI.getMinimumSize(JComponent c)
           
 Dimension MetalFileChooserUI.getMaximumSize(JComponent c)
           
 Dimension MetalDesktopIconUI.getPreferredSize(JComponent c)
           
 Dimension MetalSeparatorUI.getPreferredSize(JComponent c)
           
 Dimension MetalScrollBarUI.getPreferredSize(JComponent c)
           
protected  Dimension MetalScrollBarUI.getMinimumThumbSize()
           
 Dimension MetalPopupMenuSeparatorUI.getPreferredSize(JComponent c)
           
 Dimension MetalScrollButton.getPreferredSize()
           
 Dimension MetalScrollButton.getMinimumSize()
           
 Dimension MetalScrollButton.getMaximumSize()
           
 Dimension MetalComboBoxUI.getMinimumSize(JComponent c)
           
protected  Dimension MetalSliderUI.getThumbSize()
           
 Dimension MetalToolTipUI.getPreferredSize(JComponent c)
           
 

Methods in javax.swing.plaf.metal with parameters of type Dimension
protected  void MetalRadioButtonUI.paintFocus(Graphics g, Rectangle t, Dimension d)
           
 

Uses of Dimension in javax.swing.plaf.multi
 

Methods in javax.swing.plaf.multi that return Dimension
 Dimension MultiColorChooserUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiColorChooserUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiColorChooserUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiTabbedPaneUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiTabbedPaneUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiTabbedPaneUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiViewportUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiViewportUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiViewportUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiSliderUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiSliderUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiSliderUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiToolBarUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiToolBarUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiToolBarUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiTableUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiTableUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiTableUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiMenuItemUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiMenuItemUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiMenuItemUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiTextUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiTextUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiTextUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiToolTipUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiToolTipUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiToolTipUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiProgressBarUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiProgressBarUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiProgressBarUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiScrollPaneUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiScrollPaneUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiScrollPaneUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiPanelUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiPanelUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiPanelUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiListUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiListUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiListUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiLabelUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiLabelUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiLabelUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiSplitPaneUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiSplitPaneUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiSplitPaneUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiOptionPaneUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiOptionPaneUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiOptionPaneUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiComboBoxUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiComboBoxUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiComboBoxUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiTableHeaderUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiTableHeaderUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiTableHeaderUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiMenuBarUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiMenuBarUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiMenuBarUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiSeparatorUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiSeparatorUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiSeparatorUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiFileChooserUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiFileChooserUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiFileChooserUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiDesktopPaneUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiDesktopPaneUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiDesktopPaneUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiScrollBarUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiScrollBarUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiScrollBarUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiButtonUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiButtonUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiButtonUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiPopupMenuUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiPopupMenuUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiPopupMenuUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiTreeUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiTreeUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiTreeUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiDesktopIconUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiDesktopIconUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiDesktopIconUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 Dimension MultiInternalFrameUI.getPreferredSize(JComponent a)
          Call getPreferredSize on each UI handled by this MultiUI.
 Dimension MultiInternalFrameUI.getMinimumSize(JComponent a)
          Call getMinimumSize on each UI handled by this MultiUI.
 Dimension MultiInternalFrameUI.getMaximumSize(JComponent a)
          Call getMaximumSize on each UI handled by this MultiUI.
 

Uses of Dimension in javax.swing.table
 

Methods in javax.swing.table that return Dimension
 Dimension JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getSize()
           
 

Methods in javax.swing.table with parameters of type Dimension
 void JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setSize(Dimension d)
           
 

Uses of Dimension in javax.swing.text
 

Methods in javax.swing.text that return Dimension
 Dimension JTextComponent.getPreferredScrollableViewportSize()
          Returns the preferred size of the viewport for a view component.
 

Uses of Dimension in javax.swing.tree
 

Methods in javax.swing.tree that return Dimension
 Dimension DefaultTreeCellEditor.DefaultTextField.getPreferredSize()
          Overrides JTextField.getPreferredSize to return the preferred size based on current font, if set, or else use renderer's font.
 Dimension DefaultTreeCellEditor.EditorContainer.getPreferredSize()
          Returns the preferred size for the Container.
 Dimension DefaultTreeCellRenderer.getPreferredSize()
          Overrides JComponent.getPreferredSize to return slightly taller preferred size value.
 


Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.