The Mozilla
Organization
Our Mission
Who We Are
Getting Involved
Community
Editorials
What's New
Newsbot
Development
Roadmap
Module Owners
Blue Sky
Projects
Status
Tools
Products
Source Code
Binaries
Documentation
License Terms
Bug Reports
Quality
Search
Feedback
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-1999 The Mozilla Organization.