public class ImageFormInput extends FormInput implements HTMLConstants
  Here is an example of a ImageFormInput tag:
  <input type="image" name="myPicture" src="image.gif" 
  align="top" height="100" width="100" />
  
ImageFormInput objects generate the following events:
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CAPITALS, CENTER, CIRCLE, DISC, JUSTIFY, LARGE_ROMAN, LEFT, LOWER_CASE, LTR, MIDDLE, NUMBERS, RIGHT, RTL, SMALL_ROMAN, SQUARE, TARGET_BLANK, TARGET_PARENT, TARGET_SELF, TARGET_TOP, TEXTTOP, TOP| Constructor and Description | 
|---|
| ImageFormInput()Constructs a default ImageFormInput object. | 
| ImageFormInput(java.lang.String name)Constructs a ImageFormInput object with the specified control name. | 
| ImageFormInput(java.lang.String name,
              java.lang.String source)Constructs a ImageFormInput object with the specified control name and 
  image source. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getAlignment()Returns the alignment of the text following the image. | 
| java.lang.String | getFOTag()Returns a comment tag. | 
| int | getHeight()Returns the height of the image in pixels. | 
| java.lang.String | getSource()Returns the source URL for the image. | 
| java.lang.String | getTag()Returns the tag for the image form input type. | 
| int | getWidth()Returns the width of the image in pixels. | 
| void | setAlignment(java.lang.String align)Sets the alignment of the text following the image. | 
| void | setHeight(int height)Sets the height of the image in pixels. | 
| void | setSource(java.lang.String source)Sets the source URL for the image. | 
| void | setWidth(int width)Sets the width of the image in pixels. | 
addVetoableChangeListener, getDirection, getLanguage, getName, getSize, getValue, removeVetoableChangeListener, setDirection, setLanguage, setName, setSize, setValue, toStringaddPropertyChangeListener, getAttributes, getAttributeString, removePropertyChangeListener, setAttributespublic ImageFormInput()
public ImageFormInput(java.lang.String name)
name - The control name of the input field.public ImageFormInput(java.lang.String name,
              java.lang.String source)
name - The control name of the input field.source - The source URL of the image.public java.lang.String getAlignment()
HTMLConstantspublic int getHeight()
public java.lang.String getSource()
public java.lang.String getFOTag()
getFOTag in interface HTMLTagElementpublic java.lang.String getTag()
getTag in interface HTMLTagElementpublic int getWidth()
public void setAlignment(java.lang.String align)
                  throws java.beans.PropertyVetoException
align - The alignment.  One of the following constants
  defined in HTMLConstants:  BASELINE, BOTTOM, ABSBOTTOM, LEFT, RIGHT,
  MIDDLE, ABSMIDDLE, TOP, or TEXTOP.java.beans.PropertyVetoException - If a change is vetoed.HTMLConstantspublic void setHeight(int height)
               throws java.beans.PropertyVetoException
height - The height.java.beans.PropertyVetoException - If a change is vetoed.public void setSource(java.lang.String source)
               throws java.beans.PropertyVetoException
source - The URL.java.beans.PropertyVetoException - If a change is vetoed.public void setWidth(int width)
              throws java.beans.PropertyVetoException
width - The width.java.beans.PropertyVetoException - If a change is vetoed.