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.AbstractIxBooleanInput +----com.borland.internetbeans.AbstractIxButton +----com.borland.internetbeans.IxHidden +----com.borland.internetbeans.IxTextField
Variables Properties Methods
Implements ColumnAware, DataSetAware, Renderable, Serializable, Cloneable
Base class for all INPUT controls; knows that they should have a TYPE attribute and that they are empty elements.
protected static final String SIZE_ATTRIBUTE = "size"Name of SIZE attribute, which indicates the size of the control in some way. For TEXT and PASSWORD controls, it is the width in characters; otherwise it is the width in pixels.
public static final String TAG_NAME = "input"Tag name for this type of element.
protected static final String TYPE_ATTRIBUTE = "type"Name of TYPE attribute, which indicates the type of control, e.g. BUTTON, TEXT, CHECKBOX.
public int getSize() public void setSize(int newSize)Value of SIZE attribute, which indicates the size of the control in some way. For TEXT and PASSWORD controls, it is the width in characters; otherwise it is the width in pixels.
protected void assembleElementBody(OutputWrapper outWrap)Concretes
IxComponent
but does nothing; INPUT elements have no body.
outWrap
protected void assembleTagAttributes(OutputWrapper outWrap)Generates the TYPE attribute, then via
AbstractIxControl.assembleTagAttributes
the NAME and VALUE atributes, and finally (if set greater than zero) the SIZE attribute. Subclasses should override to provide their own attributes after calling this method, so that the TYPE is first after the INPUT tag name.
outWrap
protected String[] getClosureTags()Because INPUT elements are empty, no other tags would indicate closure.
protected String getElementType()Returns the tag name "input".
protected abstract String getInputType()Returns type of control, e.g. BUTTON, TEXT, CHECKBOX.
protected boolean isElementEmpty()INPUT elements are always empty.
public void mergeTag(String tagName, Map attributes, boolean empty)Called by
PageProducer
; do not call directly. Reads and stores the value of the SIZE attribute, removes the TYPE attribute because its value is always generated, then calls super
.
tagName
attributes
empty