com.arsdigita.bebop.form
Class ImageSubmit
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.form.Widget
com.arsdigita.bebop.form.ImageSubmit
- All Implemented Interfaces:
- BebopConstants, Cloneable, Component, Lockable
- public class ImageSubmit
- extends Widget
A class representing an image HTML form element.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/form/ImageSubmit.java#7 $
- Author:
- Karl Goldstein, Uday Mathur, Rory Solomon, Michael Pih
Fields inherited from class com.arsdigita.bebop.BlockStylable |
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP |
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants |
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA |
Method Summary |
String |
getType()
Returns a string naming the type of this widget. |
boolean |
isCompound()
Returns true if the widget consists of multiple HTML elements. |
void |
setAlign(int align)
Sets the ALIGN attribute for the INPUT tag
used to render this form element. |
void |
setAlt(String alt)
|
void |
setSrc(String location)
Sets the SRC attribute for the INPUT tag
used to render this form element. |
Methods inherited from class com.arsdigita.bebop.form.Widget |
addError, addError, addPrintListener, addValidationListener, clone, createParameterListener, firePrintEvent, fireValidation, generateErrors, generateWidget, generateXML, getDefaultValue, getElementTag, getErrors, getForm, getName, getParameterData, getParameterModel, getValue, isPassIn, register, removePrintListener, removeValidationListener, respond, setDefaultValue, setDisabled, setForm, setHint, setOnBlur, setOnChange, setOnFocus, setOnKeyUp, setOnSelect, setParameterModel, setPassIn, setPrintListener, setReadOnly, setValidateInvisible, setValidationGuard, setValue, toString, validateInvisible |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
children, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ImageSubmit
public ImageSubmit(String name)
- Constant for specifying BOTTOM alignment of this image input.
See here
for a description of what this attribute does.
ImageSubmit
public ImageSubmit(ParameterModel model)
getType
public String getType()
- Returns a string naming the type of this widget.
- Specified by:
getType
in class Widget
setSrc
public void setSrc(String location)
- Sets the SRC attribute for the INPUT tag
used to render this form element.
setAlt
public void setAlt(String alt)
setAlign
public void setAlign(int align)
- Sets the ALIGN attribute for the INPUT tag
used to render this form element.
isCompound
public boolean isCompound()
- Description copied from class:
Widget
- Returns true if the widget consists of multiple HTML elements.
- Specified by:
isCompound
in class Widget
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC