Package jmri.jmrit.symbolicprog
Class PrintCvAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.symbolicprog.PrintCvAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action to print the information in the CV table.
This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionPrintCvAction(String actionName, CvTableModel pModel, PaneProgFrame pParent, boolean preview, RosterEntry pRoster) -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic longcvSortOrderVal(String cvName) Returns a representation of a CV name as a long integer sort order value.voidMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
TABLE_COLS
- See Also:
-
-
Constructor Details
-
PrintCvAction
public PrintCvAction(String actionName, CvTableModel pModel, PaneProgFrame pParent, boolean preview, RosterEntry pRoster)
-
-
Method Details
-
printInfoSection
-
actionPerformed
-
cvSortOrderVal
Returns a representation of a CV name as a long integer sort order value.The value itself is not meaningful, but is used in comparisons when sorting.
- Parameters:
cvName- cv name string to parse.- Returns:
- the sort order value.
-