The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Class grendel.composition.AddressList.AddressTextField
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.