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
BUTTON_WIDTH
private final int BUTTON_WIDTH
BUTTON_HEIGHT
private final int BUTTON_HEIGHT
mSendToList
private List mSendToList
mTable
private JTable mTable
mAddresses
private Vector mAddresses
wasCanceled
private boolean wasCanceled
data
final Object[][] data
Constructors
AddressDialog
AddressDialog(Frame aParent)
Methods
main
public static void main(String[] args)
createLookupPanel
private JPanel createLookupPanel()
createSendToPanel
private JPanel createSendToPanel()
The Send To Panel holds the list people.
createBottomPanel
private JPanel createBottomPanel()
The bottom panel has the ok, cancel and help buttons.
makeButton
private JButton makeButton(String aLabel, int aWidth, int aHeight)
getInsets
public Insets getInsets()
addToSendList
private void addToSendList(Addressee aAddressee)
Adds an entry to the send list.
Parameter Description The Addressee to be added to the list.
removeFromSendList
private void removeFromSendList(int aIndex)
Removes the specified entry from the list.
Parameter Description The index of the entry to remove.
setAddresses
public void setAddresses(Addressee[] aAddresses)
Sets the address from aa Array.
Parameter Description aAddresses An array of addresses.
See Also: getAddresses
getAddresses
public Addressee[] getAddresses()
Returns the addresses in the form of an array.
See Also: setAddresses
getCanceled
public boolean getCanceled()
Return true if cancel was pressed.
actionPerformed
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 IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4