@Type(tagName="form") public class Form extends Element
Modifier and Type | Class and Description |
---|---|
static class |
Form.Enctype
Represent type of how form-data should be encoded
|
static class |
Form.Method
Represent type of how to send form-data
|
Constructor and Description |
---|
Form() |
Modifier and Type | Method and Description |
---|---|
void |
drawAttributes() |
java.lang.String |
getAccept()
Specifies the types of files that can be submitted through a file upload.
|
java.lang.String |
getAcceptCharset()
Specifies the character-sets the server can handle for form-data.
|
java.lang.String |
getAction()
Specifies where to send the form-data when a form is submitte.
|
Form.Enctype |
getEnctype()
Specifies how form-data should be encoded before sending it to a server.
|
Form.Method |
getMethod()
Specifies how to send form-data.
|
Form |
setAccept(java.lang.String accept)
Set "accept" property and if element was draw call script at browser.
|
Form |
setAcceptCharset(java.lang.String acceptCharset)
Set "acceptCharset" property and if element was draw call script at
browser.
|
Form |
setAction(java.lang.String action)
Set "action" property and if element was draw call script at browser.
|
Form |
setEnctype(Form.Enctype enctype)
Set "enctype" property and if element was draw call script at browser.
|
Form |
setMethod(Form.Method method)
Set "method" property and if element was draw call script at browser.
|
Form |
submit()
Submit the form.
|
add, addAllDropTargets, addDropTarget, addListener, addStyleClass, alert, assignText, callBack, callBack, callScript, clearDropTargets, clearElements, clearElements, confirm, confirm, drawAttribute, findElement, findParent, findViewElements, fireEvent, fireEvent, fireEventOnView, fireEventOnView, firePropertyChange, focus, getApplication, getBundle, getBundleObject, getCustomDragMove, getDir, getDragDropEventsOptions, getDropTargets, getElements, getElements, getEventListeners, getId, getLang, getParent, getStyle, getStyleClass, getTabIndex, getText, getTitle, insert, isChildrenSetChanged, isContenteditable, isDraggable, isDrawn, isEscapeText, isListening, isListening, isListening, print, prompt, prompt, remove, remove, removeAttribute, removeDropTarget, removeListener, removeListener, removeParent, removeStyleClass, replace, replaceStyleClass, retrieveListeners, retrieveListeners, setChangeChildrenSet, setContenteditable, setCustomDragMove, setDir, setDragDropEventsOptions, setDraggable, setDrawn, setEscapeText, setLang, setParent, setStyle, setStyleClass, setTabIndex, setText, setTitle, transformTagName
@InitializeAttributes public void drawAttributes()
public Form submit()
public java.lang.String getAction()
public Form setAction(java.lang.String action)
action
- the action to set. If is null call set empty value to element
at browser. If not null call set "action" property of element
at browser.public java.lang.String getAccept()
public Form setAccept(java.lang.String accept)
accept
- the accept to set. If is null call set empty value to element
at browser. If not null call set "accept" property of element
at browser.public java.lang.String getAcceptCharset()
public Form setAcceptCharset(java.lang.String acceptCharset)
acceptCharset
- the acceptCharset to set. If is null call set empty value to
element at browser. If not null call set "acceptCharset"
property of element at browser.public Form.Enctype getEnctype()
public Form setEnctype(Form.Enctype enctype)
enctype
- the enctype to set. If is null call set empty value to element
at browser. If not null call set "enctype" property of element
at browser.public Form.Method getMethod()
public Form setMethod(Form.Method method)
method
- the method to set. If is null call set empty value property of
element at browser. If not null call set "method" property of
element at browser.