John W. Campbell
This class enables the use of an applet window as a base frame view object
(top level window) for JdlView objects
Class, fields, constructor and methods:
Class Details
Accessible Fields
Constructor
Get Parent Panel
- Package:
- Jdl.JdlView;
- Class name:
- JdlAppletBaseFrame
- Class definition:
- public class JdlAppletBaseFrame
- Extends:
- Object
- Implements:
- JdlViewObjectFrame
FocusListener
- Actions:
- none
The following accessible fields have been defined:
- public final static int FREE
- Location Constraint: free.
A single constructor is available.
Constructor:
Standard constructor
Constructs an Applet Base Frame JdlView object. The width and height requested
are for the dimensions within the frame and any additional borders.
- Constructor Definition:
- public JdlAppletBaseFrame(JApplet applet, int w, int h)
- Parameters List:
- applet
- The applet to use as the base frame.
- w
- The required width within the frame.
- h
- The required height within the frame.
This section has a single method to return the parent panel so that
children may be added to the base frame.
Method:
Get parent panel - getParentPanel
Get top level panel - getTopLevelPanel
This method returns the parent panel for adding children to this Base Frame
object.
- Method Definition:
- public JPanel getParentPanel()
- Parameters List:
- none
- Method Return:
-
Returns the parent panel for adding children.
This method returns the to level panel for the JdlAppletBaseFrame object
which was added to the container pane of the applet window.
- Method Definition:
- public JPanel getTopLevelPanel()
- Parameters List:
- none
- Method Return:
-
Returns the top level panel (e.g. for reparenting)
⇑ Up 3
⇑ Up 2
⇑ Up 1
⇑ Top of this