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
getPopup( ) → javax.swing.JPopupMenu
Returns:
javax.swing.JPopupMenu
[search for examples]
[view on GitHub]
[view on old javadoc]
getSequence
getSequence( ) → org.autoplot.pngwalk.WalkImageSequence
Returns:
org.autoplot.pngwalk.WalkImageSequence
[search for examples]
[view on GitHub]
[view on old javadoc]
getThumbnailSize
getThumbnailSize( ) → int
Returns:
int
[search for examples]
[view on GitHub]
[view on old javadoc]
isShowCaptions
isShowCaptions( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
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
setSequence( org.autoplot.pngwalk.WalkImageSequence sequence ) → void
Parameters
sequence - a WalkImageSequence
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
setShowCaptions
setShowCaptions( boolean showCaptions ) → void
Parameters
showCaptions - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
setThumbnailSize
setThumbnailSize( int thumbnailSize ) → void
Parameters
thumbnailSize - an int
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]