All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.certappl.SignSECA

java.lang.Object
   |
   +----netscape.application.Application
           |
           +----semper.certappl.SignSECA

public class SignSECA
extends Application
implements Target, WindowOwner
In this example we create several user interface elements and place them on the root view. We receive the target of these elements so that as the user interacts with them we receive the corresponding commands. If the user selects the SECA contract, it will stored in a file otherwise not


Constructor Index

 o SignSECA()

Method Index

 o button1WasPressed(Object)
This method is invoked when the button is pressed.
 o button2WasPressed(Object)
 o BUYER_pop()
 o COMMERCIAL_pop()
 o FIFTY_pop()
 o FIVE_HUNDRED_pop()
 o FIVE_THOUSAND_pop()
 o init()
This method gets called to initialize an application.
 o main(String[])
This method allows SignSECA to run as a stand alone application.
 o nameWasEntered(Object)
This method is invoked when the user hits return in the TextField.
 o NO_pop()
 o NULL_pop()
 o orgnameWasEntered(Object)
 o performCommand(String, Object)
This is the sole method of the Target interface.
 o PRIVATE_pop()
 o SELLER_pop()
 o showStatus(String)
We call showStatus() from several places to update the text displayed in the status field.
 o surnameWasEntered(Object)
 o UNLIMITED_pop()
 o windowDidBecomeMain(Window)
 o windowDidHide(Window)
 o windowDidResignMain(Window)
 o windowDidShow(Window)
 o windowWillHide(Window)
 o windowWillShow(Window)
 o windowWillSizeBy(Window, Size)
 o YES_pop()

Constructors

 o SignSECA
 public SignSECA()

Methods

 o init
 public void init()
This method gets called to initialize an application. We'll take this opportunity to set up the View hierarchy.

Overrides:
init in class Application
 o performCommand
 public void performCommand(String command,
                            Object arg)
This is the sole method of the Target interface. Since java doesn't have a way to do callbacks, this ugly little bit of code needs to exist. The convention we recommend is to simply invoke the method with the same name as the command.

 o NO_pop
 public void NO_pop()
 o YES_pop
 public void YES_pop()
 o PRIVATE_pop
 public void PRIVATE_pop()
 o COMMERCIAL_pop
 public void COMMERCIAL_pop()
 o BUYER_pop
 public void BUYER_pop()
 o SELLER_pop
 public void SELLER_pop()
 o NULL_pop
 public void NULL_pop()
 o FIFTY_pop
 public void FIFTY_pop()
 o FIVE_HUNDRED_pop
 public void FIVE_HUNDRED_pop()
 o FIVE_THOUSAND_pop
 public void FIVE_THOUSAND_pop()
 o UNLIMITED_pop
 public void UNLIMITED_pop()
 o button1WasPressed
 public void button1WasPressed(Object arg)
This method is invoked when the button is pressed.

 o button2WasPressed
 public void button2WasPressed(Object arg)
 o nameWasEntered
 public void nameWasEntered(Object arg)
This method is invoked when the user hits return in the TextField.

 o surnameWasEntered
 public void surnameWasEntered(Object arg)
 o orgnameWasEntered
 public void orgnameWasEntered(Object arg)
 o showStatus
 public void showStatus(String status)
We call showStatus() from several places to update the text displayed in the status field.

 o main
 public static void main(String args[])
This method allows SignSECA to run as a stand alone application.

 o windowDidHide
 public void windowDidHide(Window window)
 o windowWillHide
 public boolean windowWillHide(Window window)
 o windowDidBecomeMain
 public void windowDidBecomeMain(Window window)
 o windowDidResignMain
 public void windowDidResignMain(Window window)
 o windowDidShow
 public void windowDidShow(Window window)
 o windowWillShow
 public boolean windowWillShow(Window window)
 o windowWillSizeBy
 public void windowWillSizeBy(Window window,
                              Size size)

All Packages  Class Hierarchy  This Package  Previous  Next  Index