A B C D E F G I J K L M N O P R S T U V W X Y Z

A

accept(File) - Method in class jdraw.file.FileFilter
Returns a boolean specifying whether to accept the passed in java.io.File
activeIndex - Variable in class jdraw.jdraw.JDraw
An int value indicating the index of the currently active Canvas.
activeTool - Variable in class jdraw.jdraw.Tools
An index to the active Canvas object.
addAlignToGrid() - Method in class jdraw.align_ui.AlignMenu
Add the 'Align to Grid' menu item.
addBlack() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Black' menu item.
addBlack() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Black' menu item.
addBlue() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Blue' menu item.
addBlue() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Blue' menu item.
addBottoms() - Method in class jdraw.align_ui.AlignMenu
Add the 'Bottoms' menu item.
addBottomToTop() - Method in class jdraw.align_ui.AlignMenu
Add the 'Bottom to Top' menu item.
addBringToFront() - Method in class jdraw.structure_ui.StructureMenu
Add the 'Bring to Front' menu item.
addButtons() - Method in class jdraw.jdraw_ui.ToolsPalette
Adds the buttons to the tools panel.
addCenters() - Method in class jdraw.align_ui.AlignMenu
Add the 'Centers' menu item.
addClose() - Method in class jdraw.file_ui.FileMenu
Add the 'Close' menu item.
addCopy() - Method in class jdraw.edit_ui.EditMenu
Add the 'Copy' menu item.
addCut() - Method in class jdraw.edit_ui.EditMenu
Add the 'Cut' menu item.
addDarkGray() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Dark Gray' menu item.
addDarkGray() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Dark Gray' menu item.
addDashed() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'Dashed' menu item.
addDelete() - Method in class jdraw.edit_ui.EditMenu
Add the 'Delete' menu item.
addDotted() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'Dotted' menu item.
addDuplicate() - Method in class jdraw.edit_ui.EditMenu
Add the 'Duplicate' menu item.
addEdit() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Edit ...' menu item.
addEdit() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Edit ...' menu item.
addEdit() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'Edit ...' menu item.
addEdit() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Edit ...' menu item.
addEmpty() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Empty' menu item.
addEnlarge() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Enlarge' menu item.
addExit() - Method in class jdraw.file_ui.FileMenu
Add the 'Exit' menu item.
addFlipHorizontal() - Method in class jdraw.edit_ui.EditMenu
Add the 'Flip Horizontally' menu item.
addFlipVertical() - Method in class jdraw.edit_ui.EditMenu
Add the 'Flip Vertically' menu item.
addFull() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Full' menu item.
addGraphicObject(GraphicObject) - Method in class jdraw.jdraw.Canvas
Adds the passed in GraphicObject to the Vector graphics.
addGraphicObject(Vector) - Method in class jdraw.jdraw.Canvas
Adds the GraphicObject, defined by the Vector junkBundle to the Canvas.
addGray() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Gray' menu item.
addGray() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Gray' menu item.
addGreen() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Green' menu item.
addGreen() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Green' menu item.
addGriddingOnOff() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Gridding On/Off' menu item.
addGriddingVisibleInvisible() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Gridding Vis/Invis' menu item.
addGridSpacing() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Grid Spacing' menu item.
addGroup() - Method in class jdraw.structure_ui.StructureMenu
Add the 'Group' menu item.
addHome() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Home' menu item.
addHorizontalCenters() - Method in class jdraw.align_ui.AlignMenu
Add the 'Horizontal Centers' menu item.
addLArrow() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'LArrow' menu item.
addLeftSides() - Method in class jdraw.align_ui.AlignMenu
Add the 'Left Sides' menu item.
addLeftToRight() - Method in class jdraw.align_ui.AlignMenu
Add the 'Left to Right' menu item.
addLightGray() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Light Gray' menu item.
addLightGray() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Light Gray' menu item.
addLRArrow() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'LRArrow' menu item.
addMid() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Mid' menu item.
addMid2() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Mid2' menu item.
addMid3() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Mid3' menu item.
addMid4() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'Mid4' menu item.
addNew() - Method in class jdraw.file_ui.FileMenu
Add the 'New' menu item.
addNone() - Method in class jdraw.drawing_options_ui.PatternMenu
Add the 'None' menu item.
addNormalSize() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Normal Size' menu item.
addNumberOfGraphics() - Method in class jdraw.structure_ui.StructureMenu
Add the 'Number of Graphics' menu item.
addOpen() - Method in class jdraw.file_ui.FileMenu
Add the 'Open' menu item.
addOrientation() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Orientation' menu item.
addPaste() - Method in class jdraw.edit_ui.EditMenu
Add the 'Paste' menu item.
addPink() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Pink' menu item.
addPink() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Pink' menu item.
addPoint(Point) - Method in class jdraw.graphics.GraphicObject
Method addPoint is overwritten in PolygonObject, PolylineObject, CurveObject, and CurvedShapeObject.
addPoint(Point) - Method in class jdraw.graphics.CurveObject
Adds the passed in Point object to the points in this.shape.
addPoint(Point) - Method in class jdraw.graphics.PolygonObject
Adds the passed in Point object to the points in this.shape.
addPoint(Point) - Method in class jdraw.graphics.CurvedShapeObject
Adds the passed in Point object to the points in this.shape.
addPoint(Point) - Method in class jdraw.graphics.PolylineObject
Adds the passed in Point object to the points in this.shape.
addPreciseMove() - Method in class jdraw.edit_ui.EditMenu
Add the 'Precise Move ...' menu item.
addPreciseRotate() - Method in class jdraw.edit_ui.EditMenu
Add the 'Precise Rotate' menu item.
addPreciseScale() - Method in class jdraw.edit_ui.EditMenu
Add the 'Precise Scale ...' menu item.
addPrint() - Method in class jdraw.file_ui.FileMenu
Add the 'Print' menu item.
addRArrow() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'RArrow' menu item.
addRed() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'Red' menu item.
addRed() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'Red' menu item.
addRedo() - Method in class jdraw.edit_ui.EditMenu
Add the 'Redo' menu item.
addReduce() - Method in class jdraw.options_ui.OptionsMenu
Add the 'Reduce' menu item.
addRevert() - Method in class jdraw.file_ui.FileMenu
Add the 'Revert' menu item.
addRightSides() - Method in class jdraw.align_ui.AlignMenu
Add the 'Right Sides' menu item.
addRightToLeft() - Method in class jdraw.align_ui.AlignMenu
Add the 'Right to Left' menu item.
addRotateClockwise() - Method in class jdraw.edit_ui.EditMenu
Add the 'Rotate 90 CW' menu item.
addRotateCounter() - Method in class jdraw.edit_ui.EditMenu
Add the 'Rotate 90 CCW' menu item.
addSave() - Method in class jdraw.file_ui.FileMenu
Add the 'Save' menu item.
addSaveAs() - Method in class jdraw.file_ui.FileMenu
Add the 'Save As ...' menu item.
addSelectAll() - Method in class jdraw.edit_ui.EditMenu
Add the 'Select All' menu item.
addSendToBack() - Method in class jdraw.structure_ui.StructureMenu
Add the 'Send to Back' menu item.
addSolid() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'Solid' menu item.
addThick() - Method in class jdraw.drawing_options_ui.BrushMenu
Add the 'Thick' menu item.
addTops() - Method in class jdraw.align_ui.AlignMenu
Add the 'Tops' menu item.
addTopToBottom() - Method in class jdraw.align_ui.AlignMenu
Add the 'Top to Bottom' menu item.
addUndo() - Method in class jdraw.edit_ui.EditMenu
Add the 'Undo' menu item.
addUngroup() - Method in class jdraw.structure_ui.StructureMenu
Add the 'Ungroup' menu item.
addVerticalCenters() - Method in class jdraw.align_ui.AlignMenu
Add the 'Vertical Centers' menu item.
addWhite() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'White' menu item.
addWhite() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'White' menu item.
addYellow() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Add the 'yellow' menu item.
addYellow() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Add the 'yellow' menu item.
align - Variable in class jdraw.align_ui.AlignMenu
local reference to the Align model.
align - Variable in class jdraw.jdraw.Commands
Local reference to Align object
Align - class jdraw.align.Align.
Class Align is the Model class for graphic and group alignment operations such as ...
Align(View, JDraw) - Constructor for class jdraw.align.Align
Construct this with the given View object.
alignBottoms() - Method in class jdraw.align.Align
Align the bottom edges of the selected group(s), graphic(s).
alignBottomToTop() - Method in class jdraw.align.Align
Align the selected group(s), graphic(s) Botttom Edge to Top Edge.
alignCenters() - Method in class jdraw.align.Align
Align the centers of the selected group(s), graphic(s).
alignHorizontalCenters() - Method in class jdraw.align.Align
Align the horizontal centers of the selected group(s), graphic(s).
alignLeftSides() - Method in class jdraw.align.Align
Align the left sides of the selected group(s), graphic(s).
alignLeftToRight() - Method in class jdraw.align.Align
Align the selected group(s), graphic(s) Left Edge to Right Edge.
alignMenu - Variable in class jdraw.align_ui.AlignUI
The companion model
AlignMenu - class jdraw.align_ui.AlignMenu.
Class AlignMenu is the pulldown menu for the Align model.
AlignMenu(Screen, Align, AlignUI) - Constructor for class jdraw.align_ui.AlignMenu
Construct the menu with the given Align model.
alignRightSides() - Method in class jdraw.align.Align
Align the right sides of the selected group(s), graphic(s).
alignRightToLeft() - Method in class jdraw.align.Align
Align the selected group(s), graphic(s) Right Edge to Left Edge.
alignToGrid() - Static method in class jdraw.align.Align
Align the selected group(s), graphic(s) to the current grid.
alignTops() - Method in class jdraw.align.Align
Align the top edges of the selected group(s), graphic(s).
alignTopToBottom() - Method in class jdraw.align.Align
Align the selected group(s), graphic(s) Top Edge to Bottom Edge.
alignUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown Align menu.
AlignUI - class jdraw.align_ui.AlignUI.
Class AlignUI is the companion view for the Align model class.
AlignUI(Screen, Align) - Constructor for class jdraw.align_ui.AlignUI
Construct this with the given screen and companion Align model.
alignVerticalCenters() - Method in class jdraw.align.Align
Align the vertical centers of the selected group(s), graphic(s).
angle - Variable in class jdraw.graphics.TextObject
The angle by which to rotate the text (in radians).
appendText(char) - Method in class jdraw.graphics.TextObject
Appends character c onto the end of text.
arrows - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
arrows - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
arrowsOn - Variable in class jdraw.graphics.GraphicObject
A boolean to indicate whether arrows are to be drawn.
ArrowTip - class jdraw.graphics.ArrowTip.
Class ArrowTip defines the Arrow shapes which appear at the ends of lines when certain brushes are used.
ArrowTip() - Constructor for class jdraw.graphics.ArrowTip
 
askSaveDialog - Variable in class jdraw.jdraw.JDraw
A Dialog for asking what the user wants to do when closing a changed file.
AskSaveDialog - class jdraw.jdraw_ui.AskSaveDialog.
Class AskSaveDialog is the dialog box which pops up when an unsaved file is to be closed.
AskSaveDialog(JDraw, JButton) - Constructor for class jdraw.jdraw_ui.AskSaveDialog
Constructs AskSaveDialog by creating a JDialog and placing the appropriate components on it.

B

backgroundColor - Variable in class jdraw.jdraw_ui.CanvasWindow
Color object backgroundColor holds the value of this Canvas' background color.
backgroundColor - Variable in class jdraw.graphics.GraphicObject
A Color object which holds the background color of this.shape.
BackgroundColorMenu - class jdraw.drawing_options_ui.BackgroundColorMenu.
Class BackgroundColorMenu is the pulldown menu for Background color selection.
BackgroundColorMenu(Screen, BrushPatternColor, BrushPatternColorUI) - Constructor for class jdraw.drawing_options_ui.BackgroundColorMenu
Construct the menu with the given BrushPatternColor model.
bgColorMenu - Variable in class jdraw.drawing_options_ui.BrushPatternColorUI
Instance of the Background Color Menu.
bold - Variable in class jdraw.text.FontGroup
The bold version of this Group's font.
boldItalic - Variable in class jdraw.text.FontGroup
The boldItalic version of this Group's font.
bpc - Variable in class jdraw.drawing_options_ui.PatternMenu
An instance of the companion Model class.
bpc - Variable in class jdraw.drawing_options_ui.BackgroundColorMenu
Instance of the companion Model class
bpc - Variable in class jdraw.drawing_options_ui.BrushMenu
A local reference to the BrushPatternColor object
bpc - Variable in class jdraw.drawing_options_ui.ForegroundColorMenu
Instance of the companion Model class
bpc - Variable in class jdraw.jdraw.Commands
Local reference to BrushPatternColor object
bpcUI - Variable in class jdraw.jdraw_ui.CommandMenu
The object which holds the Brush, pattern, color menus
bringSelectedToFront() - Method in class jdraw.jdraw.Canvas
Makes calls to bring each selected graphic towards the front.
bringToFront() - Method in class jdraw.structure.Structure
Bring the selected graphic(s) to the front of the picture.
bringToFront(int) - Method in class jdraw.jdraw.Canvas
Rearranges the graphics list such that the item previously at index, newBackIndex is now first in the list.
brushEditDialog - Variable in class jdraw.drawing_options.BrushPatternColor
A BrushEditDialog instance for user-created brushes.
BrushEditDialog - class jdraw.drawing_options_ui.BrushEditDialog.
Class BrushEditDialog
BrushEditDialog(JDraw) - Constructor for class jdraw.drawing_options_ui.BrushEditDialog
 
brushMenu - Variable in class jdraw.drawing_options_ui.BrushPatternColorUI
Instance of the Brush Menu.
BrushMenu - class jdraw.drawing_options_ui.BrushMenu.
Class BrushMenu is the pulldown menu for the Brush model.
BrushMenu(Screen, BrushPatternColor, BrushPatternColorUI) - Constructor for class jdraw.drawing_options_ui.BrushMenu
Construct the menu with the given BrushPatternColor model.
BrushPatternColor - class jdraw.drawing_options.BrushPatternColor.
Class BrushPatternColor is the Model class for the drawing tool options: Brush, Pattern, FGColor, BGColor.
BrushPatternColor(View, JDraw) - Constructor for class jdraw.drawing_options.BrushPatternColor
Construct this with the given View object.
BrushPatternColorUI - class jdraw.drawing_options_ui.BrushPatternColorUI.
Class BrushPatternColorUI is the companion view for the BrushPatternColor model class.
BrushPatternColorUI(Screen, BrushPatternColor) - Constructor for class jdraw.drawing_options_ui.BrushPatternColorUI
Construct this with the given screen and companion BrushPatternColor model.
bs - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 

C

cancel() - Method in class jdraw.jdraw_ui.AskSaveDialog
Method cancel calls jdraw.cancelButtonClicked().
cancelButton - Variable in class jdraw.jdraw.JDraw
Still working on this stuff.
cancelButton() - Method in class jdraw.drawing_options_ui.BrushEditDialog
 
cancelButton() - Method in class jdraw.drawing_options_ui.PaintEditDialog
 
cancelButton() - Method in class jdraw.edit_ui.PreciseRotateDialog
Upon the cancel button being clicked, this dialog is hidden.
cancelButton() - Method in class jdraw.edit_ui.PreciseMoveDialog
Upon the cancel button being clicked, this dialog is hidden.
cancelButtonClicked() - Method in class jdraw.jdraw.JDraw
Simply Hide the AskSaveDialog.
canvas - Variable in class jdraw.jdraw.JDraw
The Top-Level Vector of Canvases.
canvas - Variable in class jdraw.jdraw_ui.CanvasWindow
A local reference to the companion Model object.
Canvas - class jdraw.jdraw.Canvas.
Class Canvas is the top-level Model class for the drawing canvas.
Canvas(View, int) - Constructor for class jdraw.jdraw.Canvas
Construct this with the given View component.
Canvas(View, int, String) - Constructor for class jdraw.jdraw.Canvas
 
Canvas(View, int, String, Vector, Vector) - Constructor for class jdraw.jdraw.Canvas
Second Constructor is for opening files ...
canvasList - Variable in class jdraw.jdraw.Tools
A local reference to the list of canvases.
CanvasMouseListener - class jdraw.jdraw_ui.CanvasMouseListener.
Class CanvasMouseListener is the controlling class for the CanvasWindows.
CanvasMouseListener(CanvasWindow) - Constructor for class jdraw.jdraw_ui.CanvasMouseListener
Construct this with the passed CanvasWindow object by simply setting this.canvasWindow = passed CanvasWindow.
canvasPage - Variable in class jdraw.jdraw_ui.CanvasWindow
CanvasPage object canvasPage is the JPanel in this.window where the graphics are actually displayed.
CanvasPage - class jdraw.jdraw_ui.CanvasPage.
Class CanvasPage is the JPanel extension which fits into a CanvasWindow and displays the Shapes in Canvas.graphics[].
CanvasPage(CanvasWindow) - Constructor for class jdraw.jdraw_ui.CanvasPage
Construct this by calling parent constructor and setting this.canvasWindow = parameter.
canvasWindow - Variable in class jdraw.jdraw_ui.CanvasMouseListener
A local reference to the companion CanvasWindow object.
canvasWindow - Variable in class jdraw.jdraw_ui.CanvasPage
A local reference to the companion CanvasWindow object.
canvasWindow - Variable in class jdraw.jdraw_ui.JDrawUI
The Vector of Drawing Canvas objects.
CanvasWindow - class jdraw.jdraw_ui.CanvasWindow.
Class CanvasWindow is the companion View class for the Canvas Model.
CanvasWindow(Screen, Canvas, Tools, JDrawKeyListener) - Constructor for class jdraw.jdraw_ui.CanvasWindow
Construct this with the given Screen, Canvas, and Tools components.
circles - Variable in class jdraw.jdraw_ui.GridPanel
 
clickOK() - Method in class jdraw.text_ui.FontSizeDialog
Method clickOK is called by the 'OK' button when clicked.
clickOK() - Method in class jdraw.text_ui.FontDialog
Method clickOK is called by the 'OK' button when clicked.
clone() - Method in class jdraw.jdraw.Canvas
 
clone() - Method in class jdraw.graphics.GraphicObject
Method clone() is overwritten by each individual ShapeObject class.
clone() - Method in class jdraw.graphics.CurveObject
 
clone() - Method in class jdraw.graphics.TextObject
returns - A copy of this.
clone() - Method in class jdraw.graphics.PolygonObject
returns - A copy of this.
clone() - Method in class jdraw.graphics.CurvedShapeObject
 
clone() - Method in class jdraw.graphics.EllipseObject
 
clone() - Method in class jdraw.graphics.PolylineObject
returns - A copy of this.
clone() - Method in class jdraw.graphics.LineObject
Returns a derived copy of this.
clone() - Method in class jdraw.graphics.RectangleObject
returns - A copy of this.
close() - Method in class jdraw.file.File
Close the active picture, offering to save if changed ....
closeWindow() - Method in class jdraw.jdraw_ui.CanvasWindow
 
