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
- implements Serializable
This class is used to contain field objects. The panel
then catch the event corresponding to the user double-cliked
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.12 $ $Date: 1997/09/26 16:29:37 $
- Author:
- Louis Salvail
-
_owner
-
-
PrefPanel(PrefField)
-
Constructor.
-
add(Component, boolean)
-
This method is the normal add method for panels with the possibility
to put the new added subcomponent to the mouse listener of this panel.
-
getListener()
-
Returns the listener for all mouse events occuring in
this panel.
-
getOwner()
-
This method returns the PrefField owning this panel.
_owner
protected PrefField _owner
PrefPanel
public PrefPanel(PrefField f)
- Constructor.
- Parameters:
- f - is the owner of that panel.
- Returns:
- the new object.
getOwner
protected PrefField getOwner()
- This method returns the PrefField owning this panel.
- Returns:
- the field.
getListener
protected PanelListener getListener()
- Returns the listener for all mouse events occuring in
this panel.
- Returns:
- the panel listener for this panel.
add
public void add(Component c,
boolean withListener)
- This method is the normal add method for panels with the possibility
to put the new added subcomponent to the mouse listener of this panel. This
is used when double-clicking on the subcomponent should show the description
associated to that field.
- Parameters:
- c - is the new component to be added.
- withListener - tells whether or not the listener for this panel
will also include the new subcomponent mouse events.
All Packages Class Hierarchy This Package Previous Next Index