|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzk.Object
zk.Widget
zul.Widget
zkmax.wgt.Dropupload
public class Dropupload
A widget can handle drag files into it, and upload files to server.
Default Widget.getZclass(): z-dropupload.
known support browser :
know unsupport browser :
| Field Summary |
|---|
| Fields inherited from class zk.Widget |
|---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
| Fields inherited from class zk.Object |
|---|
$class, $oid |
| Method Summary | |
|---|---|
String |
getAnchorUuid()
Return the anchor uuid of widget. |
String |
getContent()
Return the content of widget, it's visible depends on detection setting. |
String |
getDetection()
Return the setting of drag detection area. |
int |
getMaxsize()
Get the max size setting of upload file, unit is "KB". |
String |
getViewerClass()
Retrun the custom upload viewer class name. |
boolean |
isNative()
Return the setting that treat the upload file as binary or not. |
void |
setAnchorUuid(String value)
Set the anchor uuid of widget, the anchor allows the dropupload component to anchor to another component and overlay that component when the user drag & drops files to the browser. |
void |
setContent(String value)
Set the content of widget. |
void |
setDetection(String value)
Set drag detection area. |
void |
setMaxsize(int value)
Set the max size of upload file, unit is "KB". |
void |
setNative()
Set the setting that treat the upload file as binary or not. |
void |
setViewerClass(String value)
Set the custom upload viewer class name, if was not specified, will use ZK default upload viewer. |
| Methods inherited from class zul.Widget |
|---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class zk.Object |
|---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setMaxsize(int value)
value - public int getMaxsize()
public void setViewerClass(String value)
value - public String getViewerClass()
public void setDetection(String value)
value - public String getDetection()
public void setContent(String value)
value - public String getContent()
public void setAnchorUuid(String value)
value - public String getAnchorUuid()
public void setNative()
public boolean isNative()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||