borland Packages  Class Hierarchy  internetbeans Package 

IxLink class

java.lang.Object
   +----com.borland.internetbeans.IxComponent
           +----com.borland.internetbeans.AbstractIxDataWidget
                   +----com.borland.internetbeans.IxLink

About the IxLink class

Variables  Properties  Methods  

Implements ColumnAware, DataSetAware, Renderable, Serializable, Cloneable

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

Represents a link, which may require URL rewriting.


IxLink variables

Variables implemented in this class

Variables implemented in com.borland.internetbeans.AbstractIxDataWidget

Variables implemented in com.borland.internetbeans.IxComponent

IxLink properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.internetbeans.AbstractIxDataWidget

Properties implemented in com.borland.internetbeans.IxComponent

Properties implemented in java.lang.Object

IxLink methods

Methods implemented in this class

Methods implemented in com.borland.internetbeans.AbstractIxDataWidget

Methods implemented in com.borland.internetbeans.IxComponent

Methods implemented in java.lang.Object


IxLink variables

TAG_NAME

  public static final String TAG_NAME = "a"
Tag name for this type of element.

TARGET_ATTRIBUTE

  public static final String TARGET_ATTRIBUTE = "href"
Name of HREF attribute, which indicates the target of the link.

IxLink properties

description

 public String getDescription()
 public void setDescription(String newDescription)
Markup text inside link.

link

 public String getLink()
 public void setLink(String newLink)
Target destination of link.

IxLink methods

assembleElementBody(outWrap)

  protected void assembleElementBody(OutputWrapper outWrap)
Generates the link text.

Parameters:

outWrap
The stream-like output into which the content goes

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

assembleTagAttributes(outWrap)

  protected void assembleTagAttributes(OutputWrapper outWrap)
Generates the HREF attribute, encoding the URL if necessary when outputing to a HttpServletResponse output stream.

Parameters:

outWrap
The stream-like output into which the content goes

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

getClosureTags()

  protected String[] getClosureTags()
A elements are closed only by the end-A tag.

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

getElementType()

  protected String getElementType()
Returns tag name for this type of element.

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

isElementEmpty()

  protected boolean isElementEmpty()
A elements are never empty.

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

mergeBody(units, int, int)

  public void mergeBody(ParseUnit[] units, int beginIndex, int endIndex)
Called by PageProducer; do not call directly. Reads and stores the text inside the A element.

Parameters:

units
Array of ParseUnit objects that the PageProducer is currently working its way through
beginIndex
Index into units array that points to element after start tag. If the element body is empty, it points to the end tag.
endIndex
Index into units array that points to element after last unit that comprises body. If the element body is empty, it is the same as beginIndex and points to the end tag.

Overrides: com.borland.internetbeans.IxComponent.mergeBody(units, int, int)

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

  public void mergeTag(String tagName, Map attributes, boolean empty)
Called by PageProducer; do not call directly. Reads and stores the value of the HREF attribute, then calls super.

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.IxComponent.mergeTag(java.lang.String, java.util.Map, boolean)