All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.aglet.util.AddressChooser

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.aglet.util.AddressChooser

public class AddressChooser
extends Panel
implements ActionListener

Constructor Index

 o AddressChooser()
Constructs a new AddressChooser with the default number of colums.
 o AddressChooser(int)
Constructs a new AddressChooser with the specified number of colums.

Method Index

 o actionPerformed(ActionEvent)
 o addActionListener(ActionListener)
Adds the specified action listener to receive action events from this chooser.
 o getAddress()
Get the address which is currently chosen by this chooser.
 o handleEvent(Event)
 o removeActionListener(ActionListener)
Removes the specified action listener so it no longer receives action events from this chooser.
 o removeNotify()
 o setActionCommand(String)
Sets the command name of the action event fired by this chooser.
 o setAddress(String)
Set the specified string as to the address book.

Constructors

 o AddressChooser
 public AddressChooser()
Constructs a new AddressChooser with the default number of colums. The default nubmer is 10.

Parameters:
columns - the number of columns
 o AddressChooser
 public AddressChooser(int columns)
Constructs a new AddressChooser with the specified number of colums.

Parameters:
columns - the number of columns

Methods

 o getAddress
 public String getAddress()
Get the address which is currently chosen by this chooser.

 o addActionListener
 public void addActionListener(ActionListener l)
Adds the specified action listener to receive action events from this chooser.

Parameters:
l - the action listener
 o removeActionListener
 public void removeActionListener(ActionListener l)
Removes the specified action listener so it no longer receives action events from this chooser.

Parameters:
l - the action listener
 o setActionCommand
 public void setActionCommand(String cmd)
Sets the command name of the action event fired by this chooser. By default this will be set to the "address".

 o setAddress
 public void setAddress(String addr)
Set the specified string as to the address book.

 o removeNotify
 public synchronized void removeNotify()
Overrides:
removeNotify in class Container
 o handleEvent
 public boolean handleEvent(Event ev)
Overrides:
handleEvent in class Component
 o actionPerformed
 public void actionPerformed(ActionEvent ev)

All Packages  Class Hierarchy  This Package  Previous  Next  Index