Interface awt.ChoiceHandler
All Packages    This Package    Previous    Next

Interface awt.ChoiceHandler

public interface ChoiceHandler
extends Object
An interface used by various awt Components to map callbacks.
Version:
1.5 31 Jan 1995
Author:
Sami Shaio

doubleClick(Component, int)
Callback that denotes the user double-clicked on the given component.
selected(Component, int)
Callback that denotes the user selected the given component.

doubleClick
  public abstract void doubleClick(Component c,
                                   int pos)
Callback that denotes the user double-clicked on the given component. If the component supports multiple items, pos will be the index of the item that was selected.

selected

  public abstract void selected(Component c,
                                int pos)
Callback that denotes the user selected the given component. If the component supports multiple items, pos will be the index of the item that was selected.


All Packages    This Package    Previous    Next