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.addressbook.AddressBook

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.sun.java.swing.JFrame
                                           |
                                           +----grendel.addressbook.AddressBook


public class  AddressBook
     extends com.sun.java.swing.JFrame
{
          // Fields 39
     public static final String HTMLDomainsTag;
     public static final String blankPageTag;
     public static final String byCityTag;
     public static final String byComapanyTag;
     public static final String byEmailAddressTag;
     public static final String byNameTag;
     public static final String byNicknameTag;
     public static final String byTypeTag;
     public static final String callTag;
     public static final String cardPropertiesTag;
     public static final String closeWindowTag;
     private Action[] defaultActions;
     public static final String deleteTag;
     public static final String hideMessageToolbarTag;
     public static final String importTag;
     private Hashtable mCommands;
     protected DataSourceList mDataSourceList;
     private Hashtable mMenuItems;
     private JMenuBar mMenubar;
     private JButton mSearchButton;
     protected JTextField mSearchField;
     protected JComboBox mSearchSource;
     private JTable mTable;
     private NSToolbar mTtoolbar;
     private JMenuBar menubar;
     public static final String messageTag;
     public static final String myAddressBookCardTag;
     public static final String navigatorWindowTag;
     public static final String newCardTag;
     public static final String newListTag;
     public static final String pageFromTemplateTag;
     public static final String pageFromWizardTag;
     public static final String preferencesTag;
     public static final String redoTag;
     public static final String saveAsTag;
     public static final String searchDirectoryTag;
     public static final String sortAscendingTag;
     public static final String sortDescendingTag;
     public static final String undoTag;

          // Constructors 1
     public AddressBook();

          // Methods 7
     public void addToolbarButton(NSToolbar, AbstractAction, String, String);
     private NSToolbar createToolbar();
     private String getFirstEnum(Enumeration);
     protected Frame getParentFrame();
     protected void hideThisFrame();
     public static void main(String[]);
     public Vector queryLDAP(String, int, String);

          // Inner Classes 13
     protected static final class AppCloser
     class DataSource
     class DataSourceList
     protected class FrameHider
     class NewCard
     class SaveAs
     class CloseWindow
     class Undo
     class HideMessageToolbar
     class Search
     public class DataModel
     class StatusBar
     class AddressPanel
}



Fields


mCommands

   private Hashtable mCommands


mMenuItems

   private Hashtable mMenuItems


mMenubar

   private JMenuBar mMenubar


mTtoolbar

   private NSToolbar mTtoolbar


mTable

   private JTable mTable


mSearchButton

   private JButton mSearchButton


mDataSourceList

   protected DataSourceList mDataSourceList


mSearchSource

   protected JComboBox mSearchSource


mSearchField

   protected JTextField mSearchField


menubar

   private JMenuBar menubar


newCardTag

   public static final String newCardTag


newListTag

   public static final String newListTag


importTag

   public static final String importTag


saveAsTag

   public static final String saveAsTag


callTag

   public static final String callTag


closeWindowTag

   public static final String closeWindowTag


navigatorWindowTag

   public static final String navigatorWindowTag


messageTag

   public static final String messageTag


blankPageTag

   public static final String blankPageTag


pageFromTemplateTag

   public static final String pageFromTemplateTag


pageFromWizardTag

   public static final String pageFromWizardTag


undoTag

   public static final String undoTag


redoTag

   public static final String redoTag


deleteTag

   public static final String deleteTag


searchDirectoryTag

   public static final String searchDirectoryTag


HTMLDomainsTag

   public static final String HTMLDomainsTag


cardPropertiesTag

   public static final String cardPropertiesTag


preferencesTag

   public static final String preferencesTag


hideMessageToolbarTag

   public static final String hideMessageToolbarTag


byTypeTag

   public static final String byTypeTag


byNameTag

   public static final String byNameTag


byEmailAddressTag

   public static final String byEmailAddressTag


byComapanyTag

   public static final String byComapanyTag


byCityTag

   public static final String byCityTag


byNicknameTag

   public static final String byNicknameTag


sortAscendingTag

   public static final String sortAscendingTag


sortDescendingTag

   public static final String sortDescendingTag


myAddressBookCardTag

   public static final String myAddressBookCardTag


defaultActions

   private Action[] defaultActions



Constructors


AddressBook

   public AddressBook() 




Methods


main

   public static void main(String[] args) 


hideThisFrame

   protected void hideThisFrame() 

Hide this frame.



getParentFrame

   protected Frame getParentFrame() 

Find the hosting frame, for the file-chooser dialog.



createToolbar

   private NSToolbar createToolbar() 

Create a Toolbar

See Also: addToolbarButton



addToolbarButton

   public void addToolbarButton(NSToolbar aToolBar, 
                                AbstractAction aActionListener, 
                                String aImageName, 
                                String aToolTip) 

create a toolbar button

Parameter Description
aToolBar The parent toolbar to add this button to.
aActionListener Who you want to be notified when the button is pressed.
aImageName The image name for the button. like "save.gif"
aToolTip The buttons tool tip. like "Save the current file".

See Also: createToolbar



getFirstEnum

   private String getFirstEnum(Enumeration enumVals) 


queryLDAP

   public Vector queryLDAP(String aServerName, 
                           int aPort, 
                           String aSearchString) 


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