org.gerhardb.jibs.viewer.shows.thumbs
Class ThumbnailSaver

java.lang.Object
  extended by org.gerhardb.jibs.viewer.shows.thumbs.ThumbnailSaver
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ListDataListener, javax.swing.event.ListSelectionListener, ISave, ICancel

public class ThumbnailSaver
extends java.lang.Object
implements ISave, javax.swing.event.ListSelectionListener, javax.swing.event.ListDataListener, ICancel

This gets called from SaverActions: mySortScreen.myShow.getSaver().rotateRight(); This is a utility class which does not know selections, rotations or images. All must be fed into this class.


Method Summary
 void cancel()
           
 void contentsChanged(javax.swing.event.ListDataEvent e)
           
 void copy()
           
 void grow()
           
 void intervalAdded(javax.swing.event.ListDataEvent e)
           
 void intervalRemoved(javax.swing.event.ListDataEvent e)
           
 void preview()
           
 void print()
           
 void resetToolbar()
           
 void rotateLeft()
           
 void rotateRight()
           
 void save(boolean saveAs)
           
 void shrink()
          We will ignore shrinkGrow which should never be turned on.
 void valueChanged(javax.swing.event.ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cancel

public void cancel()
Specified by:
cancel in interface ICancel

shrink

public void shrink()
We will ignore shrinkGrow which should never be turned on. We are ignoring it because the user could not see the results on the thumbnail screen which resizes all pictures to fit the grid.

Specified by:
shrink in interface ISave

grow

public void grow()
Specified by:
grow in interface ISave

rotateRight

public void rotateRight()
Specified by:
rotateRight in interface ISave

rotateLeft

public void rotateLeft()
Specified by:
rotateLeft in interface ISave

resetToolbar

public void resetToolbar()
Specified by:
resetToolbar in interface ISave

save

public void save(boolean saveAs)
Specified by:
save in interface ISave

copy

public void copy()
Specified by:
copy in interface ISave

preview

public void preview()
Specified by:
preview in interface ISave

print

public void print()
Specified by:
print in interface ISave

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent e)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent e)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent e)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent e)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener


Copyright ? 2007 Gerhard Beck. All rights reserved. Subject to GPL.