com.dlsc.flexgantt.swing.action.gantt
Class PrintSecondaryGanttChartAction<T extends DualGanttChart>

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.dlsc.flexgantt.swing.action.AbstractFlexGanttAction
          extended by com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction<T>
              extended by com.dlsc.flexgantt.swing.action.gantt.AbstractPrintAction<T>
                  extended by com.dlsc.flexgantt.swing.action.gantt.PrintSecondaryGanttChartAction<T>
Type Parameters:
T - the type of the Gantt chart must be a subclass of DualGanttChart
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class PrintSecondaryGanttChartAction<T extends DualGanttChart>
extends AbstractPrintAction<T>

An action that will trigger the print feature of the Gantt chart. The chart must be a subclass of DualGanttChart and the bottom chart will be printed.

Since:
1.0
Author:
Dirk Lemmermann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction
ganttChart
 
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
PrintSecondaryGanttChartAction(T gc)
          Constructs a new print action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class com.dlsc.flexgantt.swing.action.gantt.AbstractGanttChartAction
getGanttChart, setGanttChart
 
Methods inherited from class com.dlsc.flexgantt.swing.action.AbstractFlexGanttAction
getToolTipText, setToolTipText
 
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
 

Constructor Detail

PrintSecondaryGanttChartAction

public PrintSecondaryGanttChartAction(T gc)
Constructs a new print action.

Parameters:
gc - the Gantt chart on which to invoke the print feature
Since:
1.0
Method Detail

actionPerformed

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