|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.MouseAdapter
br.usp.ime.klava.segmentit.gui.ImagesViewer
public class ImagesViewer
Creates a window that displays images in layers.
| Constructor Summary | |
|---|---|
ImagesViewer(java.lang.String title)
Creates an ImagesViewer that is not a mainWindow (closing it
doesn't exits the application automatically. |
|
ImagesViewer(java.lang.String title,
boolean mainWindow)
Creates an ImagesViewer. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
void |
addImage(java.awt.image.BufferedImage image)
Adds an image with empty description. |
void |
addImage(java.awt.image.BufferedImage image,
java.lang.String description)
Adds an image with a description. |
void |
clear()
Removes all images |
static void |
main(java.lang.String[] args)
|
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
| Methods inherited from class java.awt.event.MouseAdapter |
|---|
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseReleased, mouseWheelMoved |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagesViewer(java.lang.String title)
ImagesViewer that is not a mainWindow (closing it
doesn't exits the application automatically.
title - a title for this ImagesViewer window
public ImagesViewer(java.lang.String title,
boolean mainWindow)
ImagesViewer. If mainWindow is true,
closing this window makes the exit automatically.
title - a title for this ImagesViewer window| Method Detail |
|---|
public void addImage(java.awt.image.BufferedImage image)
image with empty description.
image - a BufferedImage
public void addImage(java.awt.image.BufferedImage image,
java.lang.String description)
image with a description.
image - a BufferedImagedescription - a Stringpublic void clear()
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenermousePressed in class java.awt.event.MouseAdapterpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenermouseMoved in class java.awt.event.MouseAdapterpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||