JRubik v0.6

es.aeat.eett.plugins.barMenu_printer
Class ActionPrint

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

class ActionPrint
extends javax.swing.AbstractAction
implements RubikListener

Author:
f00992

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 static java.lang.String strPrintError
           
 
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
ActionPrint(BarPrinter barPrinter)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void activeComponentChange(java.awt.Component component)
           
(package private) static boolean isPrintableComponent(java.awt.Component component)
           
(package private) static void printTarget(java.awt.print.Printable target, java.awt.print.PageFormat pageFormat)
           
 
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

strPrintError

private static final java.lang.String strPrintError

noPrintable

private static final java.lang.String noPrintable

icon

private javax.swing.Icon icon

activeComponent

private java.awt.Component activeComponent

barPrinter

private BarPrinter barPrinter
Constructor Detail

ActionPrint

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

actionPerformed

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

printTarget

static void printTarget(java.awt.print.Printable target,
                        java.awt.print.PageFormat pageFormat)

isPrintableComponent

static boolean isPrintableComponent(java.awt.Component component)

activeComponentChange

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

JRubik v0.6

JRubik v0.6