Class KaAPI.KFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class KaAPI.KFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----KaAPI.KFrame

public final class KFrame
extends Frame
KFrame implements part of the KaAPI framework.The other part of the KaAPI is to be implemented by the user using the KUIComponent interface.This supports customization of the KaAPI framework application like addition/deletion/placement of KUIComponents
Version:
1.1 04 Aug 1996
Author:
shiva
See Also:
KUIComponent, KFrameAgent

Variable Index

 o AGENT
This should be used by KUIComponents to interface with its KFrame.

Constructor Index

 o KFrame(String)

Method Index

 o handleEvent(Event)
Handles the event.
 o showFrame()
Places the KUIComponents as specified by the format file and displays the Top level window

Variables

 o AGENT
  public static KFrameAgent AGENT
This should be used by KUIComponents to interface with its KFrame. This should be referenced only in the constructor of the KUIComponent.

Constructors

 o KFrame
  public KFrame(String formatFile) throws IOException
Parameters:
formatFile - text file that specifies the KUIComponents to be created
Throws: IOException
if invalid syntax in the format file or due to invalid file.
See Also:
KUICSyntaxChecker

Methods

 o showFrame
  public void showFrame()
Places the KUIComponents as specified by the format file and displays the Top level window
 o handleEvent
  public boolean handleEvent(Event evt)
Handles the event.
Overrides:
handleEvent in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index