Class awt.MenuBar
All Packages This Package Previous Next
Class awt.MenuBar
java.lang.Object
|
+----awt.Component
|
+----awt.MenuBar
-
public class
MenuBar
-
extends Component
A class that encapsulates the platform's concept of a menubar bound
to a Frame.
-
Version:
-
1.19 03 Feb 1995
-
Author:
-
Sami Shaio
-
MenuBar(Frame)
-
Constructs a MenuBar for the given Frame f.
-
dispose()
-
Destroys this menu bar.
-
getPreferredSize()
-
Returns the natural size of the object.
-
minDimension()
-
Return the minimum size of the object
MenuBar
public MenuBar(Frame f)
-
Constructs a MenuBar for the given Frame f.
dispose
public void dispose()
-
Destroys this menu bar.
-
Overrides:
-
dispose in class Component
minDimension
public Dimension minDimension()
-
Return the minimum size of the object
-
Overrides:
-
minDimension in class Component
getPreferredSize
public Dimension getPreferredSize()
-
Returns the natural size of the object.
-
Overrides:
-
getPreferredSize in class Component
All Packages This Package Previous Next