Class Viewer.Controller.WLTabPanelWidthEventController
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Viewer.Controller.WLTabPanelWidthEventController

Object
   |
   +----Viewer.Controller.WLTabPanelWidthEventController

public class WLTabPanelWidthEventController
extends Object
implements SliderPanelListener
This class contains the listeners for the width PanelSlider in the WLTabPanel.

Author:
Klaus Kleber
Since:
30.04.1999
See Also:
WLTabPanel

Variable Index

 o max
Contains maximum scroll value.
 o min
Contains minimum scroll value.

Constructor Index

 o Viewer.Controller.WLTabPanelWidthEventController(ScreenImageHandler)
Constructs a new object.

Method Index

 o actionPerformed(ActionEvent)
Handles the ActionEvents fired from the PanelSlider.
 o adjustmentValueChanged(AdjustmentEvent)
Handles the AdjustmentEvent fired from the PanelSlider.
 o focusGained(FocusEvent)
Handles the focus gained action from the PanelSlider.
 o focusLost(FocusEvent)
Handles the focus gained action from the PanelSlider.
 o setMinMax(int, int)
Sets new minimum and maximum values.
 o setPanelSlider(PanelSlider)
Sets a new PanelSlider.
 o setValue(TextField)
Gets the value from the specified TextField and sets a new width value.

Variables

 o max
public int max
Contains maximum scroll value.

Since: 30.04.1999
 o min
public int min
Contains minimum scroll value.

Since: 30.04.1999

Constructors

 o WLTabPanelWidthEventController
public WLTabPanelWidthEventController(ScreenImageHandler screenImageHandler)
Constructs a new object.

Parameters:
screenImageHandler - Contains the current screenImageHandler.
Since:
30.04.1999

Methods

 o actionPerformed
public void actionPerformed(ActionEvent e)
Handles the ActionEvents fired from the PanelSlider. The ActionEvent are fired from the TextField and results in a new width value.

Parameters:
e - ActionEvent
Since:
30.04.1999
 o adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
Handles the AdjustmentEvent fired from the PanelSlider. The AdjustmentEvent are fired from the Scrollbar and results in a new width value.

Parameters:
e - AdjustmentEvent
Since:
30.04.1999
 o focusGained
public void focusGained(FocusEvent e)
Handles the focus gained action from the PanelSlider. This action results in saving the text off the fireing TextField.

Parameters:
e - FocusEvent
Since:
30.04.1999
 o focusLost
public void focusLost(FocusEvent e)
Handles the focus gained action from the PanelSlider. The FocusEvent are fired from the TextField and results in a new width value.

Parameters:
e - FocusEvent
Since:
30.04.1999
 o setMinMax
public void setMinMax(int min,
                      int max)
Sets new minimum and maximum values.

Parameters:
min - The new minimum value.
max - The new maximum value.
Since:
30.04.1999
 o setPanelSlider
public void setPanelSlider(PanelSlider panelSlider)
Sets a new PanelSlider.

Parameters:
panelSlider - The new PanelSlider
Since:
30.04.1999
 o setValue
public void setValue(TextField text)
Gets the value from the specified TextField and sets a new width value. If the value in text is outside the minimum or the maximum value the old text in the Textfiled will be restored.

Parameters:
text - Specifies the TextFiled with the value.
Since:
30.04.1999

All Packages  Class Hierarchy  This Package  Previous  Next  Index