|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Dimension | |
com.sun.java.accessibility | |
com.sun.java.swing | Provides a set of "lightweight" (all-Java |
com.sun.java.swing.border | Provides classes and interface for drawing specialized borders around a Swing component. |
com.sun.java.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. |
com.sun.java.swing.table | Provides classes and interfaces for dealing with java.awt.swing. |
com.sun.java.swing.text | Provides classes and interfaces that deal with editable and noneditable text components. |
com.sun.java.swing.tree | Provides classes and interfaces for dealing with java.awt.swing. |
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 com.sun.java.accessibility |
Methods in com.sun.java.accessibility that return Dimension | |
Dimension | AccessibleComponent.getSize()
Returns the size of this object in the form of a Dimension object. |
Methods in com.sun.java.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 com.sun.java.swing |
Fields in com.sun.java.swing declared as Dimension | |
protected Dimension | JTable.preferredViewportSize
Used by the Scrollable interface to determine the initial visible area |
Methods in com.sun.java.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 | JComponent.AccessibleJComponent.getSize()
Returns the size of this object in the form of a Dimension object. |
Dimension | JFrame.AccessibleJFrame.getSize()
Returns the size of this object in the form of a Dimension object. |
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 | JWindow.AccessibleJWindow.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. |
static Dimension | UIManager.getDimension(Object key)
|
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 | JTree.getPreferredScrollableViewportSize()
Returns the preferred display size of a JTree. |
Dimension | JTree.AccessibleJTree.AccessibleJTreeNode.getSize()
|
Dimension | JDialog.AccessibleJDialog.getSize()
Returns the size of this object in the form of a Dimension object. |
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 | JTextField.getPreferredSize()
Returns the preferred size Dimensions needed for this TextField. |
Dimension | Scrollable.getPreferredScrollableViewportSize()
Returns the preferred size of the viewport for a view component. |
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 | 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. |
Dimension | JApplet.AccessibleJApplet.getSize()
Returns the size of this object in the form of a Dimension object. |
Dimension | RepaintManager.getDoubleBufferMaximumSize()
|
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 | 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 | 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 | UIDefaults.getDimension(Object key)
If the value of key is a Dimension return it, otherwise
return null. |
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 | JList.getPreferredScrollableViewportSize()
Compute the size of the viewport needed to display visibleRowCount rows. |
Dimension | JList.AccessibleJList.AccessibleJListChild.getSize()
|
Methods in com.sun.java.swing with parameters of type Dimension | |
void | JComponent.setPreferredSize(Dimension preferredSize)
Set the preferred size of the receiving component. if preferredSize is null, the UI will
be asked for the preferred size |
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 | JFrame.AccessibleJFrame.setSize(Dimension d)
Resizes this object so that it has width width and height. |
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 | JWindow.AccessibleJWindow.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 | JTree.AccessibleJTree.AccessibleJTreeNode.setSize(Dimension d)
|
void | JDialog.AccessibleJDialog.setSize(Dimension d)
Resizes this object so that it has width width and height. |
void | JPopupMenu.setPopupSize(Dimension d)
Sets the size of the Popup window using a Dimension object. |
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 | 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. |
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 | JList.AccessibleJList.AccessibleJListChild.setSize(Dimension d)
|
Constructors in com.sun.java.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 com.sun.java.swing.border |
Methods in com.sun.java.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 com.sun.java.swing.plaf |
Subclasses of Dimension in com.sun.java.swing.plaf | |
DimensionUIResource
|
Methods in com.sun.java.swing.plaf that return Dimension | |
Dimension | ComponentUI.getPreferredSize(JComponent c)
|
Dimension | ComponentUI.getMinimumSize(JComponent c)
|
Dimension | ComponentUI.getMaximumSize(JComponent c)
|
Uses of Dimension in com.sun.java.swing.table |
Methods in com.sun.java.swing.table that return Dimension | |
Dimension | JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getSize()
|
Methods in com.sun.java.swing.table with parameters of type Dimension | |
void | JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.setSize(Dimension d)
|
Uses of Dimension in com.sun.java.swing.text |
Methods in com.sun.java.swing.text that return Dimension | |
Dimension | JTextComponent.getPreferredScrollableViewportSize()
Returns the preferred size of the viewport for a view component. |
Uses of Dimension in com.sun.java.swing.tree |
Methods in com.sun.java.swing.tree that return Dimension | |
Dimension | DefaultTreeCellEditor.DefaultTextField.getPreferredSize()
|
Dimension | DefaultTreeCellEditor.EditorContainer.getPreferredSize()
Returns the preferred size for the Container. |
Dimension | DefaultTreeCellRenderer.getPreferredSize()
|
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 | 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. |
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 (width and height) of this rectangle. |
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. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |