Creates a new HtmlApplet
Parameters: name - The name of the applet Parameters: className - The class name of the applet Parameters: p - The page the applet will go in.
Creates a new HtmlApplet
Parameters: name - The name of the applet Parameters: className - The class name of the applet Parameters: codeBase - The directory where the applets resources will be found Parameters: width - The width of the applet Parameters: height - The height of the applet Parameters: p - The page the applet will go in.
Creates a new HtmlApplet
Parameters: name - The name of the applet Parameters: className - The class name of the applet Parameters: codeBase - The directory where the applets resources will be found Parameters: width - The width of the applet Parameters: height - The height of the applet Parameters: p - The page the applet will go in.
Creates a new HtmlApplet
Parameters: name - The name of the applet Parameters: className - The class name of the applet Parameters: codeBase - The directory where the applets resources will be found Parameters: p - The page the applet will go in.
Adds Applet Parameters based on a table with an integer primary key column (typically an id) and a name and value column. A simplifying assumption is that each of the following is the same: - name of column in the main table which refers to the simple table - name of integer column in simple table
Parameters: table - - name of table to look up names and values from Parameters: nameColumn - - column to get name values from Parameters: valueColumn - - column to get value values from Parameters: criteria - - optional selection criteria
Gets how the applet will be aligned on the page. Valid Values are ALIGN_LEFT,ALIGN_RIGHT, ALIGN_TOP, ALIGN_ABSMIDDLE, ALIGN_ABSBOTTOM, ALIGN_TEXTTOP, ALIGN_MIDDLE, ALIGN_BASELINE, ALIGN_BOTTOM
Gets the directory containing the applet class file and any resources the applet needs. The value is a URL for an absolute or a relative pathname. An absolute URL is used as is without modification and is not affected by the document's BASE tag. A relative CODEBASE attribute is relative to the document's base URL defined by the BASE tag. If the document does not define a BASE tag, it is relative to the directory containing the HTML file.
Sets how the applet will be aligned on the page. Valid Values are ALIGN_LEFT,ALIGN_RIGHT, ALIGN_TOP, ALIGN_ABSMIDDLE, ALIGN_ABSBOTTOM, ALIGN_TEXTTOP, ALIGN_MIDDLE, ALIGN_BASELINE, ALIGN_BOTTOM
Sets the directory containing the applet class file and any resources the applet needs. The value is a URL for an absolute or a relative pathname. An absolute URL is used as is without modification and is not affected by the document's BASE tag. A relative CODEBASE attribute is relative to the document's base URL defined by the BASE tag. If the document does not define a BASE tag, it is relative to the directory containing the HTML file.
public void setInteractWithForm(boolean interact)(Code)
Set the value to true if you want the applet to interact with the HTML form that it's in. Interaction consists of the applet returning a string value to the page when it is submitted (which can be queried via the getValue() method in this object and the page returning a state string to the applet which tells it how to initialize The applet itself must have 2 public methods for this to work: public String getValue() - This will return the value that the applet should return to the page. public String getState() - This method will return a state string to the page. The page will return this string back to the applet the next time it goes back to the browser as an applet parameter: "state". The applet can then restore it's state using the state string specified. This is so the applet can be made to retain it's state across page submits. In addition, two other parameters will be passed to each applet: "value" contains the value of the applet on the server and "servletSessionID" contains the session id of the session on the server.
setInteractWithForm
public void setInteractWithForm(String interact)(Code)
Set the value to true if you want the applet to interact with the HTML form that it's in. Interaction consists of the applet returning a string value to the page when it is submitted (which can be queried via the getValue() method in this object and the page returning a state string to the applet which tells it how to initialize The applet itself must have 2 public methods for this to work: public String getValue() - This will return the value that the applet should return to the page. public String getState() - This method will return a state string to the page. The page will return this string back to the applet the next time it goes back to the browser as an applet parameter: "state". The applet can then restore it's state using the state string specified. This is so the applet can be made to retain it's state across page submits. In addition, two other parameters will be passed to each applet: "value" contains the value of the applet on the server and "servletSessionID" contains the session id of the session on the server.