use of jmri.jmrit.roster.PrintRosterEntry in project JMRI by JMRI.
the class RosterFrame method printLoco.
/**
* Prepare a roster entry to be printed, and display a selection list.
*
* @see jmri.jmrit.roster.PrintRosterEntry#printPanes(boolean)
* @param boo true if output should got to a Preview pane on screen, false to output to a printer (dialog)
*/
protected void printLoco(boolean boo) {
log.debug("Selected entry: {}", re.getDisplayName());
PrintRosterEntry pre = new PrintRosterEntry(re, this, "programmers" + File.separator + programmer2 + ".xml");
// uses Basic programmer (programmer2) when printing a selected entry from (this) top Roster frame
// compare with: jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrame#printPanes(boolean)
pre.printPanes(boo);
}
use of jmri.jmrit.roster.PrintRosterEntry in project JMRI by JMRI.
the class PaneProgFrame method printPanes.
/**
* Prepare a roster entry to be printed, and display a selection list.
*
* @see jmri.jmrit.roster.PrintRosterEntry#doPrintPanes(boolean)
* @param preview true if output should got to a Preview pane on screen, false to output to a printer (dialog)
*/
public void printPanes(final boolean preview) {
PrintRosterEntry pre = new PrintRosterEntry(_rosterEntry, paneList, _flPane, _rMPane, this);
pre.printPanes(preview);
}
Aggregations