A C D E F G H I L M P R S T U W

A

addCircuitComponent(int) - Method in class designtools.Workspace
Creates a new circuit component and sets the workspace into component insertion mode so that the user can place it on the workspace
addExclusive(Wire) - Method in class designtools.ConnectedWires
Add a wire to the list but only if it wasn't previously a member

C

ChipPropertiesPanel - class designtools.ChipPropertiesPanel.
This class holds chip properties which the user inputs.
ChipPropertiesPanel() - Constructor for class designtools.ChipPropertiesPanel
 
CircuitComponent - class designtools.CircuitComponent.
Each component of the schematic circuit diagram is represented by this class.
CircuitComponent(int) - Constructor for class designtools.CircuitComponent
Constructor sets the type and image accordingly
CircuitComponent(String) - Constructor for class designtools.CircuitComponent
Create a label component
CircuitDiagramFrame - class designtools.CircuitDiagramFrame.
This frame is the schematic circuit diagram editor frame.
CircuitDiagramFrame(boolean) - Constructor for class designtools.CircuitDiagramFrame
Frame constructor which informs the frame whether it has been invoked by applet or application.
CircuitEditorMenu - class designtools.CircuitEditorMenu.
Extends the standard menu to insert an Edit menu.
CircuitEditorMenu(Workspace) - Constructor for class designtools.CircuitEditorMenu
Constructor.
ConnectedWires - class designtools.ConnectedWires.
Lists interconnected wires and stores the circuit component which is the source for the wires.
ConnectedWires() - Constructor for class designtools.ConnectedWires
Constructor
cancelWireSegment() - Method in class designtools.Workspace
Removes the last point placed in the wire
connect(Point) - Method in class designtools.Wire
If wire starts / ends at an input/output connection of a circuit component update the variables sourceComponent or targetComponent
connectInput(CircuitComponent) - Method in class designtools.CircuitComponent
Add the input component to the list of input components for the chip
createLabel() - Method in class designtools.Workspace
Creates a label component to add to the workspace.

D

DesignTools - class designtools.DesignTools.
The DesignTools class is the starting class for the Chip Design Tools.
DesignTools() - Constructor for class designtools.DesignTools
 
DigitalTableModel - class designtools.DigitalTableModel.
Extends the AbstractTableModel to store all the data required for the state / truth table
DigitalTableModel(int, int, int) - Constructor for class designtools.DigitalTableModel
DigitalTableModel constructor.
deleteSelectedComponent() - Method in class designtools.Workspace
Called by the menu bar when Delete is clicked.
designtools - package designtools
 
disconnect(CircuitComponent) - Method in class designtools.Wire
If this wire connects to comp, update the other end and return true, else false.
disconnectComponent(CircuitComponent) - Method in class designtools.Workspace
Removes wires connected to this component.
disconnectInput(CircuitComponent) - Method in class designtools.CircuitComponent
Removes component from the list of input components for the chip
displayPage(URL) - Method in class designtools.HTMLViewer
Displays an HTML page
draw(Graphics2D) - Method in class designtools.Wire
Draw the wire.

E

exitPlacementMode() - Method in class designtools.Workspace
Called if the pointer button in the toolbar is clicked.

F

FileOperations - class designtools.FileOperations.
Class which includes static file functions for the designtools
FileOperations() - Constructor for class designtools.FileOperations
Constructor.

G

getChipFileSelection() - Static method in class designtools.FileOperations
Displays a Save File Chooser so that the user can select a filename
getColumnCount() - Method in class designtools.DigitalTableModel
 
getColumnName(int) - Method in class designtools.DigitalTableModel
 
getConnectedInputs() - Method in class designtools.CircuitComponent
 
getConnectedWires() - Method in class designtools.Wire
 
getDigitalTableModel() - Method in class designtools.StateTable
 
getExitMenuItem() - Method in class designtools.StandardMenu
 
getGridSize() - Static method in class designtools.Workspace
 
getImageIcon(int) - Static method in class designtools.CircuitComponent
 
getInPinCount() - Method in class designtools.DigitalTableModel
 
getInitialStateColumn() - Method in class designtools.DigitalTableModel
 
getInputLocations() - Method in class designtools.CircuitComponent
 
getInputs() - Method in class designtools.Workspace
 
getMenuBar() - Method in class designtools.CircuitEditorMenu
 
getMenuBar() - Method in class designtools.StandardMenu
 
getNewMenuItem() - Method in class designtools.StandardMenu
 
getNextStateColumn() - Method in class designtools.DigitalTableModel
 
getOutputLocation() - Method in class designtools.CircuitComponent
 
getOutputs() - Method in class designtools.Workspace
 
getPointCount() - Method in class designtools.Wire
 
getRowCount() - Method in class designtools.DigitalTableModel
 
getSaveMenuItem() - Method in class designtools.StandardMenu
 
getSourceComponent() - Method in class designtools.ConnectedWires
 
getStatusBar() - Method in class designtools.Workspace
 
getToolbarIcon(int) - Static method in class designtools.CircuitComponent
 
getType() - Method in class designtools.CircuitComponent
 
getValueAt(int, int) - Method in class designtools.DigitalTableModel
 
getWires() - Method in class designtools.Workspace
 

