|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.UploadEvent
public class UploadEvent
Represents that user has uploaded one or several files from the client to the server.
| Constructor Summary | |
|---|---|
UploadEvent(java.lang.String name,
Component target,
Media[] meds)
Constructs the upload event. |
|
| Method Summary | |
|---|---|
Media |
getMedia()
Returns the first media being uploaded, or null if no file is uploaded. |
Media[] |
getMedias()
Returns the array of media being uploaded, or null if the user uploaded no file at all. |
| Methods inherited from class org.zkoss.zk.ui.event.Event |
|---|
getData, getName, getPage, getTarget, isPropagatable, stopPropagation, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UploadEvent(java.lang.String name,
Component target,
Media[] meds)
meds - the media being uploaded, or null if no file is
uploaded. If a zero-length array is passed, null is assumed.| Method Detail |
|---|
public final Media getMedia()
public final Media[] getMedias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||