|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.client.image.data.Navigator
public final class Navigator
A class that controls which ArrayImages are seen (as well as the order) when the user clicks the "Next" and "Back" buttons.
| Constructor Summary | |
|---|---|
Navigator()
|
|
| Method Summary | |
|---|---|
ArrayImageCell |
getBack(ArrayImageCell currentArrayImage,
boolean isRandom)
Returns the last ArrayImage in this navigation sequence. |
ArrayImageCell |
getDown(ArrayImageCell currentArrayImage)
Returns the ArrayImage that is directory below currentArrayImage in the ArraySlide. |
ArrayImageCell |
getNext(ArrayImageCell currentArrayImage,
boolean isRandom)
Returns the next ArrayImage in this navigation sequence. |
ArrayImageCell |
getUp(ArrayImageCell currentArrayImage)
Returns the ArrayImage that is directory above currentArrayImage in the ArraySlide. |
void |
initialize(ArrayImageCollectionBean arrayImageCollectionBean)
Initializes the navigator by setting the the ArrayImageCollectionBean |
static boolean |
isArrayImageIncluded(ArrayImageCell arrayImage)
Returns true if the ArrayImage should be included in the navigator. |
void |
reset()
Recalculates the ArrayImage sequence. |
void |
setSpecifiedArrayImagesList(java.util.List<ArrayImageCell> arrayImagesList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigator()
| Method Detail |
|---|
public void reset()
public void initialize(ArrayImageCollectionBean arrayImageCollectionBean)
public void setSpecifiedArrayImagesList(java.util.List<ArrayImageCell> arrayImagesList)
public ArrayImageCell getBack(ArrayImageCell currentArrayImage,
boolean isRandom)
throws NoArrayImageException
NoArrayImageException
public ArrayImageCell getNext(ArrayImageCell currentArrayImage,
boolean isRandom)
throws NoArrayImageException
NoArrayImageExceptionpublic ArrayImageCell getUp(ArrayImageCell currentArrayImage)
public ArrayImageCell getDown(ArrayImageCell currentArrayImage)
public static boolean isArrayImageIncluded(ArrayImageCell arrayImage)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||