|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A viewer panel hs an area in which an object is rendered for viewing.
+--------------------------------+
| Location: ___________________ |
+--------------------------------+
| |
| |
| Viewer Window |
| |
| |
| |
+ -------------------------------+
A viewer panel contains a location and a URI pointing to a peace of
information to be viewed. This could be files, or even a query to
an information system or database. a viewer can have support for
multiple protocols. Only protocols that are registered can be
viewed.
| Method Summary | |
void |
register(String mimetype,
Object viewer)
Regoisters a viewer for a particulat protocol. |
void |
setDefault(Object viewer)
Sets the default viewer to |
| Methods inherited from interface org.globus.cog.gridface.interfaces.GridFace |
lastUpdateTime, register, setLabel, setName, update |
| Method Detail |
public void register(String mimetype,
Object viewer)
mimetype - a String the mimetype. For now we
use a combination of endings and
prefixes. E.g. gridftp://..../a.jpg. Will fetch and display in
an image in the viewer. The file will be downloaded to the
local computer.viewer - an Object The viewer the displays
the result in the view window.public void setDefault(Object viewer)
viewer - an Object value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||