org.autoplot.pngwalk.PngWalkView

This is the abstract superclass for views in the PNGWalk tool. Concrete subclasses will do the work of actually laying out a particular view and handling events on it.


PROP_THUMBNAILSIZE


getMouseTarget

getMouseTarget( ) → javax.swing.JComponent

return the component that will generate mouse events. Some components have a JScrollPane, so simply adding a listener to the PngWalkView doesn't work. The base class implementation of this simply returns the PngWalkView, but such components should override this method.

Returns:

a javax.swing.JComponent

[search for examples] [view on GitHub] [view on old javadoc]


getMouseWheelListener

getMouseWheelListener( ) → java.awt.event.MouseWheelListener

return the mouse wheel listener, which should be added to each panel so the sequence position is easily adjusted.

Returns:

a java.awt.event.MouseWheelListener

[search for examples] [view on GitHub] [view on old javadoc]

getPopup( ) → javax.swing.JPopupMenu [view source]
getSequence( ) → org.autoplot.pngwalk.WalkImageSequence [view source]
getThumbnailSize( ) → int [view source]
isShowCaptions( ) → boolean [view source]

propertyChange

propertyChange( java.beans.PropertyChangeEvent e ) → void

Respond to property changes on the {@list WalkImageSequence} this view represents. The default implementation just calls repaint(), (or sequencChanged() if appropriate) but subclasses may override.

Parameters

e - a PropertyChangeEvent

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc]

setSequence( org.autoplot.pngwalk.WalkImageSequence sequence ) → void [view source]
setShowCaptions( boolean showCaptions ) → void [view source]
setThumbnailSize( int thumbnailSize ) → void [view source]