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.ui.GeneralFrame

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

public class  GeneralFrame
     extends com.sun.java.swing.JFrame
{
          // Fields 16
     protected Animation fAnimation;
     BiffIcon fBiffIcon;
     static Vector fFrameList;
     protected String fID;
     private LAFListener fLAFListener;
     protected ResourceBundle fLabels;
     protected JMenuBar fMenu;
     protected Container fPanel;
     protected String fResourceBase;
     protected Component fStatusBar;
     protected JLabel fStatusLabel;
     GeneralFrame fThis;
     protected NSToolbar fToolBar;
     protected CollapsibleToolbarPanel fToolBarPanel;
     protected UIManager fUIManager;
     static boolean sExternalShell;

          // Constructors 1
     public GeneralFrame(String, String);

          // Methods 21
     public static synchronized void CloseAllFrames();
     public static GeneralFrame FindFrameByID(String);
     public static GeneralFrame FindFrameByID(String, GeneralFrame);
     public static GeneralFrame GetDefaultFrame();
     public static GeneralFrame[] GetFrameList();
     public static boolean IsExternalShell();
     public static void SetExternalShell(boolean);
     protected JMenuBar buildMenu(String, IUICmd[]);
     protected Component buildStatusBar();
     public void dispose();
     public String getID();
     protected void restoreBounds();
     protected void restoreBounds(int, int);
     private void restoreBounds(String, int, int);
     protected void saveBounds();
     private void saveBounds(String);
     public void setID(String);
     protected void setStatusText(String);
     protected void startAnimation();
     protected void stopAnimation();
     public void updateUI();

          // Inner Classes 1
     class LAFListener
}



Fields


fThis

   GeneralFrame fThis


fBiffIcon

   BiffIcon fBiffIcon


fPanel

   protected Container fPanel


fAnimation

   protected Animation fAnimation


fMenu

   protected JMenuBar fMenu


fToolBarPanel

   protected CollapsibleToolbarPanel fToolBarPanel


fToolBar

   protected NSToolbar fToolBar


fStatusBar

   protected Component fStatusBar


fResourceBase

   protected String fResourceBase


fID

   protected String fID


fStatusLabel

   protected JLabel fStatusLabel


fUIManager

   protected UIManager fUIManager


fLAFListener

   private LAFListener fLAFListener


fFrameList

   static Vector fFrameList


sExternalShell

   static boolean sExternalShell


fLabels

   protected ResourceBundle fLabels



Constructors


GeneralFrame

   public GeneralFrame(String aTitle, 
                       String aID) 



Methods


dispose

   public void dispose() 
Overrides:
dispose in class Frame


updateUI

   public void updateUI() 


setID

   public void setID(String aID) 

Sets the frame's id.



getID

   public String getID() 

Returns the frame's id.



FindFrameByID

   public static GeneralFrame FindFrameByID(String aID) 

Finds the last created frame of a given id.



FindFrameByID

   public static GeneralFrame FindFrameByID(String aID, 
                                            GeneralFrame aExclude) 

Finds the last created frame of a given id.



GetDefaultFrame

   public static GeneralFrame GetDefaultFrame() 

Returns a frame for use by dialogs



SetExternalShell

   public static void SetExternalShell(boolean aShell) 

Sets whether or not this frame is working with an external application. Important to prevent exiting the system when all our frames close.



IsExternalShell

   public static boolean IsExternalShell() 


GetFrameList

   public static GeneralFrame[] GetFrameList() 


CloseAllFrames

   public static synchronized void CloseAllFrames() 


buildMenu

   protected JMenuBar buildMenu(String aMenu, 
                                IUICmd[] aActions) 


buildStatusBar

   protected Component buildStatusBar() 


startAnimation

   protected void startAnimation() 


stopAnimation

   protected void stopAnimation() 


setStatusText

   protected void setStatusText(String aString) 


saveBounds

   private void saveBounds(String aName) 


saveBounds

   protected void saveBounds() 


restoreBounds

   private void restoreBounds(String aName, 
                              int aWidth, 
                              int aHeight) 


restoreBounds

   protected void restoreBounds(int aWidth, 
                                int aHeight) 


restoreBounds

   protected void restoreBounds() 


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