Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.pdf.action
Class ViewZoomFitPageAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ch.randelshofer.pdf.action.AbstractJPDFFilePanelAction
          extended by ch.randelshofer.pdf.action.ViewZoomFitPageAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ViewZoomFitPageAction
extends AbstractJPDFFilePanelAction

ViewZoomFitPageAction.

Version:
1.0 2008-09
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
static java.lang.String ID
           
 
Fields inherited from class ch.randelshofer.pdf.action.AbstractJPDFFilePanelAction
pdfPanel
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ViewZoomFitPageAction(JPDFFilePanel pdfPanel)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  void updateAction()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static java.lang.String ID
Constructor Detail

ViewZoomFitPageAction

public ViewZoomFitPageAction(JPDFFilePanel pdfPanel)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)

updateAction

protected void updateAction()
Specified by:
updateAction in class AbstractJPDFFilePanelAction

Copyright 2012-02-25 Werner Randelshofer