Class awt.Space
All Packages This Package Previous Next
Class awt.Space
java.lang.Object
|
+----awt.Component
|
+----awt.Space
-
public class
Space
-
extends Component
Space is a component that has no visible representation. It is
useful for adding extra space to a layout in selected places.
-
Version:
-
1.3 03 Feb 1995
-
Author:
-
Sami Shaio
-
Space(Container, String, int, int, boolean, boolean)
-
-
getPreferredSize()
-
Return the preferred size of this space object.
Space
public Space(Container parent,
String name,
int width,
int height,
boolean hFill,
boolean vFill)
getPreferredSize
public Dimension getPreferredSize()
-
Return the preferred size of this space object.
-
Overrides:
-
getPreferredSize in class Component
All Packages This Package Previous Next