|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.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 |
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". |
boolean |
getNative()
Return the setting that treat the upload file as binary or not. |
String |
getViewerClass()
Retrun the custom upload viewer class name. |
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 setNative()
public boolean getNative()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |