|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.impl.FormPanelImpl
public class FormPanelImpl
Implementation class used by FormPanel.
| Constructor Summary | |
|---|---|
FormPanelImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getContents(Element iframe)
Gets the response html from the loaded iframe. |
java.lang.String |
getEncoding(Element form)
Gets the form element's encoding. |
void |
hookEvents(Element iframe,
Element form,
FormPanelImplHost listener)
Hooks the iframe's onLoad event and the form's onSubmit event. |
void |
reset(Element form)
Resets a form. |
void |
setEncoding(Element form,
java.lang.String encoding)
Sets the form element's encoding. |
void |
submit(Element form,
Element iframe)
Submits a form. |
void |
unhookEvents(Element iframe,
Element form)
Unhooks the iframe's onLoad event. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormPanelImpl()
| Method Detail |
|---|
public java.lang.String getContents(Element iframe)
iframe - the iframe from which the response html is to be extracted
public java.lang.String getEncoding(Element form)
form - the form whose encoding is to be retrieved
public void hookEvents(Element iframe,
Element form,
FormPanelImplHost listener)
iframe - the iframe whose onLoad event is to be hookedform - the form whose onSubmit event is to be hookedlistener - the listener to receive notificationpublic void reset(Element form)
form - the form to be reset
public void setEncoding(Element form,
java.lang.String encoding)
form - the form whose encoding is to be setencoding - the new encoding type
public void submit(Element form,
Element iframe)
form - the form to be submittediframe - the iframe that is targetted, or null
public void unhookEvents(Element iframe,
Element form)
iframe - the iframe whose onLoad event is to be unhookedform - the form whose onSubmit event is to be unhooked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||