color - Variable in class jdraw.graphics.GraphicObject
A Color object which holds the color of this.shape.
colorChooser - Variable in class jdraw.drawing_options_ui.BackgroundColorMenu
A Generic JColorChooser for selecting foreground color.
colorChooser - Variable in class jdraw.drawing_options_ui.ForegroundColorMenu
A Generic JColorChooser for selecting foreground color.
colorDialog - Variable in class jdraw.drawing_options_ui.BackgroundColorMenu
A Dialog in which to put the Color Chooser.
colorDialog - Variable in class jdraw.drawing_options_ui.ForegroundColorMenu
A Dialog in which to put the Color Chooser.
commandMenu - Variable in class jdraw.jdraw_ui.JDrawUI
The Menu Bar object
CommandMenu - class jdraw.jdraw_ui.CommandMenu.
Class CommandMenu is the companion View class for the Commands Model.
CommandMenu(Screen, Commands, JDrawKeyListener) - Constructor for class jdraw.jdraw_ui.CommandMenu
Construct this by calling the parent constructor and then calling the constructSubviews function to build the menus.
commands - Variable in class jdraw.jdraw.JDraw
The Top-Level Commands model.
commands - Variable in class jdraw.jdraw_ui.CommandMenu
The companion model class
Commands - class jdraw.jdraw.Commands.
Class Commands is the top-level Model class for the MenuBar.
Commands(View, JDraw) - Constructor for class jdraw.jdraw.Commands
Construct this with the given View component.
compose() - Method in class jdraw.align_ui.AlignUI
Compose this by composing the Align pulldown menu.
compose() - Method in class jdraw.align_ui.AlignMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.drawing_options_ui.PatternMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.drawing_options_ui.BrushMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.edit_ui.EditMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.edit_ui.EditUI
Compose this by composing the File pulldown menu.
compose() - Method in class jdraw.file_ui.FileMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.file_ui.FileUI
Compose this by composing the File pulldown menu.
compose() - Method in class jdraw.jdraw_ui.ToolsPalette
Compose this by first composing the window for the Tools Bar.
compose() - Method in class jdraw.jdraw_ui.JDrawUI
Compose this by (1) creating a new window, (2) setting the window's menubar to this' menubar, (3) populating the menubar with the menus, (4) calling compose in turn for each menu, and (5) setting the window title.
compose() - Method in class jdraw.jdraw_ui.CommandMenu
Compose this by creating a new window with a Menu Bar
compose() - Method in class jdraw.jdraw_ui.CanvasWindow
Compose this by creating a new window.
compose() - Method in class jdraw.options_ui.OptionsUI
Compose this by composing the Options pulldown menu.
compose() - Method in class jdraw.options_ui.OptionsMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.structure_ui.StructureUI
Compose this by composing the Structure pulldown menu.
compose() - Method in class jdraw.structure_ui.StructureMenu
Compose the menu items into the pulldown.
compose() - Method in class jdraw.text_ui.TextUI
Compose this by composing the Text pulldown menu.
compose() - Method in class jdraw.text_ui.TextMenu
Compose the menu items into the pulldown.
composeCanvas(int) - Method in class jdraw.jdraw_ui.JDrawUI
Compose the Canvas indicated by the parameter by calling it's compose() method.
composeFontSize() - Method in class jdraw.text_ui.TextMenu
Menu Item Two is the Font Size Menu.
composeFontStyle() - Method in class jdraw.text_ui.TextMenu
Menu Item Three is the Font Style Menu.
composeFontType() - Method in class jdraw.text_ui.TextMenu
Menu Item One is the Font Type Menu.
composeMenuBar() - Method in class jdraw.jdraw_ui.CommandMenu
Compose this' menubar by adding each composed menu to it.
constructSubviews() - Method in class jdraw.jdraw_ui.CommandMenu
Call the constructor for each of the component views.
containedIn(Polygon) - Method in class jdraw.graphics.GraphicObject
Returns a boolean value representing whether this.shape resides within given Polygon.
controlDown - Variable in class jdraw.jdraw.JDraw
A boolean value indicating whether the control key is down.
controlPoints - Variable in class jdraw.graphics.GraphicObject
A Vector holding all of the control Points of this.shape.
copy() - Static method in class jdraw.edit.Edit
Copy the selected graphic(s) into the buffer.
currentArrows - Variable in class jdraw.jdraw.Tools
 
