mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-02 22:32:45 +00:00
renamed DataPanel to OutputPanel
This commit is contained in:
parent
54db7d95d6
commit
4a03c411fc
@ -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.
|
||||
|
@ -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 ();
|
||||
|
@ -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
|
||||
|
@ -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");
|
||||
|
@ -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;
|
@ -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 ());
|
||||
|
@ -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");
|
||||
|
@ -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",
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user