Class semper.preferences.PrefPanel
All Packages Class Hierarchy This Package Previous Next Index
Class semper.preferences.PrefPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----semper.preferences.PrefPanel
- public class PrefPanel
- extends Panel
This class is used to contain field objects. The panel
then catch the event corresponding to the user pressing on
F1 during the mouse move over it. When this event is detected
the information relative to the field contains in this panel
is shown in a window.
- Version:
- $Revision: 1.8 $ $Date: 1997/02/04 17:54:18 $
- Author:
- Louis Salvail
-
PrefPanel(PrefField)
- Constructor.
-
handleEvent(Event)
- Handle events occuring in this panel looking for a key press.
-
whoIsActive()
- Returns the active field in the PrefPanels collection.
PrefPanel
public PrefPanel(PrefField f)
- Constructor.
- Parameters:
- f - is the owner of that panel.
- Returns:
- the new object.
whoIsActive
public static PrefField whoIsActive()
- Returns the active field in the PrefPanels collection.
- Returns:
- the PrefField over which the mouse is.
Null is returned ifthe mouse is not over a field.
handleEvent
public boolean handleEvent(Event e)
- Handle events occuring in this panel looking for a key press.
When this occurs the field with the mouse on will show its
description.
- Parameters:
- e - is the event.
- Returns:
- true if and only if the event was a key press.
- Overrides:
- handleEvent in class Component
All Packages Class Hierarchy This Package Previous Next Index