|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
edu.neu.ccs.gui.DisplayPanel
edu.neu.ccs.gui.ImageViewerBase
edu.neu.ccs.gui.ImageViewer
Class ImageViewer creates
an image viewer for local image files.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class edu.neu.ccs.gui.ImageViewerBase |
imageFileNames, paintables, X_MAX, Y_MAX, Y_MAX_SMALL |
| Fields inherited from class edu.neu.ccs.gui.DisplayPanel |
background, codec, CODEC |
| Fields inherited from class javax.swing.JPanel |
|
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface edu.neu.ccs.gui.Displayable |
DEFAULT_VIEW_STATE, VIEW_STATE |
| Fields inherited from interface edu.neu.ccs.util.JPTConstants |
ABOVE, ALIGNMENT, BELOW, BOTTOM_LEFT, BOTTOM_RIGHT, DEFAULT, FONT, INPUT_PROPERTIES, MANDATORY, OPTIONAL, ORIENTATION, TOP_LEFT, TOP_RIGHT, VALUE |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
ImageViewer(String directory)
Creates an image viewer for local image files that displays all images files in the given directory; images are shown full size and may need to be scrolled. |
|
ImageViewer(String directory,
boolean autoscale)
Creates an image viewer for local image files that displays all images files in the given directory; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen. |
|
ImageViewer(String directory,
String filelist)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; images are shown full size and may need to be scrolled. |
|
ImageViewer(String directory,
String[] imageFileNames)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given array of image file names; images are shown full size and may need to be scrolled. |
|
ImageViewer(String directory,
String[] imageFileNames,
boolean autoscale)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen. |
|
ImageViewer(String directory,
String filelist,
boolean autoscale)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen. |
|
| Methods inherited from class edu.neu.ccs.gui.ImageViewerBase |
getAnnotationHeight, makeGUI, makeInnerGUI |
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ImageViewer(String directory)
Creates an image viewer for local image files that displays all images files in the given directory; images are shown full size and may need to be scrolled.
directory - the local directory with the images
public ImageViewer(String directory,
String filelist)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; images are shown full size and may need to be scrolled.
directory - the local directory with the imagesfilelist - the name of a file with the list of images
public ImageViewer(String directory,
String[] imageFileNames)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given array of image file names; images are shown full size and may need to be scrolled.
directory - the local directory with the imagesimageFileNames - the array of image file names
public ImageViewer(String directory,
boolean autoscale)
Creates an image viewer for local image files that displays all images files in the given directory; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen.
directory - the local directory with the imagesautoscale - whether or not to scale the images
public ImageViewer(String directory,
String filelist,
boolean autoscale)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen.
directory - the local directory with the imagesfilelist - the name of a file with the list of imagesautoscale - whether or not to scale the images
public ImageViewer(String directory,
String[] imageFileNames,
boolean autoscale)
Creates an image viewer for local image files that displays the images in the given directory that are provided in the given filelist text file; the autoscale parameter determines whether or not the individual images should be scaled to fit on screen.
directory - the local directory with the imagesimageFileNames - the array of image file namesautoscale - whether or not to scale the images
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||