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
-
max
- Contains maximum scroll value.
-
min
- Contains minimum scroll value.
-
Viewer.Controller.WLTabPanelWidthEventController(ScreenImageHandler)
- Constructs a new object.
-
actionPerformed(ActionEvent)
- Handles the ActionEvents fired from the PanelSlider.
-
adjustmentValueChanged(AdjustmentEvent)
- Handles the AdjustmentEvent fired from the PanelSlider.
-
focusGained(FocusEvent)
- Handles the focus gained action from the PanelSlider.
-
focusLost(FocusEvent)
- Handles the focus gained action from the PanelSlider.
-
setMinMax(int, int)
- Sets new minimum and maximum values.
-
setPanelSlider(PanelSlider)
- Sets a new PanelSlider.
-
setValue(TextField)
- Gets the value from the specified TextField and sets a new width value.
max
public int max
- Contains maximum scroll value.
- Since:
30.04.1999
min
public int min
- Contains minimum scroll value.
- Since:
30.04.1999
WLTabPanelWidthEventController
public WLTabPanelWidthEventController(ScreenImageHandler screenImageHandler)
- Constructs a new object.
- Parameters:
- screenImageHandler - Contains the current screenImageHandler.
- Since:
- 30.04.1999
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
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
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
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
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
setPanelSlider
public void setPanelSlider(PanelSlider panelSlider)
- Sets a new PanelSlider.
- Parameters:
- panelSlider - The new PanelSlider
- Since:
- 30.04.1999
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