public interface ItsNatHTMLIFrame extends ItsNatHTMLElementComponent
This component alongside an <input type=file>
element can be used for
file uploading.
When this component is disposed, any pending file upload process is disposed and not executed.
ItsNat provides a default implementation of this interface.
ItsNatHTMLComponentManager.createItsNatHTMLIFrame(org.w3c.dom.html.HTMLIFrameElement,org.itsnat.core.NameValue[])
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.html.HTMLIFrameElement |
getHTMLIFrameElement()
Returns the associated DOM element to this component.
|
HTMLIFrameFileUpload |
getHTMLIFrameFileUpload(ClientDocument clientDoc,
org.w3c.dom.html.HTMLInputElement elem)
Creates a file upload task associated to this iframe component and to the specified
<input type=file>
element. |
HTMLIFrameFileUpload |
getHTMLIFrameFileUpload(org.w3c.dom.html.HTMLInputElement elem)
Creates a file upload task associated to this iframe component and to the specified
<input type=file>
element. |
getHTMLElement, getItsNatHTMLComponentManager, getItsNatHTMLElementComponentUI
getElement, getItsNatElementComponentUI
addEventListener, addEventListener, addEventListener, addEventListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, disableEventListener, disableEventListener, dispose, enableEventListener, enableEventListener, getArtifact, getArtifact, getItsNatComponentManager, getItsNatComponentUI, getItsNatDocument, getNode, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, isDisposed, isEnabled, registerArtifact, removeArtifact, removeEventListener, removeEventListener, removeEventListener, removeEventListener, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setEnabled, setEventListenerParams, setEventListenerParams, setNode
containsUserValueName, getUserValue, getUserValueNames, removeUserValue, setUserValue
org.w3c.dom.html.HTMLIFrameElement getHTMLIFrameElement()
HTMLIFrameFileUpload getHTMLIFrameFileUpload(ClientDocument clientDoc, org.w3c.dom.html.HTMLInputElement elem)
<input type=file>
element.elem
- the input file element, cannot be null.clientDoc
- the client to send the file upload request.HTMLIFrameFileUpload getHTMLIFrameFileUpload(org.w3c.dom.html.HTMLInputElement elem)
<input type=file>
element.
The ClientDocument
to send the file upload request is the client associated
to the current web request or, if this call is not executed into a web request, the client
which loaded the document (the first client).
elem
- the input file element, cannot be null.getHTMLIFrameFileUpload(ClientDocument,HTMLInputElement)
Copyright © 2007 Innowhere Software Services S.L. All Rights Reserved.