|
Class grendel.composition.AddressDialog
All Packages This Package Class Hierarchy Class Search Index
Class grendel.composition.AddressDialog
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----grendel.composition.AddressDialog
class AddressDialog
extends java.awt.Dialog
implements java.awt.event.ActionListener
{
// Fields 7
private final int BUTTON_HEIGHT;
private final int BUTTON_WIDTH;
final Object[][] data;
private Vector mAddresses;
private List mSendToList;
private JTable mTable;
private boolean wasCanceled;
// Constructors 1
AddressDialog(Frame);
// Methods 12
public void actionPerformed(ActionEvent);
private void addToSendList(Addressee);
private JPanel createBottomPanel();
private JPanel createLookupPanel();
private JPanel createSendToPanel();
public Addressee[] getAddresses();
public boolean getCanceled();
public Insets getInsets();
public static void main(String[]);
private JButton makeButton(String, int, int);
private void removeFromSendList(int);
public void setAddresses(Addressee[]);
}
Fields
private final int BUTTON_WIDTH
private final int BUTTON_HEIGHT
private List mSendToList
private JTable mTable
private Vector mAddresses
private boolean wasCanceled
final Object[][] data
Constructors
AddressDialog(Frame aParent)
Methods
public static void main(String[] args)
private JPanel createLookupPanel()
private JPanel createSendToPanel()
The Send To Panel holds the list people.
private JPanel createBottomPanel()
The bottom panel has the ok, cancel and help buttons.
private JButton makeButton(String aLabel,
int aWidth,
int aHeight)
public Insets getInsets()
- Overrides:
- getInsets in class Container
private void addToSendList(Addressee aAddressee)
Adds an entry to the send list.
| Parameter | Description |
| The | Addressee to be added to the list. |
private void removeFromSendList(int aIndex)
Removes the specified entry from the list.
| Parameter | Description |
| The | index of the entry to remove. |
public void setAddresses(Addressee[] aAddresses)
Sets the address from aa Array.
| Parameter | Description |
| aAddresses | An array of addresses. |
See Also:
getAddresses
public Addressee[] getAddresses()
Returns the addresses in the form of an array.
See Also:
setAddresses
public boolean getCanceled()
Return true if cancel was pressed.
public void actionPerformed(ActionEvent e)
Actions to respond to are button pressed for "To", "Cc", "Bcc", "Ok", and "Canel"
- Implements:
- actionPerformed in interface ActionListener
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4
|