borland Packages Class Hierarchy internetbeans Package
java.lang.Object +----com.borland.internetbeans.IxComponent +----com.borland.internetbeans.AbstractIxDataWidget +----com.borland.internetbeans.AbstractIxControl +----com.borland.internetbeans.AbstractIxInput +----com.borland.internetbeans.AbstractIxList +----com.borland.internetbeans.IxControl +----com.borland.internetbeans.IxTextArea
Variables Properties Methods
Implements ColumnAware, DataSetAware, Renderable, Serializable, Cloneable
Base class for any control inside a form, which (with some very specific exceptions) always have a control name and value.
Although the form name/number is returned by the HTML parser and stored in the object, it is not used in the current version. This means that you may have more than one form, and all controls with the same name will use the same component.
protected static final String NAME_ATTRIBUTE = "name"Name of NAME attribute, which identifies controls in a form (and the values that will be sent in a HTTP POST).
protected static final String VALUE_ATTRIBUTE = "value"Name of VALUE attribute, which contains the string displayed in the control.
public String getControlName() public void setControlName(String newHtmlName)Value of NAME attribute, which identifies controls in a form (and the values that will be sent in a HTTP POST).
public String getFormName() public void setFormName(String name)A page may have more than one form, and may have a name.
Although the form name is returned by the HTML parser and stored in the object, it is not used in the current version. This means that you may have more than one form, and all controls with the same name will use the same component.
public int getFormNumber() public void setFormNumber(int number)A page may have more than one form. They are numbered, starting with zero.
Although the form number is returned by the HTML parser and stored in the object, it is not used in the current version. This means that you may have more than one form, and all controls with the same name will use the same component.
public String getIdentifier()Returns ID attribute, if set; otherwise uses control name, mangled so that it cannot conflict with other IDs.
public void setRequestParameterValue(String value)Reacts to a matching parameter in the request by setting the control value. Parameters names are matched via
getIdentifier
.
public void setValue(String newValue)
AbstractIxDataWidget
to add write access to the component's data model.
protected void assembleTagAttributes(OutputWrapper outWrap)Generates the NAME and (for empty elements) VALUE attributes.
outWrap
public static String controlName(int formNumber, String controlName)Returns what the identifier would be for a particular control, using an internal scheme for generating names that do not conflict with ID attributes.
formNumber
This argument is ignored in the current version.
controlName
public static String controlName(String formName, String controlName)Returns what the identifier would be for a particular control, using an internal scheme for generating names that do not conflict with ID attributes.
formName
This argument is ignored in the current version.
controlName
public void mergeTag(String tagName, Map attributes, boolean empty)Called by
PageProducer
; do not call directly. Removes the NAME and VALUE attribute, because their values are always generated, then calls super
.
tagName
attributes
empty