Package-cs101.calculator.html010075500047350004704000000012130657705250400163270ustar00cs101class00002430000001 Package cs101.calculator
All Packages  Class Hierarchy  Index

package cs101.calculator

Class Index

  • CalcButton
  • Calculator
  • Package-cs101.canvas.html010075500047350004704000000040540657705250600154610ustar00cs101class00002430000001 Package cs101.canvas
    All Packages  Class Hierarchy  Index

    package cs101.canvas

    Interface Index

  • ClickListener
  • DragListener
  • MotionListener
  • ReleaseListener
  • Class Index

  • BufferedPanel
  • CS101Canvas
  • CS101StatusPanel
  • CanvasTest
  • Disc
  • FilledObject
  • FreeFormLayout
  • GraphicsCanvas
  • GraphicsObject
  • Line
  • Link
  • LinkedList
  • Oval
  • Position
  • Rect
  • ResizableObject
  • RoundRect
  • Text
  • Package-cs101.terminal.html010075500047350004704000000012030657705247300160150ustar00cs101class00002430000001 Package cs101.terminal
    All Packages  Class Hierarchy  Index

    package cs101.terminal

    Class Index

  • Terminal
  • TerminalTest
  • Package-cs101.tower.html010075500047350004704000000011650657705250400153440ustar00cs101class00002430000001 Package cs101.tower
    All Packages  Class Hierarchy  Index

    package cs101.tower

    Class Index

  • TowerHanoi
  • TowerTest
  • cs101.calculator.CalcButton.html010075500047350004704000000045200657705250400170370ustar00cs101class00002430000001 Class cs101.calculator.CalcButton
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.calculator.CalcButton

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Button
                       |
                       +----cs101.calculator.CalcButton
    

    public class CalcButton
    extends Button

    Constructor Index

     o CalcButton(String, int, Color)

    Method Index

     o getCategory()

    Constructors

     o CalcButton
     public CalcButton(String label,
                       int category,
                       Color color)
    

    Methods

     o getCategory
     public int getCategory()
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.calculator.html">This Package Previous Next Class cs101.calculator.Calculator
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.calculator.Calculator

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----cs101.calculator.Calculator
    

    public class Calculator
    extends Panel
    implements ActionListener

    Constructor Index

     o Calculator()

    Method Index

     o actionPerformed(ActionEvent)
     o add(Component, int, int, int, int, int, int)
     o and(boolean, boolean)
     o area(double)
     o circumference(double)
     o diagonal(double)
     o divide(double, double)
     o memoryExchange(double)
     o memoryPlus(double)
     o memoryRecall()
     o minus(double, double)
     o nand(boolean, boolean)
     o negate(double)
     o or(boolean, boolean)
     o plus(double, double)
     o times(double, double)
     o xor(boolean, boolean)

    Constructors

     o Calculator
     public Calculator()
    

    Methods

     o add
     public void add(Component c,
                     int x,
                     int y,
                     int w,
                     int h,
                     int wx,
                     int wy)
    
     o actionPerformed
     public void actionPerformed(ActionEvent e)
    
     o negate
     protected double negate(double v)
    
     o circumference
     protected double circumference(double v)
    
     o area
     protected double area(double v)
    
     o diagonal
     protected double diagonal(double v)
    
     o memoryRecall
     protected double memoryRecall()
    
     o memoryPlus
     protected void memoryPlus(double v)
    
     o memoryExchange
     protected double memoryExchange(double v)
    
     o plus
     protected double plus(double a,
                           double b)
    
     o minus
     protected double minus(double a,
                            double b)
    
     o times
     protected double times(double a,
                            double b)
    
     o divide
     protected double divide(double a,
                             double b)
    
     o and
     protected boolean and(boolean a,
                           boolean b)
    
     o or
     protected boolean or(boolean a,
                          boolean b)
    
     o nand
     protected boolean nand(boolean a,
                            boolean b)
    
     o xor
     protected boolean xor(boolean a,
                           boolean b)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.BufferedPanel.html010075500047350004704000000046560657705250400166370ustar00cs101class00002430000001 Class cs101.canvas.BufferedPanel
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.BufferedPanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----cs101.canvas.BufferedPanel
    

    public class BufferedPanel
    extends Panel

    Constructor Index

     o BufferedPanel()

    Method Index

     o paint(Graphics)

    Constructors

     o BufferedPanel
     public BufferedPanel()
    

    Methods

     o paint
     public synchronized void paint(Graphics g)
    
    Overrides:
    paint in class Container

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.CS101Canvas.html010075500047350004704000000427460657705250400160220ustar00cs101class00002430000001 Class cs101.canvas.CS101Canvas
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.CS101Canvas

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----cs101.canvas.CS101Canvas
    

    public class CS101Canvas
    extends Panel

    Variable Index

     o container

    Constructor Index

     o CS101Canvas()
    Creates a new CS101Canvas in a new window with a white background.
     o CS101Canvas(Color)
    Creates a new CS101Canvas in a new window.
     o CS101Canvas(Container)
    Creates a new CS101Canvas with a white background.
     o CS101Canvas(Container, Color)
    Creates a new CS101Canvas.

    Method Index

     o add(GraphicsObject)
    Add a GraphicsObject to the drawing surface
     o addClickListener(ClickListener)
    Register a ClickLister to be informed of mouse clicks
     o addDragListener(DragListener)
    Register a DragLister to be informed of mouse drag
     o addMotionListener(MotionListener)
    Register a MotionLister to be informed of mouse motion
     o addReleaseListener(ReleaseListener)
    Register a ReleaseLister to be informed of mouse release events
     o click()
    Interactively wait for the user to click the mouse
    in the drawing surface when method is called
     o getCanvasSize()
    Get the dimensions of the drawing surface
     o getHeight()
    Get the height of the drawing surface
     o getWidth()
    Get the width of the drawing surface
     o moveToBack(GraphicsObject)
    Moves the object to the back of the picture.
     o moveToFront(GraphicsObject)
    Moves the object to the front of the picture.
     o remove(GraphicsObject)
    Remove a GraphicsObject from the drawing surface
     o removeClickListener(ClickListener)
    Unregister a ClickLister
     o removeDragListener(DragListener)
    Unregister a DragLister
     o removeMotionListener(MotionListener)
    Unregister a MotionLister
     o removeReleaseListener(ReleaseListener)
    Unregister a ReleaseLister
     o setInstruction(String)
    Sets the text in the instruction text field.
     o setLabel1(String)
    Sets the text in the first label
     o setLabel2(String)
    Sets the text in the second label
     o setLabelText1(String)
    Sets the text in the first text field
     o setLabelText2(String)
    Sets the text in the second text field
     o setStatus(String)
     o sleep(int)
    Suspend current thread for a time

    Variables

     o container
     protected Container container
    

    Constructors

     o CS101Canvas
     public CS101Canvas()
    
    Creates a new CS101Canvas in a new window with a white background.

     o CS101Canvas
     public CS101Canvas(Color background)
    
    Creates a new CS101Canvas in a new window.

    Parameters:
    background - Color to set as background
     o CS101Canvas
     public CS101Canvas(Container container)
    
    Creates a new CS101Canvas with a white background.

    Parameters:
    container - Container to put the new Canvas in
     o CS101Canvas
     public CS101Canvas(Container container,
                        Color background)
    
    Creates a new CS101Canvas.

    Parameters:
    container - Container to put the new Canvas in
    background - Color to set as background

    Methods

     o setStatus
     public void setStatus(String s)
    
     o getCanvasSize
     public Rectangle getCanvasSize()
    
    Get the dimensions of the drawing surface

    Returns:
    Rectangle object with dimensions
     o getWidth
     public int getWidth()
    
    Get the width of the drawing surface

    Returns:
    int width of canvas
     o getHeight
     public int getHeight()
    
    Get the height of the drawing surface

    Returns:
    int height of canvas
     o add
     public void add(GraphicsObject gob)
    
    Add a GraphicsObject to the drawing surface

    Parameters:
    gob - Reference to GraphicsObject
    Returns:
    none
     o remove
     public void remove(GraphicsObject gob)
    
    Remove a GraphicsObject from the drawing surface

    Parameters:
    gob - Reference to GraphicsObject
    Returns:
    none
     o moveToFront
     public void moveToFront(GraphicsObject gob)
    
    Moves the object to the front of the picture.

     o moveToBack
     public void moveToBack(GraphicsObject gob)
    
    Moves the object to the back of the picture.

     o setInstruction
     public void setInstruction(String text)
    
    Sets the text in the instruction text field.

    Parameters:
    text - Text to be set
    Returns:
    none
     o setLabel1
     public void setLabel1(String text)
    
    Sets the text in the first label

    Parameters:
    text - Text to be set
    Returns:
    none
     o setLabel2
     public void setLabel2(String text)
    
    Sets the text in the second label

    Parameters:
    text - Text to be set
    Returns:
    none
     o setLabelText1
     public void setLabelText1(String text)
    
    Sets the text in the first text field

    Parameters:
    text - Text to be set
    Returns:
    none
     o setLabelText2
     public void setLabelText2(String text)
    
    Sets the text in the second text field

    Parameters:
    Text - to be set
    Returns:
    none
     o click
     public Position click()
    
    Interactively wait for the user to click the mouse
    in the drawing surface when method is called

    Returns:
    A Position where the user clicked
     o addMotionListener
     public void addMotionListener(MotionListener x)
    
    Register a MotionLister to be informed of mouse motion

    Returns:
    none
     o removeMotionListener
     public void removeMotionListener(MotionListener x)
    
    Unregister a MotionLister

    Returns:
    none
     o addDragListener
     public void addDragListener(DragListener x)
    
    Register a DragLister to be informed of mouse drag

    Returns:
    none
     o removeDragListener
     public void removeDragListener(DragListener x)
    
    Unregister a DragLister

    Returns:
    none
     o addClickListener
     public void addClickListener(ClickListener x)
    
    Register a ClickLister to be informed of mouse clicks

    Returns:
    none
     o removeClickListener
     public void removeClickListener(ClickListener x)
    
    Unregister a ClickLister

    Returns:
    none
     o addReleaseListener
     public void addReleaseListener(ReleaseListener x)
    
    Register a ReleaseLister to be informed of mouse release events

    Returns:
    none
     o removeReleaseListener
     public void removeReleaseListener(ReleaseListener x)
    
    Unregister a ReleaseLister

    Returns:
    none
     o sleep
     public static void sleep(int milliseconds)
    
    Suspend current thread for a time

    Parameters:
    milliseconds - number of milliseconds to sleep
    Returns:
    none

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.CS101StatusPanel.html010075500047350004704000000111440657705250400170360ustar00cs101class00002430000001 Class cs101.canvas.CS101StatusPanel
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.CS101StatusPanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----cs101.canvas.CS101StatusPanel
    

    public class CS101StatusPanel
    extends Panel
    A panel with three text fields and a 'quit' or 'reset' button.
    The 'reset' button is used to reinitialize an Applet.


    Constructor Index

     o CS101StatusPanel(Container)
    /**
    The size is determined by the layout

    Method Index

     o action(Event, Object)
     o handleEvent(Event)
     o setDisplay(int, String)
     o setLabel(int, String)
     o setStatus(String)

    Constructors

     o CS101StatusPanel
     public CS101StatusPanel(Container container)
    
    /**
    The size is determined by the layout

    Parameters:
    backgroundColor - Color of the background of the window
    Returns:
    none

    Methods

     o setLabel
     public void setLabel(int which,
                          String text)
    
     o setDisplay
     public void setDisplay(int which,
                            String text)
    
     o handleEvent
     public boolean handleEvent(Event evt)
    
    Overrides:
    handleEvent in class Component
     o setStatus
     public void setStatus(String s)
    
     o action
     public boolean action(Event evt,
                           Object arg)
    
    Overrides:
    action in class Component

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.CanvasTest.html010075500047350004704000000041030657705250400161730ustar00cs101class00002430000001 Class cs101.canvas.CanvasTest
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.CanvasTest

    java.lang.Object
       |
       +----cs101.canvas.CanvasTest
    

    public class CanvasTest
    extends Object

    Constructor Index

     o CanvasTest()

    Method Index

     o main(String[])

    Constructors

     o CanvasTest
     public CanvasTest()
    

    Methods

     o main
     public static void main(String args[])
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.ClickListener.html010075500047350004704000000030500657705250400166530ustar00cs101class00002430000001 Interface cs101.canvas.ClickListener
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Interface cs101.canvas.ClickListener

    public interface ClickListener

    Method Index

     o mouseClickedAt(int, int)

    Methods

     o mouseClickedAt
     public abstract void mouseClickedAt(int x,
                                         int y)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    anvas.ClickListener
    public interface ClickListener

    Method Index

     o mouseClickedAt(int, int)

    Methods

    Class cs101.canvas.Disc
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Disc

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
                       |
                       +----cs101.canvas.FilledObject
                               |
                               +----cs101.canvas.RoundRect
                                       |
                                       +----cs101.canvas.Disc
    

    public class Disc
    extends RoundRect
    A Disc GraphicsObject to be used in the Towers of
    Hanoi lab. It differs from a round rectangle in that
    a row of pixels separate the disks from on another


    Constructor Index

     o Disc(int, int, int, int)
    Constructs a disc
     o Disc(int, int, int, int, Color)
    Constructs a disc with a color

    Constructors

     o Disc
     public Disc(int x,
                 int y,
                 int width,
                 int height)
    
    Constructs a disc

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of disc
    height - height of disc
    Returns:
    none
     o Disc
     public Disc(int x,
                 int y,
                 int width,
                 int height,
                 Color diskColor)
    
    Constructs a disc with a color

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of disc
    height - height of disc
    diskColor - color of disc
    Returns:
    none

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.DragListener.html010075500047350004704000000031010657705250400165000ustar00cs101class00002430000001 Interface cs101.canvas.DragListener
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Interface cs101.canvas.DragListener

    public interface DragListener

    Method Index

     o mouseDraggedTo(int, int)

    Methods

     o mouseDraggedTo
     public abstract void mouseDraggedTo(int x,
                                         int y)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.FilledObject.html010075500047350004704000000070050657705250400164520ustar00cs101class00002430000001 Class cs101.canvas.FilledObject
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.FilledObject

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
                       |
                       +----cs101.canvas.FilledObject
    

    public abstract class FilledObject
    extends ResizableObject
    GraphicsObject that can be field(i.e. Rect, Oval, RoundRect).


    Constructor Index

     o FilledObject(int, int, int, int, Color)
    Constructs a FilledObject

    Method Index

     o isFilled()
    Checks the current filled condition
     o setFilled(boolean)
    Sets the object to the passed boolean

    Constructors

     o FilledObject
     public FilledObject(int x,
                         int y,
                         int width,
                         int height,
                         Color graphicsColor)
    
    Constructs a FilledObject

    Methods

     o setFilled
     public synchronized void setFilled(boolean value)
    
    Sets the object to the passed boolean

    Parameters:
    value - boolean to set filled condition (true = filled)
    Returns:
    none
     o isFilled
     public synchronized boolean isFilled()
    
    Checks the current filled condition

    Returns:
    boolean value corresponding to the filled condition

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
     o isFilled()
    Checks the current filled condition
     o setFilled(boolean)
    Sets the object to the passed boolean

    Constructors

    Class cs101.canvas.FreeFormLayout
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.FreeFormLayout

    java.lang.Object
       |
       +----cs101.canvas.FreeFormLayout
    

    public class FreeFormLayout
    extends Object
    implements LayoutManager

    Method Index

     o addLayoutComponent(String, Component)
    Adds the specified component with the specified name to the layout.
     o layoutContainer(Container)
    Lays out the container in the specified panel by leaving components as is.
     o minimumLayoutSize(Container)
    Assumes that the minimum size dimensions for the specified panel given the components in the size of the specified parent container.
     o preferredLayoutSize(Container)
    Assumes that the preferred size dimensions for the specified panel given the components is the dimension of the specified parent container.
     o removeLayoutComponent(Component)
    Removes the specified component from the layout.

    Methods

     o addLayoutComponent
     public void addLayoutComponent(String name,
                                    Component comp)
    
    Adds the specified component with the specified name to the layout.

    Parameters:
    name - the component name
    comp - the component to be added
     o removeLayoutComponent
     public void removeLayoutComponent(Component comp)
    
    Removes the specified component from the layout.

    Parameters:
    comp - the component ot be removed
     o preferredLayoutSize
     public Dimension preferredLayoutSize(Container parent)
    
    Assumes that the preferred size dimensions for the specified panel given the components is the dimension of the specified parent container.

    Parameters:
    parent - the component to be laid out
    See Also:
    minimumLayoutSize
     o minimumLayoutSize
     public Dimension minimumLayoutSize(Container parent)
    
    Assumes that the minimum size dimensions for the specified panel given the components in the size of the specified parent container.

    Parameters:
    parent - the component to be laid out
    See Also:
    preferredLayoutSize
     o layoutContainer
     public void layoutContainer(Container parent)
    
    Lays out the container in the specified panel by leaving components as is. (Does nothing.)

    Parameters:
    parent - the component which needs to be laid out

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.GraphicsCanvas.html010075500047350004704000000273630657705250500170320ustar00cs101class00002430000001 Class cs101.canvas.GraphicsCanvas
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.GraphicsCanvas

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Canvas
                       |
                       +----cs101.canvas.GraphicsCanvas
    

    public class GraphicsCanvas
    extends Canvas

    Constructor Index

     o GraphicsCanvas(Color)

    Method Index

     o addClickListener(ClickListener)
     o addDragListener(DragListener)
     o addMotionListener(MotionListener)
     o addReleaseListener(ReleaseListener)
     o click()
     o drawObject(GraphicsObject)
     o getDimensions()
     o mouseDown(Event, int, int)
     o mouseDrag(Event, int, int)
     o mouseMove(Event, int, int)
     o mouseUp(Event, int, int)
     o moveToBack(GraphicsObject)
     o moveToFront(GraphicsObject)
     o paint(Graphics)
     o removeClickListener(ClickListener)
     o removeDragListener(DragListener)
     o removeMotionListener(MotionListener)
     o removeObject(GraphicsObject)
     o removeReleaseListener(ReleaseListener)
     o update(Graphics)

    Constructors

     o GraphicsCanvas
     public GraphicsCanvas(Color backgroundColor)
    

    Methods

     o addMotionListener
     public synchronized void addMotionListener(MotionListener x)
    
     o removeMotionListener
     public synchronized void removeMotionListener(MotionListener x)
    
     o addDragListener
     public synchronized void addDragListener(DragListener x)
    
     o removeDragListener
     public synchronized void removeDragListener(DragListener x)
    
     o addClickListener
     public synchronized void addClickListener(ClickListener x)
    
     o removeClickListener
     public synchronized void removeClickListener(ClickListener x)
    
     o addReleaseListener
     public synchronized void addReleaseListener(ReleaseListener x)
    
     o removeReleaseListener
     public synchronized void removeReleaseListener(ReleaseListener x)
    
     o getDimensions
     public Rectangle getDimensions()
    
     o drawObject
     public synchronized void drawObject(GraphicsObject gob)
    
     o removeObject
     public synchronized void removeObject(GraphicsObject gob)
    
     o moveToFront
     public synchronized void moveToFront(GraphicsObject gob)
    
     o moveToBack
     public synchronized void moveToBack(GraphicsObject gob)
    
     o click
     public Position click()
    
     o mouseDown
     public synchronized boolean mouseDown(Event evt,
                                           int pixelX,
                                           int pixelY)
    
    Overrides:
    mouseDown in class Component
     o mouseUp
     public synchronized boolean mouseUp(Event evt,
                                         int pixelX,
                                         int pixelY)
    
    Overrides:
    mouseUp in class Component
     o mouseDrag
     public synchronized boolean mouseDrag(Event evt,
                                           int pixelX,
                                           int pixelY)
    
    Overrides:
    mouseDrag in class Component
     o mouseMove
     public synchronized boolean mouseMove(Event evt,
                                           int pixelX,
                                           int pixelY)
    
    Overrides:
    mouseMove in class Component
     o update
     public synchronized void update(Graphics g)
    
    Overrides:
    update in class Component
     o paint
     public synchronized void paint(Graphics g)
    
    Overrides:
    paint in class Canvas

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    >  o addReleaseListener(ReleaseListener)
     o Class cs101.canvas.GraphicsObject
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.GraphicsObject

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
    

    public abstract class GraphicsObject
    extends Object
    A drawable object for GraphicsCanvas


    Constructor Index

     o GraphicsObject(int, int, int, int, Color)
    Constructs a new GraphicsObject

    Method Index

     o animateMove(int, int, double, double)
     o draw(Graphics)
     o getHeight()
    Get the height of the GraphicsObject
     o getPosition()
    Get the x and y coordinate of the top left
    corner of the GraphicsObject as a Position
     o getWidth()
    Get the width of the GraphicsObject
     o getX()
    Get the x coordinate of the GraphicsObject
     o getY()
    Get the y coordinate of the GraphicsObject
     o move(int, int)
    Move the GraphicsObject according to the top
    left corner
     o moveCenter(int, int)
    Move the center of the GraphicsObject
     o repaint()
     o setCanvas(GraphicsCanvas)
     o setColor(Color)
    Set the color of the GraphicsObject
     o toString()

    Constructors

     o GraphicsObject
     public GraphicsObject(int x,
                           int y,
                           int width,
                           int height,
                           Color graphicsColor)
    
    Constructs a new GraphicsObject

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of object
    height - height of object
    graphicsColor - color of object
    Returns:
    none

    Methods

     o setCanvas
     public static void setCanvas(GraphicsCanvas canvas)
    
     o getX
     public int getX()
    
    Get the x coordinate of the GraphicsObject

    Returns:
    integer value of the x coordinate
     o getY
     public int getY()
    
    Get the y coordinate of the GraphicsObject

    Returns:
    integer value of the y coordinate
     o getWidth
     public int getWidth()
    
    Get the width of the GraphicsObject

    Returns:
    integer value of the width
     o getHeight
     public int getHeight()
    
    Get the height of the GraphicsObject

    Returns:
    integer value of the height
     o getPosition
     public Position getPosition()
    
    Get the x and y coordinate of the top left
    corner of the GraphicsObject as a Position

    Returns:
    Position of the top left corner
    See Also:
    Position
     o setColor
     public void setColor(Color graphicsColor)
    
    Set the color of the GraphicsObject

    Parameters:
    graphicsColor - color of the object
    Returns:
    none
     o move
     public void move(int x,
                      int y)
    
    Move the GraphicsObject according to the top
    left corner

    Parameters:
    x - new x coordinate
    y - new y coordinate
    Returns:
    none
     o moveCenter
     public void moveCenter(int x,
                            int y)
    
    Move the center of the GraphicsObject

    Parameters:
    x - new x coordinate of the center
    y - new y coordinate of the center
    Returns:
    none
     o animateMove
     public void animateMove(int x,
                             int y,
                             double velocity,
                             double update_rate)
    
     o repaint
     public final void repaint()
    
     o toString
     public String toString()
    
    Overrides:
    toString in class Object
     o draw
     public abstract void draw(Graphics g)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Line.html010075500047350004704000000141250657705250500150150ustar00cs101class00002430000001 Class cs101.canvas.Line
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Line

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.Line
    

    public class Line
    extends GraphicsObject
    A GraphicsObject that represents a geometric line


    Constructor Index

     o Line(int, int, int, int)
    Constructs a new Line from two points with
    black as the default color
     o Line(int, int, int, int, Color)
    Construct a new Line from two points with
    the passed color

    Method Index

     o draw(Graphics)
     o getX1()
     o getX2()
     o getY1()
     o getY2()
     o movePoint1(int, int)
     o movePoint2(int, int)
     o toString()

    Constructors

     o Line
     public Line(int x1,
                 int y1,
                 int x2,
                 int y2)
    
    Constructs a new Line from two points with
    black as the default color

    Parameters:
    x1 - x coordinate of first point
    y1 - y coordinate of first point
    x2 - x coordinate of second point
    y2 - y coordinate of second point
    Returns:
    none
     o Line
     public Line(int x1,
                 int y1,
                 int x2,
                 int y2,
                 Color graphicsColor)
    
    Construct a new Line from two points with
    the passed color

    Parameters:
    x1 - x coordinate of first point
    y1 - y coordinate of first point
    x2 - x coordinate of second point
    y2 - y coordinate of second point
    graphicsColor - color of Line
    Returns:
    none

    Methods

     o movePoint1
     public void movePoint1(int x,
                            int y)
    
     o movePoint2
     public void movePoint2(int x,
                            int y)
    
     o getX1
     public int getX1()
    
     o getY1
     public int getY1()
    
     o getX2
     public int getX2()
    
     o getY2
     public int getY2()
    
     o draw
     public void draw(Graphics g)
    
    Overrides:
    draw in class GraphicsObject
     o toString
     public String toString()
    
    Overrides:
    toString in class GraphicsObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Link.html010075500047350004704000000017760657705250500150330ustar00cs101class00002430000001 Class cs101.canvas.Link
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Link

    java.lang.Object
       |
       +----cs101.canvas.Link
    

    public class Link
    extends Object


    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.LinkedList.html010075500047350004704000000174300657705250500161720ustar00cs101class00002430000001 Class cs101.canvas.LinkedList
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.LinkedList

    java.lang.Object
       |
       +----cs101.canvas.LinkedList
    

    public class LinkedList
    extends Object

    Variable Index

     o head
     o len
     o pre
     o tail

    Constructor Index

     o LinkedList()

    Method Index

     o append(Object)
    insert after the tail of the list
     o currentElement()
     o cursor()
     o elements()
     o hasMoreElements()
     o insert(Object)
    insert before the iterator position
     o main(String[])
     o nextElement()
    move the cursor to the next position
     o remove()
    remove the element under the cursor
     o reset()
    resets the cursor
     o size()

    Variables

     o head
     public Link head
    
     o tail
     public Link tail
    
     o pre
     public Link pre
    
     o len
     public int len
    

    Constructors

     o LinkedList
     public LinkedList()
    

    Methods

     o reset
     public void reset()
    
    resets the cursor

     o hasMoreElements
     public boolean hasMoreElements()
    
    Returns:
    true iff the cursor is not at the end of the list
     o nextElement
     public Object nextElement()
    
    move the cursor to the next position

    Returns:
    the current element (before advancing the position)
    Throws: NoSuchElementException
    if already at the end of the list
     o currentElement
     public Object currentElement()
    
    Returns:
    the current element under the cursor
    Throws: NoSuchElementException
    if already at the end of the list
     o insert
     public void insert(Object n)
    
    insert before the iterator position

    Parameters:
    n - the object to insert
     o append
     public void append(Object n)
    
    insert after the tail of the list

    Parameters:
    n - - the value to insert
     o remove
     public Object remove()
    
    remove the element under the cursor

    Returns:
    the removed element
    Throws: NoSuchElementException
    if already at the end of the list
     o size
     public int size()
    
    Returns:
    the number of elements in the list
     o elements
     public Enumeration elements()
    
    Returns:
    an enumeration to iterate through all elements in the list
     o main
     public static void main(String args[])
    
     o cursor
     public Link cursor()
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.MotionListener.html010075500047350004704000000030710657705250400170760ustar00cs101class00002430000001 Interface cs101.canvas.MotionListener
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Interface cs101.canvas.MotionListener

    public interface MotionListener

    Method Index

     o mouseMovedTo(int, int)

    Methods

     o mouseMovedTo
     public abstract void mouseMovedTo(int x,
                                       int y)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Oval.html010075500047350004704000000077630657705250500150410ustar00cs101class00002430000001 Class cs101.canvas.Oval
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Oval

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
                       |
                       +----cs101.canvas.FilledObject
                               |
                               +----cs101.canvas.Oval
    

    public class Oval
    extends FilledObject
    A GraphicsObject that represents a geometric oval


    Constructor Index

     o Oval(int, int, int, int)
    Construct a new Oval with black as the default color
     o Oval(int, int, int, int, Color)
    Construct a new Oval with the passed color

    Method Index

     o draw(Graphics)

    Constructors

     o Oval
     public Oval(int x,
                 int y,
                 int width,
                 int height)
    
    Construct a new Oval with black as the default color

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of the oval
    height - height of the oval
    Returns:
    none
     o Oval
     public Oval(int x,
                 int y,
                 int width,
                 int height,
                 Color graphicsColor)
    
    Construct a new Oval with the passed color

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of the oval
    height - height of the oval
    graphicsColor - color of the oval
    Returns:
    none

    Methods

     o draw
     public void draw(Graphics g)
    
    Overrides:
    draw in class GraphicsObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Position.html010075500047350004704000000124120657705250500157270ustar00cs101class00002430000001 Class cs101.canvas.Position
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Position

    java.lang.Object
       |
       +----cs101.canvas.Position
    

    public class Position
    extends Object
    Class to represent a point in two dimensional coordinate space


    Variable Index

     o x
    x coordinate of point
     o y
    y coordinate of point

    Constructor Index

     o Position()
    Constructs a Position with the x and y coordinates equal to zero
     o Position(int, int)
    Constructs a Position with the passed coordinates

    Method Index

     o copyPosition(Position)
    Copyies the passed Position to the current Position
     o setPosition(int, int)
    Sets the Position to a new x and y coordinate
     o toString()
    Formats the Position to output a string in
    the form (x,y)

    Variables

     o x
     public int x
    
    x coordinate of point

     o y
     public int y
    
    y coordinate of point

    Constructors

     o Position
     public Position()
    
    Constructs a Position with the x and y coordinates equal to zero

    Returns:
    none
     o Position
     public Position(int x,
                     int y)
    
    Constructs a Position with the passed coordinates

    Parameters:
    x - x coordinate of point
    y - y coordinate of point
    Returns:
    none

    Methods

     o setPosition
     public synchronized void setPosition(int x,
                                          int y)
    
    Sets the Position to a new x and y coordinate

    Parameters:
    x - new x coordinate
    y - new y coordinate
    Returns:
    none
     o copyPosition
     public synchronized void copyPosition(Position point)
    
    Copyies the passed Position to the current Position

    Parameters:
    point - Position of point to be copied from
    Returns:
    none
     o toString
     public String toString()
    
    Formats the Position to output a string in
    the form (x,y)

    Returns:
    string format
    Overrides:
    toString in class Object

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Rect.html010075500047350004704000000110530657705250500150200ustar00cs101class00002430000001 Class cs101.canvas.Rect
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Rect

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
                       |
                       +----cs101.canvas.FilledObject
                               |
                               +----cs101.canvas.Rect
    

    public class Rect
    extends FilledObject
    A GraphicsObject that represents a geometric rectangle


    Constructor Index

     o Rect(int, int, int, int)
    Constructs a rectangle with black as the default color
     o Rect(int, int, int, int, Color)
    Constructs a rectangle with the passed color

    Method Index

     o draw(Graphics)
     o toString()

    Constructors

     o Rect
     public Rect(int x,
                 int y,
                 int width,
                 int height)
    
    Constructs a rectangle with black as the default color

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    width - width of the rectangle
    height - height of the rectangle
    Returns:
    none
     o Rect
     public Rect(int x,
                 int y,
                 int width,
                 int height,
                 Color graphicsColor)
    
    Constructs a rectangle with the passed color

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    width - width of the rectangle
    height - height of the rectangle
    graphicsColor - color of the rectangle
    Returns:
    none

    Methods

     o draw
     public void draw(Graphics g)
    
    Overrides:
    draw in class GraphicsObject
     o toString
     public String toString()
    
    Overrides:
    toString in class GraphicsObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.ReleaseListener.html010075500047350004704000000030710657705250400172110ustar00cs101class00002430000001 Interface cs101.canvas.ReleaseListener
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Interface cs101.canvas.ReleaseListener

    public interface ReleaseListener

    Method Index

     o mouseReleasedAt(int, int)

    Methods

     o mouseReleasedAt
     public abstract void mouseReleasedAt(int x,
                                          int y)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.ResizableObject.html010075500047350004704000000074250657705250500172020ustar00cs101class00002430000001 Class cs101.canvas.ResizableObject
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.ResizableObject

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
    

    public abstract class ResizableObject
    extends GraphicsObject
    Allows a GraphicsObject to be resizable such as a
    rectangle, oval, line...


    Constructor Index

     o ResizableObject(int, int, int, int, Color)
    Constructs a GraphicsObject that's resizable

    Method Index

     o reshape(int, int, int, int)
     o resize(int, int)
    Resize the GraphicsObject with the passed width and height

    Constructors

     o ResizableObject
     public ResizableObject(int x,
                            int y,
                            int width,
                            int height,
                            Color graphicsColor)
    
    Constructs a GraphicsObject that's resizable

    Parameters:
    x - x coordinate of left side
    y - y coordinate of top side
    width - width of the GraphicsObject
    height - height of the GraphicsObject
    graphicsColor - color of the GraphicsObject
    Returns:
    none

    Methods

     o resize
     public void resize(int width,
                        int height)
    
    Resize the GraphicsObject with the passed width and height

    Parameters:
    width - new width of the GraphicsObject
    width - new height of the GraphicsObject
    Returns:
    none
     o reshape
     public void reshape(int x,
                         int y,
                         int width,
                         int height)
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.RoundRect.html010075500047350004704000000103160657705250500160310ustar00cs101class00002430000001 Class cs101.canvas.RoundRect
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.RoundRect

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.ResizableObject
                       |
                       +----cs101.canvas.FilledObject
                               |
                               +----cs101.canvas.RoundRect
    

    public class RoundRect
    extends FilledObject
    A GraphicsObject the represents a geometric
    rectangle with round corners


    Constructor Index

     o RoundRect(int, int, int, int)
    Constructs a RoundRect with black as the default color
     o RoundRect(int, int, int, int, Color)
    Constructs a RoundRect with the passed color

    Method Index

     o draw(Graphics)

    Constructors

     o RoundRect
     public RoundRect(int x,
                      int y,
                      int width,
                      int height)
    
    Constructs a RoundRect with black as the default color

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    width - width of the round rectangle
    height - height of the round rectangle
    Returns:
    none
     o RoundRect
     public RoundRect(int x,
                      int y,
                      int width,
                      int height,
                      Color graphicsColor)
    
    Constructs a RoundRect with the passed color

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    width - width of the round rectangle
    height - height of the round rectangle
    graphicsColor - color of the round rectangle
    Returns:
    none

    Methods

     o draw
     public void draw(Graphics g)
    
    Overrides:
    draw in class GraphicsObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.canvas.Text.html010075500047350004704000000140740657705250500150550ustar00cs101class00002430000001 Class cs101.canvas.Text
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.canvas.Text

    java.lang.Object
       |
       +----cs101.canvas.GraphicsObject
               |
               +----cs101.canvas.Text
    

    public class Text
    extends GraphicsObject
    A GraphicsObject that represents ordinary text


    Variable Index

     o defaultFont

    Constructor Index

     o Text(int, int, Font, String)
    Constructs a Text
     o Text(int, int, Font, String, Color)
    Constructs a Text
     o Text(int, int, String)
    Constructs a Text
     o Text(int, int, String, Color)
    Constructs a Text

    Method Index

     o draw(Graphics)
     o toString()

    Variables

     o defaultFont
     public static Font defaultFont
    

    Constructors

     o Text
     public Text(int x,
                 int y,
                 String string)
    
    Constructs a Text

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    string - string to be printed
    Returns:
    none
     o Text
     public Text(int x,
                 int y,
                 String string,
                 Color graphicsColor)
    
    Constructs a Text

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    string - string to be printed
    graphicsColor - color of the string
    Returns:
    none
     o Text
     public Text(int x,
                 int y,
                 Font font,
                 String string)
    
    Constructs a Text

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    font - font of the string
    string - string to be printed
    Returns:
    none
     o Text
     public Text(int x,
                 int y,
                 Font font,
                 String string,
                 Color graphicsColor)
    
    Constructs a Text

    Parameters:
    x - x coordinate of the left side
    y - y coordinate of the top side
    font - font of the string
    string - string to be printed
    graphicsColor - color of the string
    Returns:
    none

    Methods

     o draw
     public void draw(Graphics g)
    
    Overrides:
    draw in class GraphicsObject
     o toString
     public String toString()
    
    Overrides:
    toString in class GraphicsObject

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.terminal.Terminal.html010075500047350004704000000236670657705247300162600ustar00cs101class00002430000001 Class cs101.terminal.Terminal
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.terminal.Terminal

    java.lang.Object
       |
       +----cs101.terminal.Terminal
    

    public class Terminal
    extends Object
    Class to facilitate input and output from the command line.


    Constructor Index

     o Terminal()

    Method Index

     o indent()
    Prints the current indentation to the command line.
     o print(Object)
    Print a string to the command line.
     o print(String)
    Print a string to the command line.
     o printCall(String)
    Print procedure call information to the command line with a
    carriage return.
     o println(Object)
    Print an object to the command line with a carriage return.
     o println(String)
    Print a string to the command line with a carriage return.
     o printReturn(String)
    Print a return value to the command line with a
    carriage return.
     o readDouble()
    Read a double from the command line
     o readInt()
    Read a integer from the command line
     o readWord()
    Read a string from the command line
     o startTranscript(String)
    Start a transcript file that logs all input and output
    The file is saved to the same directory as the project file
    Under Windows 95, use Cafe/Word/WordPad to view the text file
     o startTranscript(String, boolean)
    Start a transcript file that logs all input and output
    The file is saved to the same directory as the project file
    Under Windows 95, use Cafe/Word/WordPad to view the text file
     o stopTranscript()
    Stop the transcript file from logging input and output

    Constructors

     o Terminal
     public Terminal()
    

    Methods

     o startTranscript
     public static void startTranscript(String fn)
    
    Start a transcript file that logs all input and output
    The file is saved to the same directory as the project file
    Under Windows 95, use Cafe/Word/WordPad to view the text file

    Parameters:
    fn - string to call transcript file
    Returns:
    none
     o startTranscript
     public static void startTranscript(String fn,
                                        boolean controller)
    
    Start a transcript file that logs all input and output
    The file is saved to the same directory as the project file
    Under Windows 95, use Cafe/Word/WordPad to view the text file

    Parameters:
    fn - string to call transcript file
    controller - true if pause/resume/stop buttons desired
    Returns:
    none
     o stopTranscript
     public static void stopTranscript()
    
    Stop the transcript file from logging input and output

    Returns:
    none
     o println
     public static void println(String s)
    
    Print a string to the command line with a carriage return.
    Indentation added if printCall and printReturn are used.

    Parameters:
    s - string to output
    Returns:
    none
     o print
     public static void print(String s)
    
    Print a string to the command line. No indentation is added.

    Parameters:
    s - string to output
    Returns:
    none
     o println
     public static void println(Object x)
    
    Print an object to the command line with a carriage return.
    Indentation added if printCall and printReturn are used.

    Parameters:
    s - string to output
    Returns:
    none
     o print
     public static void print(Object x)
    
    Print a string to the command line. No indentation is added.

    Parameters:
    s - string to output
    Returns:
    none
     o indent
     public static void indent()
    
    Prints the current indentation to the command line.

    Returns:
    none
     o printCall
     public static void printCall(String s)
    
    Print procedure call information to the command line with a
    carriage return. Indentation is increased for future println
    and indent calls.

    Parameters:
    s - procedure call information to output
    Returns:
    none
     o printReturn
     public static void printReturn(String s)
    
    Print a return value to the command line with a
    carriage return. Indentation is decreased for future println
    and indent calls.

    Parameters:
    s - string (the formatted return value) to output
    Returns:
    none
     o readDouble
     public static double readDouble()
    
    Read a double from the command line

    Returns:
    a double
     o readInt
     public static int readInt()
    
    Read a integer from the command line

    Returns:
    a integer
     o readWord
     public static String readWord()
    
    Read a string from the command line

    Returns:
    a string

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    t">startTranscript
     public static void startTranscript(Scs101.terminal.TerminalTest.html010075500047350004704000000041230657705247300171020ustar00cs101class00002430000001
    
    
    
    
    
      Class cs101.terminal.TerminalTest
    
    
    
    
    
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.terminal.TerminalTest

    java.lang.Object
       |
       +----cs101.terminal.TerminalTest
    

    public class TerminalTest
    extends Object

    Constructor Index

     o TerminalTest()

    Method Index

     o main(String[])

    Constructors

     o TerminalTest
     public TerminalTest()
    

    Methods

     o main
     public static void main(String args[])
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.tower.TowerHanoi.html010075500047350004704000000077670657705250400161070ustar00cs101class00002430000001 Class cs101.tower.TowerHanoi
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.tower.TowerHanoi

    java.lang.Object
       |
       +----cs101.tower.TowerHanoi
    

    public class TowerHanoi
    extends Object
    Sets up a graphical Towers of Hanoi problem by
    creating a window using the CS101Canvas class and
    adding 3 poles and the appropriate number of discs
    on the first pole.


    Constructor Index

     o TowerHanoi(int)
    Constructs the window.
     o TowerHanoi(int, boolean)
    Constructs the window with verbose support.

    Method Index

     o move(int, int)
    Moves a disk from one pole to another.
     o setAnimation(boolean)
    Turns animation on or off.

    Constructors

     o TowerHanoi
     public TowerHanoi(int discNum)
    
    Constructs the window.
    Note: At least 3 discs must be created with a max of 10

    Parameters:
    discNum - number of discs
    Returns:
    none
     o TowerHanoi
     public TowerHanoi(int discNum,
                       boolean value)
    
    Constructs the window with verbose support.

    Parameters:
    discNum - number of discs
    value - boolean value to set verbose
    See Also:
    move

    Methods

     o setAnimation
     public void setAnimation(boolean animate)
    
    Turns animation on or off. (Default is on.)

    Parameters:
    animate - true if animation is desired
     o move
     public void move(int from,
                      int to)
    
    Moves a disk from one pole to another. The program
    will be terminated if a invalide pole number is passed.

    Parameters:
    from - pole to move disk from (1-3)
    to - pole to move disk to (1-3)
    Returns:
    none

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    cs101.tower.TowerTest.html010075500047350004704000000040360657705250400157520ustar00cs101class00002430000001 Class cs101.tower.TowerTest
    All Packages  Class Hierarchy  This Package  Previous  Next  Index

    Class cs101.tower.TowerTest

    java.lang.Object
       |
       +----cs101.tower.TowerTest
    

    public class TowerTest
    extends Object

    Constructor Index

     o TowerTest()

    Method Index

     o main(String[])

    Constructors

     o TowerTest
     public TowerTest()
    

    Methods

     o main
     public static void main(String args[])
    

    All Packages  Class Hierarchy  This Package  Previous  Next  Index
    packages.html010075500047350004704000000014040657705247100136020ustar00cs101class00002430000001 Package Index
    API User's Guide  Class Hierarchy  Index

    Package Index

    Other Packages

  • package cs101.calculator
  • package cs101.canvas
  • package cs101.terminal
  • package cs101.tower
  • tree.html010075500047350004704000000067120657705250600127710ustar00cs101class00002430000001 Class Hierarchy
    All Packages  Index

    Class Hierarchy

    ">GraphicsCanvas
  • class java