currentBackgroundColor - Variable in class jdraw.jdraw.Tools
A Color value to store the current background color.
currentColor - Variable in class jdraw.jdraw.Tools
A Color value to store the current color.
currentControlObject - Variable in class jdraw.jdraw_ui.CanvasWindow
An int which stores the index of the graphic whose control point is currently being reshaped.
currentControlPoint - Variable in class jdraw.jdraw_ui.CanvasWindow
An int which stores the index of the control point which is currently being reshaped.
currentFillType - Variable in class jdraw.jdraw.Tools
An int to store the current fill type.
currentFont - Variable in class jdraw.text.Text
A Font object to store the current Font.
currentFontGroup - Variable in class jdraw.text.Text
A variable to store a reference to the currentFont.
currentFontGroup - Variable in class jdraw.text_ui.TextMenu
An int object to store the current font Group.
currentFontSize - Variable in class jdraw.text.Text
An integer object to store the current Font Size.
currentFontSize - Variable in class jdraw.text_ui.TextMenu
An int object to store the current font Size.
currentFontStyle - Variable in class jdraw.text.Text
An integer object to store the current Font Style.
currentFontStyle - Variable in class jdraw.text_ui.TextMenu
An int object to store the current font Style.
currentPoint - Variable in class jdraw.jdraw_ui.CanvasWindow
Point object currentPoint is needed to hold the position of the mouse when a button is first clicked.
currentStroke - Variable in class jdraw.jdraw.Tools
A BasicStroke to store the current stroke.
CurvedShapeObject - class jdraw.graphics.CurvedShapeObject.
Class CurvedShapeObject is the GraphicObject extension which holds a closed curved shape.
CurvedShapeObject(Color, Color, Vector, Vector, BasicStroke) - Constructor for class jdraw.graphics.CurvedShapeObject
Construct this with the given Colors, FillStyle, and ControlPoints objects.
CurvedShapeObject(Point, Color, Color, Vector, BasicStroke) - Constructor for class jdraw.graphics.CurvedShapeObject
Construct this with the given Point, Colors, FillStyle, and ControlPoints objects.
CurveObject - class jdraw.graphics.CurveObject.
Class CurveObject is the GraphicObject extension which defines a curved multi-line shape.
CurveObject(Color, Color, Vector, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.CurveObject
Construct this with the given Colors, FillStyle, and ControlPoints objects.
CurveObject(Point, Color, Color, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.CurveObject
Construct this with the given Point, Colors, FillStyle, and BasicStroke objects.
cut() - Static method in class jdraw.edit.Edit
Cut the selected graphic(s) into the buffer, removing it/them from the picture.

D

dashField - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
decrementID() - Method in class jdraw.jdraw.Canvas
Decrease this.id by one.
degreeField - Variable in class jdraw.edit_ui.PreciseRotateDialog
A JTextField for entering the number of degrees to rotate.
delete() - Static method in class jdraw.edit.Edit
Remove the selected graphic(s) from the Canvas.
deleteChar() - Method in class jdraw.graphics.TextObject
Removes the last character from text.
deleteItem - Variable in class jdraw.edit_ui.EditMenu
A JMenuItem for the 'Delete' item.
deriveImage(float) - Method in class jdraw.graphics.GraphicObject
Method deriveImage creates the GeneralPath object which will represent this shape on screen, given the passed in zoom factor.
deriveImage(float) - Method in class jdraw.graphics.LineObject
Method deriveImage creates the GeneralPath object which will represent this shape on screen, given the passed in zoom factor.
dragLeft(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
Method leftDrag(MouseEvent) is called by CanvasMouseListener when appropriate.
draw(Graphics2D, float) - Method in class jdraw.graphics.GraphicObject
Draws this.shape on the given Graphics2D object.
draw(Graphics2D, float) - Method in class jdraw.graphics.CurveObject
Draws this.shape on the given Graphics2D object.
draw(Graphics2D, float) - Method in class jdraw.graphics.TextObject
Draws this text object to the screen.
draw(Graphics2D, float) - Method in class jdraw.graphics.PolylineObject
Draws this.shape on the given Graphics2D object.
draw(Graphics2D, float) - Method in class jdraw.graphics.LineObject
Draws this.shape on the given Graphics2D object.
drawCurve() - Method in class jdraw.jdraw.Tools
Set drawCurve as the activeTool.
drawEllipse() - Method in class jdraw.jdraw.Tools
Set drawEllipse as the activeTool.
drawLine() - Method in class jdraw.jdraw.Tools
Set drawLine as the activeTool.
drawMultiLine() - Method in class jdraw.jdraw.Tools
Set drawMultiLine as the activeTool.
drawPolygon() - Method in class jdraw.jdraw.Tools
Set drawPolygon as the activeTool.
drawRectangle() - Method in class jdraw.jdraw.Tools
Set drawRectangle as the activeTool.
drawShape() - Method in class jdraw.jdraw.Tools
Set drawShape as the activeTool.
drawText() - Method in class jdraw.jdraw.Tools
Set drawText as the activeTool.
duplicate() - Static method in class jdraw.edit.Edit
Create a copy of the selected graphic(s) and paste it/them onto the active Canvas.

E

edit - Variable in class jdraw.edit_ui.EditMenu
A local reference to the Edit model.
edit - Variable in class jdraw.jdraw.Commands
Local reference to Edit object
Edit - class jdraw.edit.Edit.
Class Edit is the Model class for editing options: Undo, Redo, Cut, Copy, Paste, Duplicate, Delete, SelectAll, Flip Horizontal, Flip Vertical, Rotate 90 degrees Clockwise, Rotate 90 degrees Counter-Clockwise, Precise Move, Precise Scale, Precise Rotate.
Edit(View, JDraw) - Constructor for class jdraw.edit.Edit
Construct this with the given View object.
editMenu - Variable in class jdraw.edit_ui.PreciseRotateDialog
A local reference to the system's EditMenu object.
editMenu - Variable in class jdraw.edit_ui.PreciseMoveDialog
A local reference to the system's EditMenu object.
editMenu - Variable in class jdraw.edit_ui.EditUI
The companion model
EditMenu - class jdraw.edit_ui.EditMenu.
Class EditMenu is the pulldown menu for the Edit model.
EditMenu(Screen, Edit, EditUI) - Constructor for class jdraw.edit_ui.EditMenu
Construct the menu with the given Edit model.
editUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown Edit menu
EditUI - class jdraw.edit_ui.EditUI.
Class EditUI is the companion view for the Edit model class.
EditUI(Screen, Edit) - Constructor for class jdraw.edit_ui.EditUI
Construct this with the given screen and companion File model.
EllipseObject - class jdraw.graphics.EllipseObject.
Class EllipseObject is the GraphicObject extension which holds an ellipse shape.
EllipseObject(Color, Color, Vector, Vector, BasicStroke) - Constructor for class jdraw.graphics.EllipseObject
Construct this with the given Shape, Color, FillStyle, and ControlPoints objects.
EllipseObject(Point, Point, Color, Color, Vector, BasicStroke) - Constructor for class jdraw.graphics.EllipseObject
Construct this with the given Points, Colors, FillStyle, BasicStroke objects.
enlarge() - Static method in class jdraw.options.Options
Increase the active CanvasWindow's zoom factor by double.
exit() - Method in class jdraw.file.File
Exit the program ....

F

fgColorMenu - Variable in class jdraw.drawing_options_ui.BrushPatternColorUI
Instance of the Foreground Color Menu.
file - Variable in class jdraw.file_ui.FileMenu
A local reference to the File model.
file - Variable in class jdraw.jdraw.Commands
Local reference to File object
File - class jdraw.file.File.
Class File is the Model class for file operations such as loading files, saving files, etc.
File(View, JDraw) - Constructor for class jdraw.file.File
Construct this with the given View object.
fileChooser - Variable in class jdraw.file_ui.FileMenu
A File Chooser for Opening, Saving files
fileFilter - Variable in class jdraw.file_ui.FileMenu
A instance of FileFilter to filter file selection.
FileFilter - class jdraw.file.FileFilter.
This object is used to determine which files can be opened or saved by JDraw
FileFilter() - Constructor for class jdraw.file.FileFilter
 
fileMenu - Variable in class jdraw.file_ui.FileUI
The companion model
FileMenu - class jdraw.file_ui.FileMenu.
Class FileMenu is the pulldown menu for the File model.
FileMenu(Screen, File, FileUI) - Constructor for class jdraw.file_ui.FileMenu
Construct the menu with the given File model.
filename - Variable in class jdraw.jdraw.Canvas
Canvas objects also have a filename object.
fileNew() - Method in class jdraw.file.File
Create a new picture....
fileUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown File menu
FileUI - class jdraw.file_ui.FileUI.
Class FileUI is the companion view for the File model class.
FileUI(Screen, File) - Constructor for class jdraw.file_ui.FileUI
Construct this with the given screen and companion File model.
firstPoint - Variable in class jdraw.graphics.EllipseObject
Need to save a reference to the first point selected (for initial drawing purposes).
firstPoint - Variable in class jdraw.graphics.LineObject
Need to save a reference to initial point.
firstPoint - Variable in class jdraw.graphics.RectangleObject
Need a reference to the initial point.
flipHorizontal() - Static method in class jdraw.edit.Edit
Flip the active picture Horizontally.
flipHorizontally() - Method in class jdraw.graphics.GraphicObject
Flips this.shape horizontally.
flipVertical() - Static method in class jdraw.edit.Edit
Flip the currently selected graphics on the Active Canvas Vertically.
flipVertically() - Method in class jdraw.graphics.GraphicObject
Flips this.shape vertically.
font - Variable in class jdraw.graphics.TextObject
The Font with which to write the text.
fontDialog - Variable in class jdraw.text_ui.TextMenu
A FontDialog from which to select the current font.
FontDialog - class jdraw.text_ui.FontDialog.
Class FontDialog is the JDialog used to select the current Font from the list of system fonts.
FontDialog(Text) - Constructor for class jdraw.text_ui.FontDialog
Construct the dialog with a list of the system fonts, a cancel button, and an OK button.
FontGroup - class jdraw.text.FontGroup.
Class FontGroup defines a collection of fonts which will be collected by their font family.
FontGroup() - Method in class jdraw.text.FontGroup
Construct this by setting all of its fields to null.
FontGroup() - Constructor for class jdraw.text.FontGroup
 
fontList - Variable in class jdraw.text_ui.FontDialog
A Vector to store the list of Font Groups.
fontSizeDialog - Variable in class jdraw.text_ui.TextMenu
A FontSizeDialog from which to select the current font size.
FontSizeDialog - class jdraw.text_ui.FontSizeDialog.
Class FontSizeDialog is the JDialog used to select the current Font Size.
FontSizeDialog(Text) - Constructor for class jdraw.text_ui.FontSizeDialog
Construct the dialog with a list of the system fonts, a cancel button, and an OK button.
ForegroundColorMenu - class jdraw.drawing_options_ui.ForegroundColorMenu.
Class ForegroundColorMenu is the pulldown menu for Foreground color selection.
ForegroundColorMenu(Screen, BrushPatternColor, BrushPatternColorUI) - Constructor for class jdraw.drawing_options_ui.ForegroundColorMenu
Construct the menu with the given BrushPatternColor model.

G

getActiveTool() - Method in class jdraw.jdraw.Tools
Returns the int value in activeTool.
getActiveWindowIndex() - Method in class jdraw.jdraw.Tools
Returns the activeWindowIndex.
getActiveWindowIndex() - Method in class jdraw.jdraw.JDraw
 
getAlign() - Method in class jdraw.jdraw.Commands
Return the system's Align component
getArrowPath(Point2D.Double, Point2D.Double, float) - Static method in class jdraw.graphics.ArrowTip
ArrowTip's only method, getArrowPath takes two points and a zoom factor and returns the appropriate GeneralPath object.
getBackgroundColor() - Method in class jdraw.graphics.GraphicObject
 
getBackgroundColorMenu() - Method in class jdraw.drawing_options_ui.BrushPatternColorUI
Returns this.bgColorMenu.
getBoundingRectangle(Vector, Vector) - Method in class jdraw.align.Align
 
getBoundingRectangle(Vector, Vector) - Static method in class jdraw.edit.Edit
Returns the smallest Rectangle which contains all selected graphics.
getBrushMenu() - Method in class jdraw.drawing_options_ui.BrushPatternColorUI
Returns this.brushMenu.
getBrushPatternColor() - Method in class jdraw.jdraw.Commands
Return the system's BrushPatternColor component
getCanvas() - Method in class jdraw.jdraw_ui.CanvasWindow
Method getCanvas() returns the current Canvas object in this.canvas.
getCanvas(int) - Method in class jdraw.jdraw.JDraw
Returns the Canvas designated by the integer parameter.
getCanvasPage() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getCanvasWindow(int) - Method in class jdraw.jdraw_ui.JDrawUI
Method getCanvasWindow(int) returns the CanvasWindow whose index is given.
getColor() - Method in class jdraw.graphics.GraphicObject
 
getCommandMenu() - Method in class jdraw.jdraw_ui.JDrawUI
 
getCommands() - Method in class jdraw.jdraw.JDraw
Returns the Top-Level Commands object.
getControlDown() - Method in class jdraw.jdraw.JDraw
 
getControlPoints() - Method in class jdraw.graphics.GraphicObject
 
getCurrentArrows() - Method in class jdraw.jdraw.Tools
 
getCurrentBackgroundColor() - Method in class jdraw.jdraw.Tools
Returns the Color object stored in currentBackgroundColor.
getCurrentColor() - Method in class jdraw.jdraw.Tools
Returns the Color value in currentColor.
getCurrentFillType() - Method in class jdraw.jdraw.Tools
Returns the int value stored in currentFillType.
getCurrentPoint() - Method in class jdraw.jdraw_ui.CanvasWindow
Method getCurrentPoint() returns the current Point object.
getCurrentStroke() - Method in class jdraw.jdraw.Tools
Returns the BasicStroke currently stored in currentStroke.
getDescription() - Method in class jdraw.file.FileFilter
Returns a String description of this object
getEdit() - Method in class jdraw.edit_ui.EditMenu
 
getEdit() - Method in class jdraw.jdraw.Commands
Return the system's Edit component
getEditMenu() - Method in class jdraw.edit_ui.EditUI
 
getEditUI() - Method in class jdraw.jdraw_ui.CommandMenu
Return this.editUI.
getFile() - Method in class jdraw.jdraw.Commands
Return the system's File component
getFileInput() - Method in class jdraw.file_ui.FileMenu
 
getFileMenu() - Method in class jdraw.file_ui.FileUI
 
getFilename() - Method in class jdraw.jdraw.Canvas
 
getFileUI() - Method in class jdraw.jdraw_ui.CommandMenu
 
getFontSize() - Method in class jdraw.text.Text
 
getFontType() - Method in class jdraw.text.Text
 
getForegroundColorMenu() - Method in class jdraw.drawing_options_ui.BrushPatternColorUI
Returns this.fgColorMenu.
getGraphic(int) - Method in class jdraw.jdraw.Canvas
Returns the GraphicObject found in Vector graphics at index i.
getGraphicObject() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getGraphics() - Method in class jdraw.jdraw.Canvas
Returns the Vector stored in graphics.
getGraphicType() - Method in class jdraw.jdraw_ui.CanvasWindow
Method getGraphicType() returns the current integer value in this.graphicType.
getGraphicType() - Method in class jdraw.graphics.GraphicObject
 
getGroups() - Method in class jdraw.jdraw.Canvas
 
getID() - Method in class jdraw.jdraw.Canvas
Returns the int value in this.id.
getIndexOf(CanvasWindow) - Method in class jdraw.jdraw_ui.JDrawUI
 
getJDraw() - Method in class jdraw.file.File
 
getJDraw() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getJDrawUI() - Method in class jdraw.jdraw.JDraw
A local reference to the Top-Level View component.
getLastCanvas() - Method in class jdraw.jdraw.JDraw
 
getMaxX() - Method in class jdraw.graphics.GraphicObject
 
getMaxX() - Method in class jdraw.graphics.TextObject
Returns the int X value of the right side of the Rectangle which bounds this.shape.
getMaxY() - Method in class jdraw.graphics.GraphicObject
 
getMaxY() - Method in class jdraw.graphics.TextObject
Returns the int Y value of the bottom side of the Rectangle which bounds this.shape.
getMinX() - Method in class jdraw.graphics.GraphicObject
 
getMinX() - Method in class jdraw.graphics.TextObject
Returns the int X value of the left side of the Rectangle which bounds this.shape.
getMinY() - Method in class jdraw.graphics.GraphicObject
 
getMinY() - Method in class jdraw.graphics.TextObject
Returns the int Y value of the top side of the Rectangle which bounds this.shape.
getNeedSave() - Method in class jdraw.jdraw.Canvas
 
getNeedSave() - Method in class jdraw.jdraw_ui.CanvasWindow
Method getNeedSave() returns this.needSave.
getNumberOfGraphics() - Method in class jdraw.jdraw.Canvas
 
getOptions() - Method in class jdraw.jdraw.Commands
Return the system's Options component
getPatternMenu() - Method in class jdraw.drawing_options_ui.BrushPatternColorUI
Returns this.patternMenu.
getSaveBundle() - Method in class jdraw.graphics.GraphicObject
Returns a saveBundle (Vector) derived from the information contained in this.
getSaveBundle() - Method in class jdraw.graphics.CurveObject
Returns a saveBundle (Vector) derived from the information contained in this.
getSaveBundle() - Method in class jdraw.graphics.TextObject
Returns a Vector with all the necessary save information.
getSaveBundle() - Method in class jdraw.graphics.PolylineObject
Returns a saveBundle (Vector) derived from the information contained in this.
getSaveBundle() - Method in class jdraw.graphics.LineObject
Returns a saveBundle (Vector) derived from the information contained in this.
getSelectedBoundingRectangle() - Method in class jdraw.jdraw.Canvas
Returns the smallest Rectangle which contains all the shapes referenced in selectedGraphics.
getSelectedGraphics() - Method in class jdraw.jdraw.Canvas
Returns the Vector stored in selectedGraphics.
getSelectedGraphics() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getSelectedShapes() - Method in class jdraw.jdraw.Canvas
 
getShape() - Method in class jdraw.graphics.GraphicObject
 
getStroke() - Method in class jdraw.graphics.GraphicObject
 
getStructure() - Method in class jdraw.jdraw.Commands
Return the system's Structure component
getText() - Method in class jdraw.jdraw.Commands
Return the system's Text component
getTextSize(Font, Point2D.Double) - Method in class jdraw.graphics.TextObject
Returns the Rectangle which bounds the string this.text, when written with this.font.
getTools() - Method in class jdraw.jdraw.JDraw
Returns the Top-Level Tools object.
getTools() - Method in class jdraw.jdraw_ui.ToolsPalette
Method getTools() returns this.tools.
getTouchedControlPoint(Point) - Method in class jdraw.graphics.GraphicObject
Returns the index of the last Point in Vector controlPoints which is close enough to Point clickedPoint to be considered "clicked".
getTouchedGroup(Point) - Method in class jdraw.jdraw.Canvas
Method getTouchedGroup(Point pt) returns the closest graphic (or the group with the closest graphic) to the point passed.
getWindow() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getWindowSize() - Method in class jdraw.jdraw_ui.CanvasWindow
 
getZoom() - Method in class jdraw.jdraw_ui.CanvasWindow
 
graphicObject - Variable in class jdraw.jdraw_ui.CanvasWindow
A GraphicObject instance where graphics are stored as they're being created.
GraphicObject - class jdraw.graphics.GraphicObject.
Class GraphicObject is the abstract class whose extensions are used to build the Graphics List.
GraphicObject(Color, Color, Vector, Vector, BasicStroke) - Constructor for class jdraw.graphics.GraphicObject
Construct this with the given Shape, Color, FillStyle, and ControlPoints objects.
graphics - Variable in class jdraw.jdraw.Canvas
Canvas contains a vector of graphic objects.
graphics2D - Variable in class jdraw.jdraw_ui.CanvasPage
A local Graphics2D object.
graphicsBuffer - Static variable in class jdraw.edit.Edit
A Vector in which to store graphics temporarily.
graphicsBuffer - Variable in class jdraw.jdraw.Tools
A Vector to store graphics which are copied or cut.
graphicType - Variable in class jdraw.jdraw_ui.CanvasWindow
int object graphicType holds the integer representation of the active Graphic Tool.
graphicType - Variable in class jdraw.graphics.GraphicObject
An int to indicate which type of graphic shape is.
griddingOnOff() - Static method in class jdraw.options.Options
Toggle gridding on the drawing Canvas.
griddingVisibleInvisible() - Static method in class jdraw.options.Options
Toggle grid visibility.
GridPanel - class jdraw.jdraw_ui.GridPanel.
Class GridPanel defines the gridded JPanel.
GridPanel(int, Dimension) - Constructor for class jdraw.jdraw_ui.GridPanel
Construct this by calling parent constructor and setting this.gridSpacing = parameter.
gridSpacing - Variable in class jdraw.jdraw_ui.GridPanel
 
gridSpacing() - Static method in class jdraw.options.Options
Edit the grid spacing value.
group() - Method in class jdraw.jdraw.JDraw
Calls groupSelected on the currently active Canvas.
group() - Method in class jdraw.structure.Structure
Group all selected graphics together.
groups - Variable in class jdraw.jdraw.Canvas
A Vector which stores groups (Vectors) of indices.
groupSelected() - Method in class jdraw.jdraw.Canvas
If the Vector in selectedGraphics does not equal one of the groups, then add a new group which contains everything in selectedGraphics.

I

id - Variable in class jdraw.jdraw.Canvas
A local int value to store this Canvas' id.
isPointOnShape(Point) - Method in class jdraw.graphics.GraphicObject
Returns a boolean value representing whether the given Point resides on this.shape.
isPointOnShape(Point) - Method in class jdraw.graphics.CurveObject
Returns a boolean value representing whether the given Point resides on this.shape.
isPointOnShape(Point) - Method in class jdraw.graphics.TextObject
Returns a boolean value representing whether the given Point resides on this.shape.
isPointOnShape(Point) - Method in class jdraw.graphics.PolylineObject
Returns a boolean value representing whether the given Point resides on this.shape.
isPointOnShape(Point) - Method in class jdraw.graphics.LineObject
Returns a boolean value representing whether the given Point resides on this.shape.
italic - Variable in class jdraw.text.FontGroup
The italic version of this Group's font.

J

jdraw - package jdraw
The top-level jdraw package contains only the main driver class.
jdraw - Static variable in class jdraw.main
 
jdraw - Variable in class jdraw.align.Align
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.drawing_options.BrushPatternColor
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
jdraw - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
jdraw - Static variable in class jdraw.edit.Edit
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.file.File
Local reference to Top-Level object.
jdraw - Variable in class jdraw.jdraw.Tools
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.jdraw_ui.AskSaveDialog
A local reference to the top-level JDraw component.
jdraw - Variable in class jdraw.jdraw_ui.JDrawUI
The corresponding model object
jdraw - Variable in class jdraw.jdraw_ui.JDrawKeyListener
 
jdraw - Variable in class jdraw.jdraw_ui.CanvasWindow
A local reference to the top-level JDraw object.
jdraw - Static variable in class jdraw.options.Options
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.structure.Structure
A local reference to the top-level JDraw object.
jdraw - Variable in class jdraw.text.Text
A local reference to the top-level JDraw object.
JDraw - class jdraw.jdraw.JDraw.
Class JDraw is the top-level model class for the JDraw app.
jdraw.align - package jdraw.align
The align package contains classes which manipulate the relative position of selected graphics on screen.
jdraw.align_ui - package jdraw.align_ui
The align_ui package contains the necessary view classes for performing operations in the align package.
jdraw.drawing_options - package jdraw.drawing_options
The drawing_options package contains methods for changing the creation-time properties of graphics, such as colors, brush, or paint.
jdraw.drawing_options_ui - package jdraw.drawing_options_ui
The drawing_options_ui package contains the necessary view classes for performing operations in the drawing_options package.
jdraw.edit - package jdraw.edit
The edit package contains classes which perform various selection and editing operations (cutting, pasting, rotating, etc).
jdraw.edit_ui - package jdraw.edit_ui
The edit_ui package contains the necessary view classes for performing operations in the edit package.
jdraw.file - package jdraw.file
The File package contains classes which perform various file/picture operations such as opening, saving, closing, and printing.
jdraw.file_ui - package jdraw.file_ui
The file_ui package contains the necessary view classes (and helper classes) to perform operations in the file package.
jdraw.graphics - package jdraw.graphics
The graphics package contains the classes which define the shapes used in the JDraw environment.
jdraw.jdraw - package jdraw.jdraw
The jdraw package contains the main Model elements of the JDraw application.
jdraw.jdraw_ui - package jdraw.jdraw_ui
The jdraw_ui package contains the main elements of JDraw's GUI, namely the menubar, toolbar, and canvas window.
jdraw.loading_ui - package jdraw.loading_ui
The loading_ui package contains the dialog box which displays upon startup.
jdraw.options - package jdraw.options
The options package contains methods for various Canvas options such as zooming and view position.
jdraw.options_ui - package jdraw.options_ui
The options_ui package contains the necessary view classes for performing operations in the options package.
jdraw.structure - package jdraw.structure
The structure package contains classes for performing operations on selected graphic(s) or group(s), such as grouping, z-axis bounding, etc.
jdraw.structure_ui - package jdraw.structure_ui
The structure_ui package contains the necessary view classes for performing operations in the structure package.
jdraw.text - package jdraw.text
The text package contains classes which perform Font operations such as selecting a font size, a font style, or a font type.
jdraw.text_ui - package jdraw.text_ui
The text_ui package contains the necessary view classes for performing operations in the text package.
JDraw(JDrawUI) - Constructor for class jdraw.jdraw.JDraw
Construct this with the given companion view.
JDrawKeyListener - class jdraw.jdraw_ui.JDrawKeyListener.
Class JDrawKeyListener is the top-level Key Listener for the system.
JDrawKeyListener(JDraw) - Constructor for class jdraw.jdraw_ui.JDrawKeyListener
 
jdrawUI - Static variable in class jdraw.main
 
jdrawUI - Variable in class jdraw.jdraw.JDraw
Local reference to the system's Top-Level View object.
JDrawUI - class jdraw.jdraw_ui.JDrawUI.
Class JDrawUI is the view object for the system.
JDrawUI(Screen, JDraw) - Constructor for class jdraw.jdraw_ui.JDrawUI
Construct this with the given Screen and JDraw model.

K

keyListener - Variable in class jdraw.jdraw_ui.ToolsPalette
The overall JDrawKeyListener.
keyListener - Variable in class jdraw.jdraw_ui.CommandMenu
The JDrawKeyListener to be used on this.
keyListener - Variable in class jdraw.jdraw_ui.CanvasWindow
The overall Key Listener.
keyPressed(KeyEvent) - Method in class jdraw.jdraw_ui.JDrawKeyListener
 
keyReleased(KeyEvent) - Method in class jdraw.jdraw_ui.JDrawKeyListener
 
killCanvasWindow(int) - Method in class jdraw.jdraw_ui.JDrawUI
Method killCanvasWindow(int) makes the necessary calls to remove a CanvasWindow object (indicated by its ID) from the list of 'CanvasWindow's.

L

leftArrow - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
leftPress(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
Method leftPress(MouseEvent) is called by CanvasMouseListener when appropriate.
leftRelease(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
Method leftRelease(MouseEvent) is called by CanvasMouseListener when appropriate.
LineObject - class jdraw.graphics.LineObject.
Class LineObject is the GraphicObject extension which holds a single line shape.
LineObject(Color, Color, Vector, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.LineObject
Construct this with the given Shape, Color, FillStyle, and ControlPoints objects.
LineObject(Point, Point, Color, Color, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.LineObject
Construct this with the given Points, Colors, FillStyle, BasicStroke objects.
LoadingDialog - class jdraw.loading_ui.LoadingDialog.
Class LoadingDialog is a simple Dialog which pops up when JDraw is started to alert the user of the reason for the delayed load.
LoadingDialog() - Constructor for class jdraw.loading_ui.LoadingDialog
 
location - Variable in class jdraw.graphics.TextObject
The location of the upper-left hand corner of the box.

M

main - class jdraw.main.
 
main() - Constructor for class jdraw.main
 
main(String[]) - Static method in class jdraw.main
 
menuBar - Variable in class jdraw.jdraw_ui.CommandMenu
The top-level menubar
middleDrag(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
This method should be just like the move item ...
middlePress(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
This method should be just like the move item ...
mouseClicked(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseClicked is functionless as of now.
mouseDragged(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseDragged(MouseEvent) determines whether a button is down and as such calls the appropriate method of canvasWindow.
mouseEntered(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseEntered is functionless as of now.
mouseExited(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseExited is functionless as of now.
mouseMoved(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseMoved(MouseEvent) calls canvasWindow.normalDrag.
mousePressed(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mousePressed(MouseEvent) determines which button was clicked and then performs the appropriate method call to canvasWindow.
mouseReleased(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasMouseListener
Method mouseReleased(MouseEvent) determines which button was released and then performs the appropriate method call to canvasWindow.
move() - Method in class jdraw.jdraw.Tools
Set Move as the activeTool.

N

nameList - Variable in class jdraw.text_ui.FontDialog
A JList for all the font names.
needSave - Variable in class jdraw.jdraw.Canvas
A boolean value indicating whether this file has been changed.
newCanvas() - Method in class jdraw.jdraw.JDraw
Create a new Canvas by adding a new element to Canvas vector.
newCanvas(String) - Method in class jdraw.jdraw.JDraw
Create a new Canvas as above, but set the title of the window, given the String parameter.
newCanvasWindow(int) - Method in class jdraw.jdraw_ui.JDrawUI
Create a new Canvas Window and add it to the vector of Canvas Windows (canvasWindow).
no() - Method in class jdraw.jdraw_ui.AskSaveDialog
Method no calls jdraw.noButton().
noButton() - Method in class jdraw.jdraw.JDraw
Close the window without saving.
normalDrag(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
Method normalDrag(MouseEvent) is called by CanvasMouseListener when appropriate.
normalSize() - Static method in class jdraw.options.Options
Set the active CanvasWindow's zoom factor to unity (1).
numberOfGraphics() - Method in class jdraw.structure.Structure
Bring up a dialog indicating the number of selected graphics.
NumberOfGraphicsDialog - class jdraw.structure_ui.NumberOfGraphicsDialog.
Class NumberOfGraphicsDialog is the dialog box which pops up on command to tell the user how many graphics are selected (or on the canvas).
NumberOfGraphicsDialog(int) - Constructor for class jdraw.structure_ui.NumberOfGraphicsDialog
NumberOfGraphicsDialog is a simple dialog box which displays a message about the number of current graphics.

O

okButton() - Method in class jdraw.drawing_options_ui.BrushEditDialog
 
okButton() - Method in class jdraw.drawing_options_ui.PaintEditDialog
 
okButton() - Method in class jdraw.edit_ui.PreciseRotateDialog
Method okButton takes the input from the box and makes the call to rotate the selected shapes.
okButton() - Method in class jdraw.edit_ui.PreciseMoveDialog
Method okButton takes the input from the boxes and makes the call to move the selected shapes.
okNewColor() - Method in class jdraw.drawing_options_ui.BackgroundColorMenu
This function is called by JColorChooser.okButtonClicked().
okNewColor() - Method in class jdraw.drawing_options_ui.ForegroundColorMenu
This function is called by JColorChooser.okButtonClicked().
open(String) - Method in class jdraw.file.File
Open an existing JDraw picture ....
options - Variable in class jdraw.jdraw.Commands
Local reference to Options object
options - Variable in class jdraw.options_ui.OptionsMenu
local reference to the Options model.
Options - class jdraw.options.Options.
Class Options is the Model class for picture/canvas options operations such as resizing, gridding, and orientation
Options(View, JDraw) - Constructor for class jdraw.options.Options
Construct this with the given View object.
optionsMenu - Variable in class jdraw.options_ui.OptionsUI
The companion model
OptionsMenu - class jdraw.options_ui.OptionsMenu.
Class OptiosMenu is the pulldown menu for the Options model.
OptionsMenu(Screen, Options, OptionsUI) - Constructor for class jdraw.options_ui.OptionsMenu
Construct the menu with the given Options model.
optionsUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown Options menu
OptionsUI - class jdraw.options_ui.OptionsUI.
Class OptionsUI is the companion view for the Options model class.
OptionsUI(Screen, Options) - Constructor for class jdraw.options_ui.OptionsUI
Construct this with the given screen and companion Options model.
orientation() - Static method in class jdraw.options.Options
Toggle the printing Page's orientation between Horizontal and Vertical.

P

paint - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
paint - Variable in class jdraw.graphics.GraphicObject
An int representing the paint used to fill this.shape.
paintComponent(Graphics) - Method in class jdraw.jdraw_ui.CanvasPage
Method paintComponent actually draws the graphics list to the screen.
paintComponent(Graphics) - Method in class jdraw.jdraw_ui.GridPanel
 
paintEditDialog - Variable in class jdraw.drawing_options.BrushPatternColor
A PaintEditDialog instance for user-created paint patterns.
PaintEditDialog - class jdraw.drawing_options_ui.PaintEditDialog.
Class PaintEditDialog
PaintEditDialog(JDraw) - Constructor for class jdraw.drawing_options_ui.PaintEditDialog
 
paintForPrint(Graphics) - Method in class jdraw.jdraw_ui.CanvasPage
Repaints the picture specially for printing (without drawing control points.
panelSize - Variable in class jdraw.jdraw_ui.GridPanel
 
passKeyEvent(KeyEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
 
paste() - Static method in class jdraw.edit.Edit
Paste the buffered graphic(s) onto the active Canvas.
patternMenu - Variable in class jdraw.drawing_options_ui.BrushPatternColorUI
Instance of the Pattern Menu.
PatternMenu - class jdraw.drawing_options_ui.PatternMenu.
Class PatternMenu is the pulldown menu for the Pattern model.
PatternMenu(Screen, BrushPatternColor, BrushPatternColorUI) - Constructor for class jdraw.drawing_options_ui.PatternMenu
Construct the menu with the given BrushPatternColor model.
pJob - Variable in class jdraw.jdraw_ui.CanvasPage
A PrinterJob object is needed to print.
plain - Variable in class jdraw.text.FontGroup
The plain version of this Group's font.
PolygonObject - class jdraw.graphics.PolygonObject.
Class PolygonObject is the GraphicObject extension which holds a polygon shape.
PolygonObject(Color, Color, Vector, Vector, BasicStroke) - Constructor for class jdraw.graphics.PolygonObject
Construct this with the given Colors, FillStyle, and ControlPoints objects.
PolygonObject(Point, Color, Color, Vector, BasicStroke) - Constructor for class jdraw.graphics.PolygonObject
Construct this with the given Point, Colors, FillStyle, and ControlPoints objects.
PolylineObject - class jdraw.graphics.PolylineObject.
Class PolylineObject is the GraphicObject extension which holds a multi-line shape.
PolylineObject(Color, Color, Vector, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.PolylineObject
Construct this with the given Colors, FillStyle, and ControlPoints objects.
PolylineObject(Point, Color, Color, Vector, BasicStroke, int) - Constructor for class jdraw.graphics.PolylineObject
Construct this with the given Point, Colors, FillStyle, and ControlPoints objects.
preciseMove(int, int) - Static method in class jdraw.edit.Edit
Bring up a dialog to select move parameters.
preciseMoveDialog - Variable in class jdraw.edit_ui.EditMenu
A PreciseMoveDialog for 'Precise Move...'.
PreciseMoveDialog - class jdraw.edit_ui.PreciseMoveDialog.
Class PreciseMoveDialog is the Dialog used by the user to move selected graphics a specific number of pixels.
PreciseMoveDialog(EditMenu) - Constructor for class jdraw.edit_ui.PreciseMoveDialog
PreciseMoveDialog consists of two boxes (for x and y change inputs) and two buttons ('OK' and 'Cancel').
preciseRotate(int) - Static method in class jdraw.edit.Edit
Bring up a dialog to select rotate parameters.
preciseRotateDialog - Variable in class jdraw.edit_ui.EditMenu
A PreciseRotateDialog for 'Precise Rotate...'.
PreciseRotateDialog - class jdraw.edit_ui.PreciseRotateDialog.
Class PreciseRotateDialog is the Dialog used by the user to rotated selected graphics a specific number of degrees.
PreciseRotateDialog(EditMenu) - Constructor for class jdraw.edit_ui.PreciseRotateDialog
PreciseRotateDialog consists of a single box (for degrees) and two buttons ('OK' and 'Cancel').
preciseScale() - Static method in class jdraw.edit.Edit
Bring up a dialog to select scale parameters.
print() - Method in class jdraw.file.File
Print this picture ....
print(Graphics, PageFormat, int) - Method in class jdraw.jdraw_ui.CanvasPage
Method print calls the paintForPrint method with the parameter Graphics object.
printPage() - Method in class jdraw.jdraw_ui.CanvasPage
 

R

RectangleObject - class jdraw.graphics.RectangleObject.
Class RectangleObject is the GraphicObject extension which holds a rectangle shape.
RectangleObject(Color, Color, Vector, Vector, BasicStroke) - Constructor for class jdraw.graphics.RectangleObject
Construct this with the given Shape, Color, FillStyle, and ControlPoints objects.
RectangleObject(Point, Point, Color, Color, Vector, BasicStroke) - Constructor for class jdraw.graphics.RectangleObject
Construct this with the given Points, Colors, FillStyle, BasicStroke objects.
redo() - Static method in class jdraw.edit.Edit
Redo the last undone action.
redo() - Method in class jdraw.jdraw.JDraw
Calls redoLastUndo on the currently active Canvas.
redoBuffer - Variable in class jdraw.jdraw_ui.CanvasWindow
A Vector to store Canvas objects for redo purposes.
redoItem - Variable in class jdraw.edit_ui.EditMenu
A JMenuItem for the 'Redo' item.
redoLastUndo() - Method in class jdraw.jdraw_ui.CanvasWindow
Loads the last element of the redo buffer into this.canvas.
redraw() - Method in class jdraw.jdraw_ui.CanvasPage
Method redraw() simply sends a call to paint this.
redrawActiveCanvasWindow() - Method in class jdraw.align.Align
Calls the redrawPage method of the currently active CanvasWindow.
redrawActiveCanvasWindow() - Method in class jdraw.drawing_options.BrushPatternColor
Calls the redrawPage method of the currently active CanvasWindow.
redrawActiveCanvasWindow() - Static method in class jdraw.edit.Edit
Calls the redrawPage method of the currently active CanvasWindow.
redrawActiveCanvasWindow() - Method in class jdraw.structure.Structure
Calls the redrawPage method of the currently active CanvasWindow.
redrawActiveCanvasWindow() - Method in class jdraw.text.Text
Calls the redrawPage method of the currently active CanvasWindow.
redrawPage() - Method in class jdraw.jdraw_ui.CanvasWindow
Calls the redraw method of this.canvasPage.
reduce() - Static method in class jdraw.options.Options
Reduce the active CanvasWindow's zoom factor by half.
removeCanvas(int) - Method in class jdraw.jdraw.JDraw
Bring up the askSaveDialog if necessary.
removeCanvas(int, int) - Method in class jdraw.jdraw.JDraw
Bring up the askSaveDialog if necessary.
reshape() - Method in class jdraw.jdraw.Tools
Set Reshape as the activeTool.
returnHome() - Static method in class jdraw.options.Options
Sets the current Canvas Window to the 'home' position.
revert() - Static method in class jdraw.file.File
Revert back to last saved picture....
rightArrow - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
rightPress(MouseEvent) - Method in class jdraw.jdraw_ui.CanvasWindow
Method rightPress(MouseEvent) is called by CanvasMouseListener when appropriate.
rotate() - Method in class jdraw.jdraw.Tools
Set Rotate as the activeTool.
rotate(double, double, double) - Method in class jdraw.graphics.GraphicObject
Rotates this.shape around point (anchorX, anchorY) by theta radians.
rotate(double, double, double) - Method in class jdraw.graphics.TextObject
Rotates this.location around point (anchorX, anchorY) by theta radians.
rotateClockwise() - Static method in class jdraw.edit.Edit
Rotate the active picture 90 degrees Clockwise.
rotateCounter() - Static method in class jdraw.edit.Edit
Rotate the active picture 90 degress counter-clockwise.
rotateSelectedFromPoints(Point, Point) - Method in class jdraw.jdraw.Canvas
 

S

s - Static variable in class jdraw.main
 
save() - Method in class jdraw.file.File
Save this picture to a file....
saveActiveWindowState() - Method in class jdraw.align.Align
Saves the state of the Active Canvas.
saveActiveWindowState() - Method in class jdraw.drawing_options.BrushPatternColor
Saves the state of the Active Canvas.
saveActiveWindowState() - Static method in class jdraw.edit.Edit
Saves the state of the Active Canvas.
saveActiveWindowState() - Method in class jdraw.structure.Structure
Calls the saveCanvasState method of the currently active CanvasWindow.
saveActiveWindowState() - Method in class jdraw.text.Text
If there is an active Canvas, its state is saved and true is returned.
saveAs(String) - Method in class jdraw.file.File
Save this picture under a new filename....
saveCanvasState() - Method in class jdraw.jdraw_ui.CanvasWindow
Copies this.canvas into the undo buffer.
scale() - Method in class jdraw.jdraw.Tools
Set Scale as the activeTool.
screen - Variable in class jdraw.jdraw_ui.JDrawUI
A local reference to the screen
select() - Method in class jdraw.jdraw.Tools
Set Selection as the activeTool.
selectAll() - Static method in class jdraw.edit.Edit
Set all graphics in the current Canvas as Selected.
selectAll() - Method in class jdraw.jdraw.Canvas
Selects all graphics in this Canvas.
selectBackgroundColor(Color) - Method in class jdraw.drawing_options.BrushPatternColor
Set the background color given the parameter Color.
selectBrush(int) - Method in class jdraw.drawing_options.BrushPatternColor
Select the brush, given the passed in int value.
selectedGraphics - Variable in class jdraw.jdraw.Canvas
A Vector which stores indices to GraphicObject's in Vector graphics.
selectFillPattern(int) - Method in class jdraw.drawing_options.BrushPatternColor
Select the fill pattern, given the parameter int value.
selectFontSize(int) - Method in class jdraw.text.Text
Select the font size.
selectFontStyle(int) - Method in class jdraw.text.Text
Select the font style.
selectFontType(FontGroup) - Method in class jdraw.text.Text
Select the font type, given the desired FontGroup.
selectForegroundColor(Color) - Method in class jdraw.drawing_options.BrushPatternColor
Set the foreground color given the parameter Color.
sendSelectedToBack() - Method in class jdraw.jdraw.Canvas
Makes calls to send each selected graphic towards the back.
sendToBack() - Method in class jdraw.structure.Structure
Send the selected graphic(s) to the back of the picture.
sendToBack(int) - Method in class jdraw.jdraw.Canvas
Rearranges the graphics list such that the item previously at index, newBackIndex is now last in the list.
setActiveTool(int) - Method in class jdraw.jdraw.Tools
Sets the given integer as activeTool.
setActiveWindowIndex(int) - Method in class jdraw.jdraw.Tools
Set the activeWindowIndex given the parameter int.
setActiveWindowIndex(int) - Method in class jdraw.jdraw.JDraw
 
setAllSelected() - Method in class jdraw.jdraw_ui.CanvasWindow
Calls selectAll on this.canvas.
setArrows(int) - Method in class jdraw.graphics.GraphicObject
Empty method which is overwritten in Line, Polyline, and Curve.
setArrows(int) - Method in class jdraw.graphics.CurveObject
 
setArrows(int) - Method in class jdraw.graphics.PolylineObject
 
setArrows(int) - Method in class jdraw.graphics.LineObject
 
setBackgroundColor(Color) - Method in class jdraw.graphics.GraphicObject
 
setBrush(BasicStroke, int) - Method in class jdraw.drawing_options.BrushPatternColor
Method setBrush sets the Brush and Arrows property within the system and for all selected graphics.
setCanvas(Canvas, CanvasWindow) - Method in class jdraw.jdraw.JDraw
 
setCanvasList(Vector) - Method in class jdraw.jdraw.Tools
Set the canvasList as the given Vector.
setColor(Color) - Method in class jdraw.graphics.GraphicObject
 
setControlDown(boolean) - Method in class jdraw.jdraw.JDraw
 
setControlPoints() - Method in class jdraw.graphics.GraphicObject
Empty methods which are overwritten if needed.
setControlPoints() - Method in class jdraw.graphics.CurveObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.TextObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.PolygonObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.CurvedShapeObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.EllipseObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.PolylineObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.LineObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setControlPoints() - Method in class jdraw.graphics.RectangleObject
Sets this.controlPoints based on the current PathIterator of this.shape.
setCurrentBackgroundColor(Color) - Method in class jdraw.jdraw.Tools
Sets the currentBackgroundColor value given the parameter Color.
setCurrentColor(Color) - Method in class jdraw.jdraw.Tools
Sets the currentColor value given the parameter Color.
setCurrentFillType(Vector) - Method in class jdraw.jdraw.Tools
Sets currentFillType as the passed in int value.
setCurrentStroke(BasicStroke, int) - Method in class jdraw.jdraw.Tools
Sets currentStroke as the passed in BasicStroke.
setFilename(String) - Method in class jdraw.jdraw.Canvas
 
setFillPattern(Vector) - Method in class jdraw.drawing_options.BrushPatternColor
Method setFillPattern sets the Paint property within the system and for all selected graphics.
setFont(Font) - Method in class jdraw.graphics.TextObject
Sets this.font given the new font type 'f'.
setFontSize(int) - Method in class jdraw.graphics.TextObject
Sets this.font given the new font size 'size'.
setFontStyle(int) - Method in class jdraw.graphics.TextObject
Sets this.font given the new font style 'style'.
setHorizontalCenter(float) - Method in class jdraw.graphics.GraphicObject
Translates this.shape by the X-coordinate given by newCenterX - CenterOfThisX.
setJDraw(JDraw) - Method in class jdraw.jdraw_ui.CanvasWindow
Method setJDraw(JDraw) sets this.jdraw to the parameter JDraw object.
setLastPoint(Point) - Method in class jdraw.graphics.GraphicObject
Method setLastPoint is overwritten in PolygonObject, PolylineObject, CurveObject, and CurvedShapeObject.
setLastPoint(Point) - Method in class jdraw.graphics.CurveObject
 
setLastPoint(Point) - Method in class jdraw.graphics.PolygonObject
 
setLastPoint(Point) - Method in class jdraw.graphics.CurvedShapeObject
 
setLastPoint(Point) - Method in class jdraw.graphics.PolylineObject
 
setMaxX(int) - Method in class jdraw.graphics.GraphicObject
 
setMaxX(int) - Method in class jdraw.graphics.TextObject
Sets the int newMaxX value as the right side of the Rectangle which bounds this.shape.
setMaxY(int) - Method in class jdraw.graphics.GraphicObject
 
setMaxY(int) - Method in class jdraw.graphics.TextObject
Sets the int newMaxY value as the bottom side of the Rectangle which bounds this.shape.
setMinX(int) - Method in class jdraw.graphics.GraphicObject
 
setMinX(int) - Method in class jdraw.graphics.TextObject
Sets the int newMinX value as the left side of the Rectangle which bounds this.shape.
setMinY(int) - Method in class jdraw.graphics.GraphicObject
 
setMinY(int) - Method in class jdraw.graphics.TextObject
Sets the int newMinY value as the top side of the Rectangle which bounds this.shape.
setNeedSave(boolean) - Method in class jdraw.jdraw.Canvas
 
setNeedSave(boolean) - Method in class jdraw.jdraw_ui.CanvasWindow
Method setNeedSave(boolean) sets this.needSave to the boolean parameter.
setPaint(Vector) - Method in class jdraw.graphics.GraphicObject
 
setRedoActive(boolean) - Method in class jdraw.edit_ui.EditMenu
 
setSecondPoint(Point) - Method in class jdraw.graphics.GraphicObject
Method setSecondPoint is overwritten in EllipseObject, RectangleObject, and LineObject.
setSecondPoint(Point) - Method in class jdraw.graphics.EllipseObject
Sets the opposite corner of the Shape from firstPoint.
setSecondPoint(Point) - Method in class jdraw.graphics.LineObject
Sets the opposite corner of the Shape from firstPoint.
setSecondPoint(Point) - Method in class jdraw.graphics.RectangleObject
 
setSelectedGraphics(Vector) - Method in class jdraw.jdraw.Canvas
Sets the passed in Vector to selectedGraphics.
setShape() - Method in class jdraw.graphics.GraphicObject
Empty methods which are overwritten if needed.
setShape() - Method in class jdraw.graphics.CurveObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.TextObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.PolygonObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.CurvedShapeObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.EllipseObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.PolylineObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.LineObject
Sets this.shape based on the points currently in this.controlPoints.
setShape() - Method in class jdraw.graphics.RectangleObject
Sets this.shape based on the points currently in this.controlPoints.
setStroke(BasicStroke) - Method in class jdraw.graphics.GraphicObject
 
setTitle(String) - Method in class jdraw.jdraw_ui.JDrawUI
Change the Window Title of the last Element in canvasWindow to the given String.
setToHome() - Method in class jdraw.jdraw_ui.CanvasWindow
Method setToHome adjusts this.windowPane so that it's upper left corner is the upper left corner of the entire Canvas.
setUndoActive(boolean) - Method in class jdraw.edit_ui.EditMenu
 
setVerticalCenter(float) - Method in class jdraw.graphics.GraphicObject
Translates this.shape by the Y-coordinate given by newCenterY - CenterOfThisY.
setView(JDrawUI) - Method in class jdraw.jdraw.JDraw
Set the given JDrawUI component as this.jdrawUI.
setWindow(int) - Method in class jdraw.jdraw_ui.CanvasWindow
Offset a window given the number of current windows.
setWindowTitle(String) - Method in class jdraw.jdraw_ui.CanvasWindow
Method setWindowTitle(String) sets the current window's Title to the parameter String object.
setZoom(float) - Method in class jdraw.jdraw_ui.CanvasWindow
 
shape - Variable in class jdraw.graphics.GraphicObject
A Shape object holds the Shape object of this Graphic.
stretch() - Method in class jdraw.jdraw.Tools
Set Stretch as the activeTool.
stroke - Variable in class jdraw.graphics.GraphicObject
A BasicStroke object used to draw this.shape.
structure - Variable in class jdraw.jdraw.Commands
Local reference to Structure object
structure - Variable in class jdraw.structure_ui.StructureMenu
local reference to the File model.
Structure - class jdraw.structure.Structure.
Class Structure is the Model class for graphic organization operations such as grouping, moving along the z-axis, and getting the number of selected graphics.
Structure(View, JDraw) - Constructor for class jdraw.structure.Structure
Construct this with the given View object.
structureMenu - Variable in class jdraw.structure_ui.StructureUI
The companion model
StructureMenu - class jdraw.structure_ui.StructureMenu.
Class StructureMenu is the pulldown menu for the Structure model.
StructureMenu(Screen, Structure, StructureUI) - Constructor for class jdraw.structure_ui.StructureMenu
Construct the menu with the given Structure model.
structureUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown Structure menu
StructureUI - class jdraw.structure_ui.StructureUI.
Class StructureUI is the companion view for the Structure model class.
StructureUI(Screen, Structure) - Constructor for class jdraw.structure_ui.StructureUI
Construct this with the given screen and companion Structure model.

T

tempFonts - Variable in class jdraw.text_ui.FontDialog
The list of the current O.S.
text - Variable in class jdraw.jdraw.Commands
Local reference to Text object
text - Variable in class jdraw.text_ui.FontSizeDialog
A reference to the top-level Text object.
text - Variable in class jdraw.text_ui.FontDialog
A reference to the top-level Text object.
text - Variable in class jdraw.text_ui.TextMenu
A local reference to the Text model.
text - Variable in class jdraw.graphics.TextObject
The string of the text.
Text - class jdraw.text.Text.
Class Text is the Model class for font options such as font style, font size, and font type.
Text(View, JDraw) - Constructor for class jdraw.text.Text
Construct this with the given View object.
textBox - Variable in class jdraw.text_ui.FontSizeDialog
A JTextField for typing.
textMenu - Variable in class jdraw.text_ui.TextUI
The companion model
TextMenu - class jdraw.text_ui.TextMenu.
Class TextMenu is the pulldown menu for the Text model.
TextMenu(Screen, Text, TextUI) - Constructor for class jdraw.text_ui.TextMenu
Construct the menu with the given Text model.
TextObject - class jdraw.graphics.TextObject.
Class RectangleObject is the GraphicObject extension which holds a rectangle shape.
TextObject(Color, Color, Vector, Vector, BasicStroke, String, Font, double) - Constructor for class jdraw.graphics.TextObject
Construct this with the given Shape, Color, FillStyle, and ControlPoints objects.
TextObject(Point2D.Double, Color, Color, Vector, BasicStroke, String, Font, double) - Constructor for class jdraw.graphics.TextObject
Construct this with the given Points, Colors, FillStyle, BasicStroke objects.
textUI - Variable in class jdraw.jdraw_ui.CommandMenu
The pulldown Text menu
TextUI - class jdraw.text_ui.TextUI.
Class TextUI is the companion view for the Text model class.
TextUI(Screen, Text) - Constructor for class jdraw.text_ui.TextUI
Construct this with the given screen and companion Text model.
toolBar - Variable in class jdraw.jdraw_ui.ToolsPalette
The JToolBar is the main component of this view Class
tools - Variable in class jdraw.jdraw.JDraw
The Top-Level Tools model.
tools - Variable in class jdraw.jdraw_ui.ToolsPalette
Local reference to the Top-Level Tools Model object
tools - Variable in class jdraw.jdraw_ui.CanvasWindow
A local reference to the upper-level Tools object.
Tools - class jdraw.jdraw.Tools.
Class Tools is the top-level Model class for the apps ToolBar.
Tools(View, JDraw) - Constructor for class jdraw.jdraw.Tools
Construct this with the given View component.
toolsPalette - Variable in class jdraw.jdraw_ui.JDrawUI
The Tool Bar
ToolsPalette - class jdraw.jdraw_ui.ToolsPalette.
Class ToolsPalette is the companion view class for the Tools model.
ToolsPalette(Screen, Tools, JDrawKeyListener) - Constructor for class jdraw.jdraw_ui.ToolsPalette
Construct this with the given Tools object.
translate(float, float) - Method in class jdraw.graphics.GraphicObject
Translates the position of this.shape by the given deltaX and deltaY values.
translate(float, float) - Method in class jdraw.graphics.TextObject
Translates the position of this.shape by the given deltaX and deltaY values.
translate(float, float) - Method in class jdraw.graphics.LineObject
Translates the position of this.shape by the given deltaX and deltaY values.
translateControlPoint(int, float, float) - Method in class jdraw.graphics.GraphicObject
Translates the Control Point (in Vector controlPoints) whose index is passed in by the passed in values of deltaX and deltaY.
translateControlPoint(int, int, int) - Method in class jdraw.graphics.TextObject
translateControlPoint(int, int, int) is disabled for a TextObject.
translateControlPoint(int, int, int) - Method in class jdraw.graphics.EllipseObject
translateControlPoint(int, int, int) is disabled for an EllipseObject.

U

undo() - Static method in class jdraw.edit.Edit
Undo last action.
undo() - Method in class jdraw.jdraw.JDraw
Calls undoLastAction on the currently active Canvas.
undoBuffer - Variable in class jdraw.jdraw_ui.CanvasWindow
A Vector to store Canvas objects for undo purposes.
undoItem - Variable in class jdraw.edit_ui.EditMenu
A JMenuItem for the 'Undo' item.
undoLastAction() - Method in class jdraw.jdraw_ui.CanvasWindow
Loads the last element of the undo buffer into this.canvas.
ungroup() - Method in class jdraw.jdraw.JDraw
Calls ungroupSelected on the currently active Canvas.
ungroup() - Method in class jdraw.structure.Structure
Ungroup the selected group.
ungroupSelected() - Method in class jdraw.jdraw.Canvas
If any Group Vector contains everything in selectedGraphics, then remove that group from groups.

V

viewButton() - Method in class jdraw.drawing_options_ui.BrushEditDialog
 
viewButton() - Method in class jdraw.drawing_options_ui.PaintEditDialog
 
viewPanel - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
viewPanel - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 

W

widthField - Variable in class jdraw.drawing_options_ui.BrushEditDialog
 
windowPane - Variable in class jdraw.jdraw_ui.CanvasWindow
A JScrollPane in which to put our CanvasPage.

X

x1Field - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
x2Field - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
xField - Variable in class jdraw.edit_ui.PreciseMoveDialog
A JTextField for receiving the change in x.

Y

y1Field - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
y2Field - Variable in class jdraw.drawing_options_ui.PaintEditDialog
 
yes() - Method in class jdraw.jdraw_ui.AskSaveDialog
Method yes calls jdraw.yesButton().
yesButton() - Method in class jdraw.jdraw.JDraw
Close the window and save the Canvas to ...
yField - Variable in class jdraw.edit_ui.PreciseMoveDialog
A JTextField for receiving the change in y.

Z

zoom - Variable in class jdraw.jdraw_ui.CanvasWindow
A float value to store this window's current zoom factor.

A B C D E F G I J K L M N O P R S T U V W X Y Z