John W. Campbell
This class provides 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:
- JdlBaseFrame
- Class definition:
- public class JdlBaseFrame
- Extends:
- JFrame
- Implements:
- JdlViewObjectFrame
FocusListener
- Actions:
- none
The following accessible fields have been defined:
- public final static int FREE
- Location Constraint: free.
- static final long serialVersionUID
A single constructor is available.
Constructor:
Standard constructor
Constructs a Base Frame JdlView object. The width and height requested
are for the dimensions within the frame and any additional borders.
- Constructor Definition:
- public JdlBaseFrame(String title, int w, int h)
- Parameters List:
- title
- A title for the 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
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.
⇑ Up 3
⇑ Up 2
⇑ Up 1
⇑ Top of this