H

HTMLViewer - class designtools.HTMLViewer.
Web page browser suitable for displaying help files.
HTMLViewer(URL, String) - Constructor for class designtools.HTMLViewer
Constructor
hasClipboardAccess() - Static method in class designtools.FileOperations
Copied from jbreadboard.FileDialogs.java by Nicholas Glass (it is a private method and cannot be accessed outside FileDialogs)
hasFileAccess() - Static method in class designtools.FileOperations
Copied from jbreadboard.FileDialogs.java by Nicholas Glass (it is a private method and cannot be accessed outside FileDialogs)
helpMenu - Variable in class designtools.StandardMenu
 

I

init() - Method in class designtools.DesignTools
The init method for the program if being run as an applet.
isCellEditable(int, int) - Method in class designtools.DigitalTableModel
The only editable cell is the next state column in a state table
isWirePoint(Point) - Method in class designtools.Wire
 

L

lineTo(Point) - Method in class designtools.Wire
Add a significant point to the wire.

M

main(String[]) - Static method in class designtools.DesignTools
The main method for the program
menuBar - Variable in class designtools.StandardMenu
 
moveSelectedComponent() - Method in class designtools.Workspace
Called by the menu bar when Move is clicked.

P

paintComponent(Graphics) - Method in class designtools.Workspace
Override paintComponent so that the background grid is drawn
processWindowEvent(WindowEvent) - Method in class designtools.CircuitDiagramFrame
 
processWindowEvent(WindowEvent) - Method in class designtools.StateTableFrame
 
processWindowEvent(WindowEvent) - Method in class designtools.TruthTableFrame
 

R

removeLastPoint() - Method in class designtools.Wire
If the wire consists of more that one point calling this procedure removed the last point recorded
removePoint(Point) - Method in class designtools.Wire
Remove a point from the wire
removeWire() - Method in class designtools.Wire
Removes wire from workspace and updates connected components accordingly.
renameSelectedComponent() - Method in class designtools.Workspace
Called by the menu bar when Rename is clicked.
renderCells() - Method in class designtools.StateTable
 
renderCells() - Method in class designtools.TruthTable
Colour cells.

S

StandardMenu - class designtools.StandardMenu.
Contains a common menu object containing menu items for all windows.
StandardMenu() - Constructor for class designtools.StandardMenu
 
StateTable - class designtools.StateTable.
The state table itself.
StateTable(int, int, int) - Constructor for class designtools.StateTable
State table constructor
StateTableFrame - class designtools.StateTableFrame.
State table editor window
StateTableFrame() - Constructor for class designtools.StateTableFrame
Construct the frame
StateTableFrame(boolean) - Constructor for class designtools.StateTableFrame
Frame constructor which informs the frame whether it has been invoked by applet or application.
selectCell(int, int) - Method in class designtools.DigitalTableModel
Call this method when a cell has been selected so it's value may be toggled
selectComponent(CircuitComponent) - Method in class designtools.Workspace
 
setColumnHeader(int, String) - Method in class designtools.DigitalTableModel
Changes a column name
setSelected(boolean) - Method in class designtools.CircuitComponent
Shows the component as having been hightlighted
setSelected(boolean) - Method in class designtools.Wire
Indicate if the wire is selected by the user
setSourceComponent(CircuitComponent) - Method in class designtools.ConnectedWires
Set the source component for these wires.
setState(boolean) - Method in class designtools.CircuitComponent
Sets the component's digital state.
setValueAt(Object, int, int) - Method in class designtools.DigitalTableModel
 
setWireColor(Color) - Method in class designtools.Workspace
Sets the colour for the next wire to be drawn
setWiringMode(boolean) - Method in class designtools.Workspace
Sets wiring mode on or off.
simulate() - Method in class designtools.CircuitComponent
 
sketchLineTo(Point) - Method in class designtools.Wire
This sketches a line from the last wire bend / start to the current mouse position It is needed to show the user the wire section they are drawing.
snapToGrid(Point) - Static method in class designtools.Workspace
Turn mouse pointer position into the position of the nearest grid point

T

TruthTable - class designtools.TruthTable.
A truth table is a special case of a state table.
TruthTable(int, int) - Constructor for class designtools.TruthTable
 
TruthTableFrame - class designtools.TruthTableFrame.
The truth table frame is the truth table editor window
TruthTableFrame() - Constructor for class designtools.TruthTableFrame
Frame constructor
TruthTableFrame(boolean) - Constructor for class designtools.TruthTableFrame
Frame constructor which informs the frame whether it has been invoked by applet or application.

U

unselectComponent() - Method in class designtools.Workspace
If any component or wire on the workspce is selected, unselect it
updateText() - Method in class designtools.CircuitComponent
Called if the rename menu item is clicked

W

Wire - class designtools.Wire.
Class to represent a wire which is internally represented as a set of points
Wire(Point, Color, Workspace) - Constructor for class designtools.Wire
Wire constructor
Workspace - class designtools.Workspace.
This class extends JPanel to provide the circuit diagram design workspace placed on the CircuitDiagramFrame.
Workspace(JScrollPane, JLabel) - Constructor for class designtools.Workspace
Workspace constructor.

A C D E F G H I L M P R S T U W