All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.text.ChoiceListController

java.lang.Object
   |
   +----jp.kyasu.awt.text.TextController
           |
           +----jp.kyasu.awt.text.TextListController
                   |
                   +----jp.kyasu.awt.text.ChoiceListController

public class ChoiceListController
extends TextListController
The ChoiceListController class implements a view of a MVC model for the choice. The model of the MVC model is a TextListModel object and the view of the MVC model is a TextListView object.

Version:
20 Jul 1998
Author:
Kazuki YASUMATSU
See Also:
Choice, TextListModel, TextListView

Constructor Index

 o ChoiceListController(TextListView)
Constructs a choice controller with the specified text list view.

Method Index

 o focusGained(FocusEvent)
Invoked when a component gains the keyboard focus.
 o focusLost(FocusEvent)
Invoked when a component loses the keyboard focus.
 o mouseDragged(MouseEvent)
Invoked when the mouse button is pressed on a component and then dragged.
 o mouseMoved(MouseEvent)
Invoked when the mouse button has been moved on a component.
 o mousePressed(MouseEvent)
Invoked when the mouse has been pressed on a component.
 o mouseReleased(MouseEvent)
Invoked when the mouse has been released on a component.

Constructors

 o ChoiceListController
 public ChoiceListController(TextListView view)
Constructs a choice controller with the specified text list view.

Parameters:
view - the text list view.

Methods

 o mousePressed
 public void mousePressed(MouseEvent e)
Invoked when the mouse has been pressed on a component.

Overrides:
mousePressed in class TextListController
See Also:
MouseListener
 o mouseReleased
 public void mouseReleased(MouseEvent e)
Invoked when the mouse has been released on a component.

Overrides:
mouseReleased in class TextListController
See Also:
MouseListener
 o mouseMoved
 public void mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component.

Overrides:
mouseMoved in class TextListController
See Also:
MouseMotionListener
 o mouseDragged
 public void mouseDragged(MouseEvent e)
Invoked when the mouse button is pressed on a component and then dragged.

Overrides:
mouseDragged in class TextListController
See Also:
MouseMotionListener
 o focusGained
 public void focusGained(FocusEvent e)
Invoked when a component gains the keyboard focus.

Overrides:
focusGained in class TextController
See Also:
FocusListener
 o focusLost
 public void focusLost(FocusEvent e)
Invoked when a component loses the keyboard focus.

Overrides:
focusLost in class TextController
See Also:
FocusListener

All Packages  Class Hierarchy  This Package  Previous  Next  Index