renamed DataPanel to OutputPanel

This commit is contained in:
Denis Molony 2021-09-18 23:44:48 +10:00
parent 54db7d95d6
commit 4a03c411fc
9 changed files with 16 additions and 16 deletions

View File

@ -63,7 +63,7 @@ For the truly retro look, programs can be displayed in the [original 40-column l
#### Wizardry
![Wizardry](resources/wizardry.png?raw=true "Wizardry")
#### Visicalc
DiskBrowser includes an inbuilt Visicalc processor which will evaluate the sheet and display the results.
DiskBrowser has an inbuilt Visicalc processor which will evaluate the sheet and display the results.
![Visicalc](resources/visicalc.png?raw=true "Visicalc")
#### Complete Disk List
Generates a list of all the disks in your collection. The list can be sorted by any of the table headings. Checksums can be generated as needed, or for the whole collection.

View File

@ -12,10 +12,10 @@ public class AnimationWorker extends SwingWorker<Void, Integer>
{
volatile boolean running;
SHRPictureFile2 image;
DataPanel owner;
OutputPanel owner;
// ---------------------------------------------------------------------------------//
public AnimationWorker (DataPanel owner, SHRPictureFile2 image)
public AnimationWorker (OutputPanel owner, SHRPictureFile2 image)
// ---------------------------------------------------------------------------------//
{
assert image.isAnimation ();

View File

@ -73,7 +73,7 @@ public class DiskBrowser extends JFrame
catalogBorderPanel = addPanel (catalogPanel, "Catalog", BorderLayout.WEST);
// create and add the centre output panel
DataPanel dataPanel = new DataPanel (menuHandler);
OutputPanel dataPanel = new OutputPanel (menuHandler);
addPanel (dataPanel, "Output", BorderLayout.CENTER);
// create and add the right-hand disk layout panel

View File

@ -17,11 +17,11 @@ import com.bytezone.diskbrowser.applefile.PaletteFactory.CycleDirection;
class NextPaletteAction extends AbstractAction
// -----------------------------------------------------------------------------------//
{
private final DataPanel owner;
private final OutputPanel owner;
private final ButtonGroup buttonGroup;
// ---------------------------------------------------------------------------------//
NextPaletteAction (DataPanel owner, ButtonGroup buttonGroup)
NextPaletteAction (OutputPanel owner, ButtonGroup buttonGroup)
// ---------------------------------------------------------------------------------//
{
super ("Next Palette");

View File

@ -35,7 +35,7 @@ import com.bytezone.diskbrowser.gui.FontAction.FontChangeEvent;
import com.bytezone.diskbrowser.gui.FontAction.FontChangeListener;
// -----------------------------------------------------------------------------------//
public class DataPanel extends JTabbedPane
public class OutputPanel extends JTabbedPane
implements DiskSelectionListener, FileSelectionListener, SectorSelectionListener,
FileNodeSelectionListener, FontChangeListener, BasicPreferencesListener,
AssemblerPreferencesListener, TextPreferencesListener, PropertyChangeListener
@ -75,7 +75,7 @@ public class DataPanel extends JTabbedPane
}
// ---------------------------------------------------------------------------------//
public DataPanel (MenuHandler menuHandler)
public OutputPanel (MenuHandler menuHandler)
// ---------------------------------------------------------------------------------//
{
// this.menuHandler = mh;

View File

@ -12,10 +12,10 @@ class PaletteAction extends AbstractAction
// -----------------------------------------------------------------------------------//
{
private final Palette palette;
private final DataPanel owner;
private final OutputPanel owner;
// ---------------------------------------------------------------------------------//
PaletteAction (DataPanel owner, Palette palette)
PaletteAction (OutputPanel owner, Palette palette)
// ---------------------------------------------------------------------------------//
{
super (palette.getName ());

View File

@ -17,11 +17,11 @@ import com.bytezone.diskbrowser.applefile.PaletteFactory.CycleDirection;
class PreviousPaletteAction extends AbstractAction
// -----------------------------------------------------------------------------------//
{
private final DataPanel owner;
private final OutputPanel owner;
private final ButtonGroup buttonGroup;
// ---------------------------------------------------------------------------------//
PreviousPaletteAction (DataPanel owner, ButtonGroup buttonGroup)
PreviousPaletteAction (OutputPanel owner, ButtonGroup buttonGroup)
// ---------------------------------------------------------------------------------//
{
super ("Previous Palette");

View File

@ -16,10 +16,10 @@ import com.bytezone.diskbrowser.utilities.DefaultAction;
class PrintAction extends DefaultAction
// -----------------------------------------------------------------------------------//
{
DataPanel owner;
OutputPanel owner;
// ---------------------------------------------------------------------------------//
public PrintAction (DataPanel owner)
public PrintAction (OutputPanel owner)
// ---------------------------------------------------------------------------------//
{
super ("Print...", "Print the contents of the output panel",

View File

@ -10,11 +10,11 @@ import javax.swing.KeyStroke;
public class ScaleAction extends AbstractAction
{
private final DataPanel owner;
private final OutputPanel owner;
private double scale;
// ---------------------------------------------------------------------------------//
public ScaleAction (DataPanel owner, double scale, int menu)
public ScaleAction (OutputPanel owner, double scale, int menu)
// ---------------------------------------------------------------------------------//
{
super ("Scale " + scale);