borland Packages  Class Hierarchy  internetbeans Package 

IxControl class

java.lang.Object
   +----com.borland.internetbeans.IxComponent
           +----com.borland.internetbeans.AbstractIxDataWidget
                   +----com.borland.internetbeans.AbstractIxControl
                           +----com.borland.internetbeans.IxControl

About the IxControl class

Variables  Properties  Methods  

Implements ColumnAware, DataSetAware, Renderable, Submitable, Serializable, Cloneable

Note: This package is a feature of JBuilder Professional and Enterprise.

Generic component that determines at runtime which specific type of component should be used to generate dynamic content, based on the matching element in the source HTML file and delegates to a new instance of that specific component. This component must be used with a PageProducer.


IxControl variables

Variables implemented in com.borland.internetbeans.AbstractIxControl

Variables implemented in com.borland.internetbeans.AbstractIxDataWidget

Variables implemented in com.borland.internetbeans.IxComponent

IxControl properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.internetbeans.AbstractIxControl

Properties implemented in com.borland.internetbeans.AbstractIxDataWidget

Properties implemented in com.borland.internetbeans.IxComponent

Properties implemented in java.lang.Object

IxControl methods

Methods implemented in this class

Methods implemented in com.borland.internetbeans.AbstractIxControl

Methods implemented in com.borland.internetbeans.IxComponent

Methods implemented in java.lang.Object


IxControl properties

columnName

 public void setColumnName(String newColumnName)
Updates delegate columnName in addition to own columnName.

controlName

 public void setControlName(String newValue)
Updates delegate name in addition to own name.

dataSet

 public void setDataSet(DataSet newDataSet)
Updates delegate dataSet in addition to own dataSet.

features

 public int getFeatures()
Asks delegate for features.

namedAction

 public String getNamedAction()
 public void setNamedAction(String name)
A named action to perfom if the control is submitted, if any.

renderDelegate

 public IxComponent getRenderDelegate()
Called after object is merged with source, provides the delegate the opportunity to do final setup and/or further delegate to another object.

Do not call directly.

Returns object to add to content-generation list.

tupleModel

 public TupleModel getTupleModel()
 public void setTupleModel(TupleModel newTupleModel)
Data model for delegate.

value

 public String getValue()
 public void setValue(String newValue)
The value held by the delegate or its data model.

IxControl methods

assembleElementBody(outWrap)

  protected void assembleElementBody(OutputWrapper outWrap)
Asks its delegate to add the element body, if any, to the output.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.IxComponent.assembleElementBody(outWrap)

assembleMergedAttributes(outWrap)

  protected void assembleMergedAttributes(OutputWrapper outWrap)
Asks the delegate to merge any remaining attributes that were not handled by the delegate directly.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.IxComponent.assembleMergedAttributes(outWrap)

assembleTagAttributes(outWrap)

  protected void assembleTagAttributes(OutputWrapper outWrap)
Asks its delegate to render delegate-specific tag attributes.

Parameters:

outWrap
The stream-like output into which the content goes

Overrides: com.borland.internetbeans.AbstractIxControl.assembleTagAttributes(outWrap)

cloneForTupleModel(tupleModel)

  protected IxComponent cloneForTupleModel(TupleModel tupleModel)
Clones itself and its delegate.

Parameters:

tupleModel
Data model for other page context
Returns clone of component, with tupleModel property set to new model.

Overrides: com.borland.internetbeans.AbstractIxDataWidget.cloneForTupleModel(tupleModel)

getClosureTags()

  protected String[] getClosureTags()
Asks its delegate to returns the tags names that would indicate the end of the delgate's element.

Overrides: com.borland.internetbeans.IxComponent.getClosureTags()

getElementType()

  protected String getElementType()
Asks its delegate to return name of element type, e.g. INPUT, SPAN, TABLE.

Overrides: com.borland.internetbeans.IxComponent.getElementType()

isElementEmpty()

  protected boolean isElementEmpty()
Asks its delegate to determine whether to use empty element termination in tag, or to expect an element body.

Overrides: com.borland.internetbeans.IxComponent.isElementEmpty()

mergeTag(java.lang.String, java.util.Map, boolean)

  public void mergeTag(String tagName, Map attributes, boolean empty)
Called by PageProducer; do not call directly. Determines the type of delegate to use.

Parameters:

tagName
Name of the matching tag, e.g. INPUT, SELECT
attributes
Map of attribute values
empty
Whether the source tag was empty

Overrides: com.borland.internetbeans.AbstractIxControl.mergeTag(java.lang.String, java.util.Map, boolean)