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
-
AddressChooser()
- Constructs a new AddressChooser with the default number of colums.
-
AddressChooser(int)
- Constructs a new AddressChooser with the specified number of colums.
-
actionPerformed(ActionEvent)
-
-
addActionListener(ActionListener)
- Adds the specified action listener to receive action events
from this chooser.
-
getAddress()
- Get the address which is currently chosen by this chooser.
-
handleEvent(Event)
-
-
removeActionListener(ActionListener)
- Removes the specified action listener so it no longer receives
action events from this chooser.
-
removeNotify()
-
-
setActionCommand(String)
- Sets the command name of the action event fired by this chooser.
-
setAddress(String)
- Set the specified string as to the address book.
AddressChooser
public AddressChooser()
- Constructs a new AddressChooser with the default number of colums.
The default nubmer is 10.
- Parameters:
- columns - the number of columns
AddressChooser
public AddressChooser(int columns)
- Constructs a new AddressChooser with the specified number of colums.
- Parameters:
- columns - the number of columns
getAddress
public String getAddress()
- Get the address which is currently chosen by this chooser.
addActionListener
public void addActionListener(ActionListener l)
- Adds the specified action listener to receive action events
from this chooser.
- Parameters:
- l - the action listener
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
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".
setAddress
public void setAddress(String addr)
- Set the specified string as to the address book.
removeNotify
public synchronized void removeNotify()
- Overrides:
- removeNotify in class Container
handleEvent
public boolean handleEvent(Event ev)
- Overrides:
- handleEvent in class Component
actionPerformed
public void actionPerformed(ActionEvent ev)
All Packages Class Hierarchy This Package Previous Next Index