public class ImageStack
extends java.lang.Object
Constructor and Description |
---|
ImageStack()
Convenience constructor for a collection of images.
|
Modifier and Type | Method and Description |
---|---|
void |
addAllImageFiles(java.util.Collection s)
Appends all image file names or ImageFiles to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation).
|
void |
addAllImageFiles(int index,
java.util.Collection S)
Inserts the specified ImageFiles or pathnames to the end of this list.
|
void |
addImageFile(ImageFile img)
Appends an ImageFile having the given path to the end of this list.
|
void |
addImageFile(int index,
ImageFile nickname)
Inserts the specified ImageFile to the end of this list.
|
void |
addImageFile(int index,
java.lang.String name)
Inserts an ImageFile having the given path to the end of this list.
|
void |
addImageFile(java.lang.String img)
Appends an ImageFile having the given path to the end of this list.
|
void |
clearImageFiles()
Removes the names of all image files from this stack.
|
boolean |
containsAllImageFiles(java.util.Collection S)
Returns true if this stack contains all of the named image files.
|
boolean |
containsImageFile(java.lang.String name)
Returns true if this stack contains the named image file.
|
java.util.Vector |
getImageFileNames()
Gets the names of the image files as a list.
|
int |
imageStackSize()
Returns the number of images within the stack.
|
int |
indexOfImageFile(java.lang.String name)
Returns the position of the named image within the stack.
|
void |
removeAllImageFiles(java.util.Collection S)
Removes all of the images indicated.
|
void |
removeImageFile(int index)
Removes the image at the indicated position within the stack.
|
void |
removeImageFile(java.lang.String name)
Removes the image at the indicated position within the stack.
|
void |
writeAsJavascriptHTML(java.io.File pubdirpath)
Convenience method which publishes an HTML+Javascript animation/slideshow of
this stack.
|
public ImageStack()
public java.util.Vector getImageFileNames()
public void addImageFile(int index, ImageFile nickname)
public void addImageFile(int index, java.lang.String name)
public void addImageFile(ImageFile img)
public void addImageFile(java.lang.String img)
public void addAllImageFiles(int index, java.util.Collection S)
public void addAllImageFiles(java.util.Collection s)
public void clearImageFiles()
public boolean containsImageFile(java.lang.String name)
public boolean containsAllImageFiles(java.util.Collection S)
public void removeImageFile(int index)
public void removeImageFile(java.lang.String name)
public void removeAllImageFiles(java.util.Collection S)
public int indexOfImageFile(java.lang.String name)
public int imageStackSize()
public void writeAsJavascriptHTML(java.io.File pubdirpath)
Copyright © 2011, 2013. Daniel P. Dougherty