You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.composition.AddressList.AddressTextField

java.lang.Object
   |
   +----ATC_Field
           |
           +----grendel.composition.AddressList.AddressTextField

public class  AddressList.AddressTextField
     extends ATC_Field
     implements java.awt.event.FocusListener
{
          // Fields 3
     private final String ADDRESS_QUOTES;
     private final String ADDRESS_SEPERATORS;
     private DeliveryButton mDeliveryButton;

          // Constructors 1
     public AddressTextField(String, DeliveryButton);

          // Methods 5
     private void evaluate();
     public void focusGained(FocusEvent);
     public void focusLost(FocusEvent);
     private String[] parseLine(String);
     public void processKeyEvent(KeyEvent);
}



Fields


ADDRESS_SEPERATORS

   private final String ADDRESS_SEPERATORS


ADDRESS_QUOTES

   private final String ADDRESS_QUOTES


mDeliveryButton

   private DeliveryButton mDeliveryButton



Constructors


AddressTextField

   public AddressTextField(String aString, 
                           DeliveryButton aDeliveryButton) 



Methods


processKeyEvent

   public void processKeyEvent(KeyEvent e) 

catch tabs before anyone else.



focusGained

   public void focusGained(FocusEvent evt) 

stub

Implements:
focusGained in interface FocusListener


focusLost

   public void focusLost(FocusEvent evt) 

On focusLost, evaluate line for multiple entries.

Implements:
focusLost in interface FocusListener


evaluate

   private void evaluate() 

Evaluate line for multiple addresses, notify parent to add the new entries.



parseLine

   private String[] parseLine(String aString) 

Parses up the string.

Parameter Description
aString The String to parse.

Returns:
returns an array of strings.

See Also: ADDRESS_SEPERATORS, ADDRESS_QUOTES



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4