com.charliemouse.cambozola

Class Viewer

public class Viewer extends Applet implements MouseListener, MouseMotionListener, KeyListener, ImageChangeListener, ExceptionReporter, ViewerAttributeInterface

com/charliemouse/cambozola/Viewer.java Copyright (C) Andy Wilcock, 2001. Available from http://www.charliemouse.com Cambozola is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Cambozola is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Cambozola; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Constructor Summary
Viewer()
Method Summary
voiddestroy()
voiddisplayURL(URL url, String target)
VectorgetAccessories()
VectorgetAlternateURLs()
StringgetParameterValue(String key)
ICameraProfilegetProfile()
CamStreamgetStream()
PercentAreagetViewArea()
voidimageChanged(ImageChangeEvent ce)
voidinit()
booleanisDisplayingAccessories()
booleanisStandalone()
voidkeyPressed(KeyEvent ke)
voidkeyReleased(KeyEvent e)
voidkeyTyped(KeyEvent e)
static voidmain(String[] args)
voidmouseClicked(MouseEvent me)
voidmouseDragged(MouseEvent me)
voidmouseEntered(MouseEvent me)
voidmouseExited(MouseEvent me)
voidmouseMoved(MouseEvent me)
voidmousePressed(MouseEvent me)
voidmouseReleased(MouseEvent me)
voidpaint(Graphics g)
voidpaintFrame(Graphics g, Image img, Dimension d, WatermarkCollection wmc)
voidreportError(Throwable t)
voidreportFailure(String s)
voidreportNote(String s)
voidsetAlternateURLs(Vector v)
voidsetBackgroundColor(Color col)
voidsetCurrentURL(URL loc)
voidsetDisplayingAccessories(boolean b)
voidsetTextColor(Color col)
voidshowStatus(String s)
voidstart()
voidstop()
voidupdate(Graphics g)
static voidusage()

Constructor Detail

Viewer

public Viewer()

Method Detail

destroy

public void destroy()

displayURL

public void displayURL(URL url, String target)

getAccessories

public Vector getAccessories()

getAlternateURLs

public Vector getAlternateURLs()

getParameterValue

public String getParameterValue(String key)

getProfile

public ICameraProfile getProfile()

getStream

public CamStream getStream()

getViewArea

public PercentArea getViewArea()

imageChanged

public void imageChanged(ImageChangeEvent ce)

init

public void init()

isDisplayingAccessories

public boolean isDisplayingAccessories()

isStandalone

public boolean isStandalone()

keyPressed

public void keyPressed(KeyEvent ke)

keyReleased

public void keyReleased(KeyEvent e)

keyTyped

public void keyTyped(KeyEvent e)

main

public static void main(String[] args)

mouseClicked

public void mouseClicked(MouseEvent me)

mouseDragged

public void mouseDragged(MouseEvent me)

mouseEntered

public void mouseEntered(MouseEvent me)

mouseExited

public void mouseExited(MouseEvent me)

mouseMoved

public void mouseMoved(MouseEvent me)

mousePressed

public void mousePressed(MouseEvent me)

mouseReleased

public void mouseReleased(MouseEvent me)

paint

public void paint(Graphics g)

paintFrame

public void paintFrame(Graphics g, Image img, Dimension d, WatermarkCollection wmc)

reportError

public void reportError(Throwable t)

reportFailure

public void reportFailure(String s)

reportNote

public void reportNote(String s)

setAlternateURLs

public void setAlternateURLs(Vector v)

setBackgroundColor

public void setBackgroundColor(Color col)

setCurrentURL

public void setCurrentURL(URL loc)

setDisplayingAccessories

public void setDisplayingAccessories(boolean b)

setTextColor

public void setTextColor(Color col)

showStatus

public void showStatus(String s)

start

public void start()

stop

public void stop()

update

public void update(Graphics g)

usage

public static void usage()