JRubik v0.6

es.aeat.eett.plugins.barMenu_printer
Class ActionPrintPreview

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byes.aeat.eett.plugins.barMenu_printer.ActionPrintPreview
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, ControllerPrintPreview, java.util.EventListener, RubikListener, java.io.Serializable

class ActionPrintPreview
extends javax.swing.AbstractAction
implements RubikListener, ControllerPrintPreview


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
private  java.awt.Component activeComponent
           
private  BarPrinter barPrinter
           
private static java.lang.String CAPTION
           
private static java.lang.String DESC
           
private  javax.swing.Icon icon
           
private static java.util.ResourceBundle localizationResources
           
private static org.apache.log4j.Logger logger
           
private static java.lang.String msgError
           
private static java.lang.String noPrintable
           
private  FramePrintPreview printPreview
           
private static java.lang.String strPrintError
           
private static java.lang.String strVispr
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ActionPrintPreview(BarPrinter barPrinter)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void activeComponentChange(java.awt.Component component)
           
 void createPreview()
           
 void previewClosed()
           
 void previewPrint(java.awt.print.Printable target)
           
 
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

localizationResources

private static final java.util.ResourceBundle localizationResources

logger

private static org.apache.log4j.Logger logger

CAPTION

private static final java.lang.String CAPTION

DESC

private static final java.lang.String DESC

msgError

private static final java.lang.String msgError

strVispr

private static final java.lang.String strVispr

noPrintable

private static final java.lang.String noPrintable

strPrintError

private static final java.lang.String strPrintError

icon

private javax.swing.Icon icon

activeComponent

private java.awt.Component activeComponent

barPrinter

private BarPrinter barPrinter

printPreview

private FramePrintPreview printPreview
Constructor Detail

ActionPrintPreview

public ActionPrintPreview(BarPrinter barPrinter)
Parameters:
barPrinter -
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

createPreview

public void createPreview()

activeComponentChange

public void activeComponentChange(java.awt.Component component)
Specified by:
activeComponentChange in interface RubikListener

previewPrint

public void previewPrint(java.awt.print.Printable target)
Specified by:
previewPrint in interface ControllerPrintPreview
Parameters:
target -

previewClosed

public void previewClosed()
Specified by:
previewClosed in interface ControllerPrintPreview

JRubik v0.6

JRubik v0.6