3.3.2 - Base Frame - JdlBaseFrame

John W. Campbell

3.3.2.1 Introduction

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

3.3.2.2 Class Details

Package:
Jdl.JdlView;
Class name:
JdlBaseFrame
Class definition:
public class JdlBaseFrame
Extends:
JFrame
Implements:
JdlViewObjectFrame
FocusListener
Actions:
none

3.3.2.3 Accessible Fields

The following accessible fields have been defined:

public final static int FREE
Location Constraint: free.
static final long serialVersionUID

3.3.2.4 Constructor

3.3.2.4.1 Introduction

A single constructor is available.

Constructor:

Standard constructor

3.3.2.4.2 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.

3.3.2.5 Get Parent Panel

3.3.2.5.1 Introduction

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

3.3.2.5.2 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