borland Packages  Class Hierarchy  internetbeans Package 

IxImageButton class

java.lang.Object
   +----com.borland.internetbeans.IxComponent
           +----com.borland.internetbeans.AbstractIxDataWidget
                   +----com.borland.internetbeans.AbstractIxControl
                           +----com.borland.internetbeans.AbstractIxInput
                                   +----com.borland.internetbeans.AbstractIxButton
                                           +----com.borland.internetbeans.IxSubmitButton
                                                   +----com.borland.internetbeans.IxImageButton

About the IxImageButton class

Variables  Properties  Methods  

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

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

Represents an image that submits the form when clicked. Not to be confused with an image that is simply displayed or used as a link; for that, use IxImage.

XHTML: <input type="image" />

If the image that matches this component was the image that submitted the form, the images's submitPerformed event will fire.


IxImageButton variables

Variables implemented in this class

Variables implemented in com.borland.internetbeans.AbstractIxButton

Variables implemented in com.borland.internetbeans.AbstractIxControl

Variables implemented in com.borland.internetbeans.AbstractIxDataWidget

Variables implemented in com.borland.internetbeans.AbstractIxInput

Variables implemented in com.borland.internetbeans.IxComponent

IxImageButton properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in com.borland.internetbeans.AbstractIxButton

Properties implemented in com.borland.internetbeans.AbstractIxControl

Properties implemented in com.borland.internetbeans.AbstractIxDataWidget

Properties implemented in com.borland.internetbeans.AbstractIxInput

Properties implemented in com.borland.internetbeans.IxComponent

Properties implemented in com.borland.internetbeans.IxSubmitButton

Properties implemented in java.lang.Object

IxImageButton methods

Methods implemented in this class

Methods implemented in com.borland.internetbeans.AbstractIxControl

Methods implemented in com.borland.internetbeans.AbstractIxDataWidget

Methods implemented in com.borland.internetbeans.AbstractIxInput

Methods implemented in com.borland.internetbeans.IxComponent

Methods implemented in com.borland.internetbeans.IxSubmitButton

Methods implemented in java.lang.Object


IxImageButton variables

INPUT_TYPE

  public static final String INPUT_TYPE = "image"
Value of TYPE attribute for this class of INPUT element

IxImageButton properties

alt

 public String getAlt()
 public void setAlt(String newAlt)
An string to describe the image in case the browser does not support graphics or has graphics turned off.

src

 public String getSrc()
 public void setSrc(String newSrc)
The image source URL.

IxImageButton methods

assembleTagAttributes(outWrap)

  protected void assembleTagAttributes(OutputWrapper outWrap)
Generates the TYPE, NAME, and VALUE atributes via AbstractIxInput.assembleTagAttributes then the SRC and ALT attributes.

Parameters:

outWrap
The stream-like output into which the content goes

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

getInputType()

  protected String getInputType()
Value of TYPE attribute for this class of INPUT element

Overrides: com.borland.internetbeans.IxSubmitButton.getInputType()

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 values of the SRC and ALT attributes, 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.AbstractIxButton.mergeTag(java.lang.String, java.util.Map, boolean)