Package | Description |
---|---|
org.zkoss.image |
Image classes and interfaces.
|
org.zkoss.sound |
Sound classes and interfaces.
|
org.zkoss.util.media |
Media classes, interfaces and utilities.
|
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 | 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 | 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 |
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 |
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 |
Jasperreport.setContent(Media media)
Sets the content directly.
|
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 |
---|---|
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-2011 Potix Corporation. All Rights Reserved.