Class semper.preferences.PrefFrame
All Packages Class Hierarchy This Package Previous Next Index
Class semper.preferences.PrefFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----semper.preferences.PrefFrame
- public class PrefFrame
- extends Frame
This defines a frame for preferences editing. When a group is asked
for display, each component is put according to some formatting
constraints in this kind of frame. This allows to intercept events
from the user while editing a preferences group.
- Version:
- $Revision: 1.11 $ $Date: 1997/02/03 13:20:21 $
- Author:
- Louis Salvail (CWI)
-
PrefFrame(String)
- Contructor for preferences frames.
-
PrefFrame(String, PrefGroup)
- Contructor for preferences frames with owner.
-
action(Event, Object)
- Catch events when a group is in edition.
-
add(Component, GridBagConstraints)
- This method rewrite the standard add() method of the component
class for PrefFrame.
-
setOwner(PrefGroup)
- Set the group owning this frame.
PrefFrame
public PrefFrame(String title)
- Contructor for preferences frames.
- Parameters:
- title - is the name of the frame.
- Returns:
- a new object.
PrefFrame
public PrefFrame(String title,
PrefGroup owner)
- Contructor for preferences frames with owner.
- Parameters:
- title - is the name of the frame.
- owner - is the group name to be displayed in this frame.
- Returns:
- a new object.
setOwner
public void setOwner(PrefGroup owner)
- Set the group owning this frame.
- Parameters:
- owner - is the group owning this frame.
- Returns:
- none.
add
public Component add(Component comp,
GridBagConstraints csts)
- This method rewrite the standard add() method of the component
class for PrefFrame.
- Parameters:
- Component - to be added.
- Returns:
- I don't know, the java class description does not
explain what is returned. However, I think the input component
itself is returned.
action
public boolean action(Event event,
Object arg)
- Catch events when a group is in edition. The possible events
are Reset Button, Cancel Button and Use Button.
- Parameters:
- event - is the occured event
- arg - is the argument from the standard action method(unused here).
- Returns:
- true if the event has been handled, false otherwise.
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index