Package renames

This commit is contained in:
Imbus 2024-05-11 13:06:30 +02:00
parent 7c28df2344
commit 08f5eb6fd7
40 changed files with 59 additions and 59 deletions

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
class Add extends BinaryExpr {

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
abstract class BinaryExpr extends Expr {

View file

@ -1,6 +1,6 @@
package xl.expr;
package expr;
import xl.util.XLException;
import util.XLException;
class Div extends BinaryExpr {

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
public interface Environment {

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
/**
* An <code>Expr</code> object represents a real valued expression that may contain variables. The

View file

@ -1,11 +1,11 @@
package xl.expr;
package expr;
import java.io.IOException;
import java.io.Reader;
import java.io.StreamTokenizer;
import java.io.StringReader;
import java.util.regex.Pattern;
import xl.util.XLException;
import util.XLException;
/**
* An <code>ExprParser</code> object is a parser provides a factory method for building <code>Expr

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
class Mul extends BinaryExpr {

View file

@ -1,6 +1,6 @@
package xl.expr;
package expr;
import xl.util.NumberAdjustment;
import util.NumberAdjustment;
class Num extends Expr {

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
class Sub extends BinaryExpr {

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
import java.io.IOException;

View file

@ -1,4 +1,4 @@
package xl.expr;
package expr;
class Variable extends Expr {

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.BorderLayout;
import java.awt.Color;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;
import javax.swing.JLabel;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;
import javax.swing.JTextField;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;
import java.awt.GridLayout;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import static java.awt.Color.LIGHT_GRAY;
import static javax.swing.SwingConstants.RIGHT;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import static java.awt.BorderLayout.CENTER;
import static java.awt.BorderLayout.WEST;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;
import java.util.ArrayList;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.awt.Color;
import java.util.Observable;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import static java.awt.BorderLayout.CENTER;
import static java.awt.BorderLayout.WEST;

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import static java.awt.BorderLayout.CENTER;
import static java.awt.BorderLayout.NORTH;
@ -6,7 +6,7 @@ import static java.awt.BorderLayout.SOUTH;
import javax.swing.JFrame;
import javax.swing.JPanel;
import xl.gui.menu.XLMenuBar;
import gui.menu.XLMenuBar;
public class XL extends JFrame {

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
public class XLCounter {

View file

@ -1,4 +1,4 @@
package xl.gui;
package gui;
import java.util.ArrayList;
import java.util.Iterator;

View file

@ -1,4 +1,4 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

View file

@ -1,4 +1,4 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

View file

@ -1,10 +1,10 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
import xl.gui.XL;
import xl.gui.XLList;
import gui.XL;
import gui.XLList;
class CloseMenuItem extends JMenuItem implements ActionListener {

View file

@ -1,9 +1,9 @@
package xl.gui.menu;
package gui.menu;
import java.io.FileNotFoundException;
import javax.swing.JFileChooser;
import xl.gui.StatusLabel;
import xl.gui.XL;
import gui.StatusLabel;
import gui.XL;
class LoadMenuItem extends OpenMenuItem {

View file

@ -1,9 +1,9 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
import xl.gui.XL;
import gui.XL;
class NewMenuItem extends JMenuItem implements ActionListener {

View file

@ -1,4 +1,4 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
@ -8,8 +8,8 @@ import javax.swing.JFileChooser;
import javax.swing.JMenuItem;
import javax.swing.filechooser.FileFilter;
import javax.swing.filechooser.FileNameExtensionFilter;
import xl.gui.StatusLabel;
import xl.gui.XL;
import gui.StatusLabel;
import gui.XL;
public abstract class OpenMenuItem extends JMenuItem implements ActionListener {

View file

@ -1,9 +1,9 @@
package xl.gui.menu;
package gui.menu;
import java.io.FileNotFoundException;
import javax.swing.JFileChooser;
import xl.gui.StatusLabel;
import xl.gui.XL;
import gui.StatusLabel;
import gui.XL;
class SaveMenuItem extends OpenMenuItem {

View file

@ -1,10 +1,10 @@
package xl.gui.menu;
package gui.menu;
import java.util.Observable;
import java.util.Observer;
import javax.swing.JMenu;
import xl.gui.XL;
import xl.gui.XLList;
import gui.XL;
import gui.XLList;
public class WindowMenu extends JMenu implements Observer {

View file

@ -1,9 +1,9 @@
package xl.gui.menu;
package gui.menu;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JMenuItem;
import xl.gui.XL;
import gui.XL;
class WindowMenuItem extends JMenuItem implements ActionListener {

View file

@ -1,10 +1,10 @@
package xl.gui.menu;
package gui.menu;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import xl.gui.StatusLabel;
import xl.gui.XL;
import xl.gui.XLList;
import gui.StatusLabel;
import gui.XL;
import gui.XLList;
public class XLMenuBar extends JMenuBar {

View file

@ -1,4 +1,4 @@
package xl.util;
package util;
/**
* Adjustment.java Created: Tue Oct 24 2005

View file

@ -1,4 +1,4 @@
package xl.util;
package util;
/**
* NumberAdjustment.java Created: Mon OTue 24 2005

View file

@ -1,4 +1,4 @@
package xl.util;
package util;
import java.io.BufferedReader;
import java.io.FileNotFoundException;

View file

@ -1,4 +1,4 @@
package xl.util;
package util;
public class XLException extends RuntimeException {

View file

@ -1,4 +1,4 @@
package xl.util;
package util;
import java.io.FileNotFoundException;
import java.io.PrintStream;