Package | Description |
---|---|
org.zkoss.image |
Image classes and interfaces.
|
org.zkoss.sound |
Sound classes and interfaces.
|
org.zkoss.util |
Utilities for handling data structures.
|
org.zkoss.util.media |
Media classes, interfaces and utilities.
|
org.zkoss.video |
Video classes and interfaces.
|
org.zkoss.web.servlet.http |
HTTP relevant utilities.
|
org.zkoss.zhtml |
ZHTML component set.
|
org.zkoss.zk.ui | |
org.zkoss.zk.ui.event |
The org.zkoss.zk.ui and org.zkoss.zk.ui.event packages are the only
packages that component and application developers need to know.
|
org.zkoss.zk.ui.ext.render |
Additional Interfaces that might be implemented by the returned object
of getExtraCtrl().
|
org.zkoss.zk.ui.impl |
Implementation of user interfaces and factories (implementation only).
|
org.zkoss.zk.ui.sys |
Internal interfaces of user interfaces and factories (behind the scene).
|
org.zkoss.zkex.zul |
Zul Extension library.
|
org.zkoss.zkmax.zul |
Components and UI utitilies available in ZK EE.
|
org.zkoss.zul |
ZUL component set that are used for HTML-based clients.
|
org.zkoss.zul.impl |
Classes used to implement ZUL Component Set (implementation only).
|
Modifier and Type | Interface and Description |
---|---|
interface |
Image
Represents an image.
|
Modifier and Type | Class and Description |
---|---|
class |
AImage
Represents an image.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Audio
Represents an audio.
|
Modifier and Type | Class and Description |
---|---|
class |
AAudio
Represents an audio.
|
Modifier and Type | Method and Description |
---|---|
static Media[] |
UploadUtils.parseResult(java.util.List<Media> result)
Parse the media list into Array,
if the list is empty or null, the return value will be null.
|
Modifier and Type | Method and Description |
---|---|
static Media[] |
UploadUtils.parseResult(java.util.List<Media> result)
Parse the media list into Array,
if the list is empty or null, the return value will be null.
|
Modifier and Type | Class and Description |
---|---|
class |
AMedia
A media object holding content such PDF, HTML, DOC or XLS content.
|
class |
RepeatableMedia
RepeatableMedia adds functionality to another media,
the ability to read repeatedly. |
Modifier and Type | Method and Description |
---|---|
static Media |
RepeatableMedia.getInstance(Media media)
Returns a repeatable media with a repeatable input stream or
reader, or null if the given media is null.
|
Modifier and Type | Method and Description |
---|---|
static Media |
RepeatableMedia.getInstance(Media media)
Returns a repeatable media with a repeatable input stream or
reader, or null if the given media is null.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Video
Represents a video.
|
Modifier and Type | Class and Description |
---|---|
class |
AVideo
Represents a video.
|
Modifier and Type | Method and Description |
---|---|
static void |
Https.write(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Media media,
boolean download,
boolean repeatable)
Write the specified media to HTTP response.
|
Modifier and Type | Method and Description |
---|---|
static void |
Filedownload.save(Media media)
Open a download dialog to save the specified content at the client.
|
static void |
Filedownload.save(Media media,
java.lang.String flnm)
Open a download dialog to save the specified content at the client with the suggested file
name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Desktop.getDownloadMediaURI(Media media,
java.lang.String pathInfo)
Returns URI for a media that is used to download to the client.
|
Modifier and Type | Method and Description |
---|---|
Media |
UploadEvent.getMedia()
Returns the first media being uploaded, or null if no file
is uploaded.
|
Media[] |
UploadEvent.getMedias()
Returns the array of media being uploaded, or null
if the user uploaded no file at all.
|
Constructor and Description |
---|
UploadEvent(java.lang.String name,
Component target,
Media[] meds)
Constructs the upload event.
|
Modifier and Type | Method and Description |
---|---|
Media |
DynamicMedia.getMedia(java.lang.String pathInfo)
Retrieve the view in
Media format. |
Modifier and Type | Method and Description |
---|---|
Media |
DesktopImpl.getDownloadMedia(java.lang.String medId,
boolean reserved) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DesktopImpl.getDownloadMediaURI(Media media,
java.lang.String pathInfo) |
Modifier and Type | Method and Description |
---|---|
Media |
DiskFileItemFactory.createMedia(org.apache.commons.fileupload.FileItem fileItem,
java.lang.String contentType,
java.lang.String fileName,
boolean isNative)
Create a new
Media instance from from the supplied parameters and
any local factory configuration. |
Media |
DesktopCtrl.getDownloadMedia(java.lang.String medId,
boolean reserved)
Returns the media that is associated with
Desktop.getDownloadMediaURI(org.zkoss.util.media.Media, java.lang.String) , or
null if not found. |
Modifier and Type | Method and Description |
---|---|
Media |
Pdfviewer.getContent()
Returns the content set by
Pdfviewer.setContent(org.zkoss.util.media.Media) . |
Media |
Pdfviewer.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Jasperreport.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Jasperreport.getReport()
Returns a AMedia contains report's byte stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Pdfviewer.setContent(Media content)
Sets the content.
|
void |
Jasperreport.setContent(Media media)
Sets the content directly.
|
Modifier and Type | Method and Description |
---|---|
Media |
Lineitem.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Video.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Cropper.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
FiledownloadListener.onDownload(Media media,
java.lang.Object source,
java.lang.String data)
Notifies that the user is requesting the media to download.
|
Modifier and Type | Method and Description |
---|---|
Media |
FiledownloadListener.onDownload(Media media,
java.lang.Object source,
java.lang.String data)
Notifies that the user is requesting the media to download.
|
Modifier and Type | Method and Description |
---|---|
static Media |
Fileupload.get()
Opens a modal dialog with the default message and title,
and let user upload a file.
|
static Media |
Fileupload.get(boolean alwaysNative)
Opens a modal dialog with the default message and title,
and let user upload a file.
|
static Media[] |
Fileupload.get(EventListener<UploadEvent> listener)
Opens a modal dialog to upload multiple files with
the default message and title.
|
static Media[] |
Fileupload.get(int max)
Opens a modal dialog to upload multiple files with
the default message and title.
|
static Media[] |
Fileupload.get(int max,
boolean alwaysNative)
Opens a modal dialog to upload multiple files with
the default message and title.
|
static Media[] |
Fileupload.get(int max,
EventListener<UploadEvent> listener)
Opens a modal dialog to upload multiple files with
the default message and title.
|
protected static Media[] |
Fileupload.get(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String message,
java.lang.String title,
int max,
int maxsize,
boolean alwaysNative)
The implementation of all public get methods.
|
static Media[] |
Fileupload.get(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String message,
java.lang.String title,
int max,
int maxsize,
boolean alwaysNative,
EventListener<UploadEvent> listener)
Opens a modal dialog to upload multiple files with
the specified message, title and options.
|
static Media[] |
Fileupload.get(java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String message,
java.lang.String title,
java.lang.String accept,
int max,
int maxsize,
boolean alwaysNative,
EventListener<UploadEvent> listener)
Opens a modal dialog to upload multiple files with
the specified message, title and options.
|
static Media |
Fileupload.get(java.lang.String message,
java.lang.String title)
Opens a modal dialog with the specified message and title,
and let user upload a file.
|
static Media |
Fileupload.get(java.lang.String message,
java.lang.String title,
boolean alwaysNative)
Opens a modal dialog with the specified message and title,
and let user upload a file.
|
static Media[] |
Fileupload.get(java.lang.String message,
java.lang.String title,
int max)
Opens a modal dialog to upload multiple files with
the specified message and title.
|
static Media[] |
Fileupload.get(java.lang.String message,
java.lang.String title,
int max,
boolean alwaysNative)
Opens a modal dialog to upload multiple files with
the specified message, title and options.
|
static Media[] |
Fileupload.get(java.lang.String message,
java.lang.String title,
int max,
int maxsize,
boolean alwaysNative)
Opens a modal dialog to upload multiple files with
the specified message, title and options.
|
Media |
Iframe.getContent()
Returns the content set by
Iframe.setContent(org.zkoss.util.media.Media) . |
Media |
Flash.getContent()
Returns the content set by
Flash.setContent(org.zkoss.util.media.Media) . |
Media |
Image.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Iframe.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media |
Audio.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Modifier and Type | Method and Description |
---|---|
static void |
Filedownload.save(Media media)
Open a download dialog to save the specified content at the client.
|
static void |
Filedownload.save(Media media,
java.lang.String flnm)
Open a download dialog to save the specified content at the client
with the suggested file name.
|
void |
Iframe.setContent(Media media)
Sets the content directly.
|
void |
Flash.setContent(Media media)
Sets the content of the flash directly.
|
Modifier and Type | Method and Description |
---|---|
Media |
LabelImageElement.ExtraCtrl.getMedia(java.lang.String pathInfo) |
Media[] |
FileuploadDlg.getResult()
Returns the result.
|
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.