planetj.html
Class HTMLElement

java.lang.Object
  extended byplanetj.html.HTMLElement
Direct Known Subclasses:
FDHTMLTable, HTMLComparisonInput, HTMLEditableSelect, HTMLField, HTMLInput, HTMLItem, HTMLRadioButtonPVSelect, HTMLRowDetails, HTMLSelect, HTMLTable, HTMLTextArea, OddEvenFlag, SimpleHTMLSelect

public abstract class HTMLElement
extends java.lang.Object

!!DA (7/8/2003 11:37:59 AM) - needs documentation

Author:
PlanetJ Corporation

Field Summary
static java.lang.String DISABLED
           
static java.lang.String FOCUS_HTML_INPUT
           
 
Constructor Summary
HTMLElement()
           
 
Method Summary
static java.lang.StringBuffer appendAttribute(java.lang.String name, int value, java.lang.StringBuffer html)
          Appends the given attribute name and value to the buffer.
static java.lang.StringBuffer appendAttribute(java.lang.String name, java.lang.String value, java.lang.StringBuffer html)
          Appends the given attribute name and value to the buffer.
static java.lang.StringBuffer appendExtractableHiddenField(java.lang.String name, java.lang.String rcNavKey, java.lang.String rowNavKey, java.lang.StringBuffer html)
          Appends HTML code for a hidden HTML input for an extractable Field from a Row.
static java.lang.String getFocusHTMLInput(java.lang.String requestKey, HttpServletRequest req)
          Gets the name of the HTML input to give focus to based on a request key
 java.lang.String getId()
          Returns the id of this HTMLElement.
static boolean isDisplayField(Field fld, ExecutingContext ec, HttpServletRequest req)
          Determines if a field should be displayed or not
static void setFocusHTMLInput(java.lang.String requestKey, java.lang.String htmlInputName, HttpServletRequest req)
          Sets the name of the HTML input to give focus to based on a request key
 void setId(java.lang.String newId)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLED

public static final java.lang.String DISABLED
See Also:
Constant Field Values

FOCUS_HTML_INPUT

public static final java.lang.String FOCUS_HTML_INPUT
See Also:
Constant Field Values
Constructor Detail

HTMLElement

public HTMLElement()
Method Detail

appendAttribute

public static java.lang.StringBuffer appendAttribute(java.lang.String name,
                                                     int value,
                                                     java.lang.StringBuffer html)
Appends the given attribute name and value to the buffer. If no name is specified, the given value will be appended by itself.


appendAttribute

public static java.lang.StringBuffer appendAttribute(java.lang.String name,
                                                     java.lang.String value,
                                                     java.lang.StringBuffer html)
Appends the given attribute name and value to the buffer. If no name is specified, the given value will be appended by itself.


appendExtractableHiddenField

public static java.lang.StringBuffer appendExtractableHiddenField(java.lang.String name,
                                                                  java.lang.String rcNavKey,
                                                                  java.lang.String rowNavKey,
                                                                  java.lang.StringBuffer html)
Appends HTML code for a hidden HTML input for an extractable Field from a Row.


getFocusHTMLInput

public static java.lang.String getFocusHTMLInput(java.lang.String requestKey,
                                                 HttpServletRequest req)
Gets the name of the HTML input to give focus to based on a request key


getId

public java.lang.String getId()
Returns the id of this HTMLElement.

Returns:
String

isDisplayField

public static boolean isDisplayField(Field fld,
                                     ExecutingContext ec,
                                     HttpServletRequest req)
                              throws CMException
Determines if a field should be displayed or not

Throws:
CMException

setFocusHTMLInput

public static void setFocusHTMLInput(java.lang.String requestKey,
                                     java.lang.String htmlInputName,
                                     HttpServletRequest req)
Sets the name of the HTML input to give focus to based on a request key


setId

public void setId(java.lang.String newId)
Insert the method's description here. Creation date: (8/19/01 4:30:37 PM)

Parameters:
newId - java.lang.String