3.2.5 - JdlView Object Frame Interface - JdlViewObjectFrame

John W. Campbell

3.2.5.1 Introduction

An interface for JdlViewObjectFrame objects used as base frames by the JdlViewManager object e.g JdlBaseFrame or JdlAppletBaseFrame objects.

Interface and methods:

Class Details
Accessible Fields
The Interface Methods

3.2.5.2 Class Details

Package:
Jdl.JdlView;
Class name:
JdlViewObjectFrame
Class definition:
public interface JdlViewObjectFrame
Extends:
JdlViewObject
Implements:
none
Actions:
none

3.2.5.3 Accessible Fields

No fields with public, package or protected access defined.

3.2.5.4 The Interface Methods

3.2.5.4.1 Introduction

This section details the methods which need to be implemented for a JdlViewObjectFrame implementing object.

Methods:

Return Component - getComponent
Add child to frame - addViewChild
Remove child from frame. - removeViewChild
Set visibility - setFrameVisible
Bring to front - bringToFront
Set location - setFrameLocation

3.2.5.4.2 Return Component - getComponent

A method to return a Component Object from the base frame

Method Definition:
public Component getComponent()
Parameters List:
none

3.2.5.4.3 Add child to frame - addViewChild

A method to add a child JdlView object to a JdlView object base/applet frame.

Method Definition:
public void addViewChild (JdlViewObject vobj)
Parameters List:
vobj
The view object to be added.

3.2.5.4.4 Remove child from frame. - removeViewChild

A method to remove a child JdlView object from a JdlView object base/applet frame.

Method Definition:
public void removeViewChild (JdlViewObject vobj)
Parameters List:
vobj
The view object to be removed.

3.2.5.4.5 Set visibility - setFrameVisible

Set to visible or hide the frame (if appropriate).

Method Definition:
public void setFrameVisible(boolean flag)
Parameters List:
flag
Set to true for visible, false for hide.

3.2.5.4.6 Bring to front - bringToFront

Bring the frame to the front of the display (if appropriate).

Method Definition:
public void bringToFront()
Parameters List:
none

3.2.5.4.7 Set location - setFrameLocation

Set the location for the frame (if appropriate) - ignore for applet case.

Method Definition:
public void setFrameLocation(int x, int y)
Parameters List:
x
The 'x' location for the base frame.
y
The 'y' location for the base frame.

⇑ Up 3   ⇑ Up 2   ⇑ Up 1   ⇑ Top of this