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