planetj.html
Class HTMLElement

java.lang.Object
  |
  +--planetj.html.HTMLElement
Direct Known Subclasses:
FDHTMLTable, HTMLComparisonInput, HTMLEditableSelect, HTMLField, HTMLInput, HTMLOption, HTMLRadioButtonPVSelect, HTMLRowDetails, HTMLSelect, HTMLTable, HTMLTextArea, OddEvenFlag, SimpleHTMLSelect, TestHTMLTable

public abstract class HTMLElement
extends Object

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

Author:
PlanetJ Corporation

Field Summary
static String DISABLED
           
 
Constructor Summary
HTMLElement()
           
 
Method Summary
static StringBuffer appendAttribute(String name, int value, StringBuffer html)
          Appends the given attribute name and value to the buffer.
static StringBuffer appendAttribute(String name, String value, StringBuffer html)
          Appends the given attribute name and value to the buffer.
static StringBuffer appendExtractableHiddenField(String name, String rcNavKey, String rowNavKey, StringBuffer html)
          Appends HTML code for a hidden HTML input for an extractable Field from a Row.
 String getId()
          Returns the id of this HTMLTable.
static boolean isDisplayField(Field fld, ExecutingContext ec, javax.servlet.http.HttpServletRequest req)
          Determines if a field should be displayed or not
 void setId(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 String DISABLED
See Also:
Constant Field Values
Constructor Detail

HTMLElement

public HTMLElement()
Method Detail

appendAttribute

public static StringBuffer appendAttribute(String name,
                                           int value,
                                           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 StringBuffer appendAttribute(String name,
                                           String value,
                                           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 StringBuffer appendExtractableHiddenField(String name,
                                                        String rcNavKey,
                                                        String rowNavKey,
                                                        StringBuffer html)
Appends HTML code for a hidden HTML input for an extractable Field from a Row.


getId

public String getId()
Returns the id of this HTMLTable.

Returns:
String

isDisplayField

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

CMException

setId

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

Parameters:
newId - java.lang.String