public class SlideShowAnnotationController extends DialogAnnotationController
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BUFFERED_IMAGE_CACHE_NAME |
static java.lang.String |
BUFFERED_IMAGE_CACHE_SIZE |
protected static long |
DEFAULT_BUFFERED_IMAGE_CACHE_SIZE |
protected java.util.List<java.lang.Object> |
imageSources |
protected int |
index |
protected static java.awt.Dimension |
LARGE_IMAGE_PREFERRED_SIZE |
protected java.lang.Thread |
readThread |
protected static long |
SLIDESHOW_UPDATE_DELAY_MILLIS |
protected static java.awt.Dimension |
SMALL_IMAGE_PREFERRED_SIZE |
protected java.lang.String |
state |
protected javax.swing.Timer |
updateTimer |
toolTipComponent
Constructor and Description |
---|
SlideShowAnnotationController(WorldWindow worldWindow,
SlideShowAnnotation annotation) |
SlideShowAnnotationController(WorldWindow worldWindow,
SlideShowAnnotation annotation,
java.lang.Iterable<?> imageSources) |
Modifier and Type | Method and Description |
---|---|
protected void |
beginPressed(java.awt.event.ActionEvent e) |
protected java.lang.String |
createPositionText(int position,
int length) |
protected java.lang.String |
createTitle(java.lang.Object imageSource) |
protected void |
doGoToImage(int index) |
protected void |
doRetrieveAndSetImage(java.lang.Object source,
int index) |
protected void |
doSetImage(PowerOfTwoPaddedImage image,
int index) |
protected void |
endPressed(java.awt.event.ActionEvent e) |
protected PowerOfTwoPaddedImage |
getImage(java.lang.Object source) |
protected java.lang.String |
getImageName(java.lang.Object imageSource) |
java.util.List<? extends java.lang.Object> |
getImageSources() |
int |
getIndex() |
protected int |
getNextIndex() |
java.awt.Dimension |
getPreferredImageSize() |
protected int |
getPreviousIndex() |
java.lang.String |
getState() |
void |
goToImage(int index) |
protected boolean |
hasNextIndex() |
protected boolean |
hasPreviousIndex() |
protected void |
initializeSlideShow() |
protected void |
nextPressed(java.awt.event.ActionEvent e) |
protected boolean |
nextSlideShowImage() |
void |
onActionPerformed(java.awt.event.ActionEvent e) |
protected void |
onBeginPressed(java.awt.event.ActionEvent e) |
protected void |
onEndPressed(java.awt.event.ActionEvent e) |
protected void |
onNextPressed(java.awt.event.ActionEvent e) |
protected void |
onPlayPressed(java.awt.event.ActionEvent e) |
protected void |
onPreviousPressed(java.awt.event.ActionEvent e) |
protected void |
onResizePressed(java.awt.event.ActionEvent e) |
protected void |
onSlideShowUpdate() |
protected void |
playPressed(java.awt.event.ActionEvent e) |
protected void |
previousPressed(java.awt.event.ActionEvent e) |
protected boolean |
putImage(java.lang.Object source,
PowerOfTwoPaddedImage image) |
protected PowerOfTwoPaddedImage |
readImage(java.lang.Object source) |
protected void |
resizePressed(java.awt.event.ActionEvent e) |
protected void |
retrieveAndSetImage(java.lang.Object source,
int index) |
void |
setImageSources(java.lang.Iterable<? extends java.lang.Object> imageSources) |
void |
setPreferredImageSize(java.awt.Dimension size) |
protected void |
startImageRetrieval(java.lang.Object source,
int index) |
void |
startSlideShow() |
protected void |
startSlideShowUpdate() |
protected void |
stopImageRetrieval() |
void |
stopRetrievalTasks() |
void |
stopSlideShow() |
protected void |
stopSlideShowUpdate() |
actionPerformed, doDisable, doEnable, forwardToButtonAnnotations, getAnnotation, getToolTipPoint, getWorldWindow, glPointFromAwt, isEnabled, onSelected, selected, setAnnotation, setCursor, setEnabled, showToolTip, updateCursor, updateToolTip
public static final java.lang.String BUFFERED_IMAGE_CACHE_NAME
public static final java.lang.String BUFFERED_IMAGE_CACHE_SIZE
protected static final long DEFAULT_BUFFERED_IMAGE_CACHE_SIZE
protected java.util.List<java.lang.Object> imageSources
protected int index
protected static java.awt.Dimension LARGE_IMAGE_PREFERRED_SIZE
protected java.lang.Thread readThread
protected static final long SLIDESHOW_UPDATE_DELAY_MILLIS
protected static java.awt.Dimension SMALL_IMAGE_PREFERRED_SIZE
protected java.lang.String state
protected javax.swing.Timer updateTimer
public SlideShowAnnotationController(WorldWindow worldWindow, SlideShowAnnotation annotation)
public SlideShowAnnotationController(WorldWindow worldWindow, SlideShowAnnotation annotation, java.lang.Iterable<?> imageSources)
protected void beginPressed(java.awt.event.ActionEvent e)
protected java.lang.String createPositionText(int position, int length)
protected java.lang.String createTitle(java.lang.Object imageSource)
protected void doGoToImage(int index)
protected void doRetrieveAndSetImage(java.lang.Object source, int index)
protected void doSetImage(PowerOfTwoPaddedImage image, int index)
protected void endPressed(java.awt.event.ActionEvent e)
protected PowerOfTwoPaddedImage getImage(java.lang.Object source)
protected java.lang.String getImageName(java.lang.Object imageSource)
public java.util.List<? extends java.lang.Object> getImageSources()
public int getIndex()
protected int getNextIndex()
public java.awt.Dimension getPreferredImageSize()
protected int getPreviousIndex()
public java.lang.String getState()
public void goToImage(int index)
protected boolean hasNextIndex()
protected boolean hasPreviousIndex()
protected void initializeSlideShow()
protected void nextPressed(java.awt.event.ActionEvent e)
protected boolean nextSlideShowImage()
public void onActionPerformed(java.awt.event.ActionEvent e)
onActionPerformed
in class DialogAnnotationController
protected void onBeginPressed(java.awt.event.ActionEvent e)
protected void onEndPressed(java.awt.event.ActionEvent e)
protected void onNextPressed(java.awt.event.ActionEvent e)
protected void onPlayPressed(java.awt.event.ActionEvent e)
protected void onPreviousPressed(java.awt.event.ActionEvent e)
protected void onResizePressed(java.awt.event.ActionEvent e)
protected void onSlideShowUpdate()
protected void playPressed(java.awt.event.ActionEvent e)
protected void previousPressed(java.awt.event.ActionEvent e)
protected boolean putImage(java.lang.Object source, PowerOfTwoPaddedImage image)
protected PowerOfTwoPaddedImage readImage(java.lang.Object source)
protected void resizePressed(java.awt.event.ActionEvent e)
protected void retrieveAndSetImage(java.lang.Object source, int index)
public void setImageSources(java.lang.Iterable<? extends java.lang.Object> imageSources)
public void setPreferredImageSize(java.awt.Dimension size)
protected void startImageRetrieval(java.lang.Object source, int index)
public void startSlideShow()
protected void startSlideShowUpdate()
protected void stopImageRetrieval()
public void stopRetrievalTasks()
public void stopSlideShow()
protected void stopSlideShowUpdate()