Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
W
X
Y
A
addAnalyze()
- Method in class simple_uml.view.
SumlMenu
addExit()
- Method in class simple_uml.view.
FileMenu
addListener(ShapeListener)
- Method in class simple_uml.view.canvas.
SumlShape
addOpen()
- Method in class simple_uml.view.
FileMenu
addPreferences()
- Method in class simple_uml.view.
EditMenu
Adds a "Preferences" option to the menu.
addSave()
- Method in class simple_uml.view.
FileMenu
Anchor
- Class in
simple_uml.view.canvas
Anchor()
- Constructor for class simple_uml.view.canvas.
Anchor
ATT_BUF
- Static variable in class simple_uml.view.canvas.
SumlClassView
Vertical pad between name, atts, and methods
atts
- Variable in class simple_uml.model.
SumlClassModel
atts
- Variable in class simple_uml.view.canvas.
SumlClassView
Attribute list to be drawn
atts
- Variable in class simple_uml.view.canvas.
TextList
List of strings to be drawn
B
BASE_ORIGIN
- Static variable in class simple_uml.view.canvas.
SumlShape
Where all shapes are drawn relative to, by default
bounds
- Variable in class simple_uml.view.canvas.
SumlShape
Bounding box of the shape, letting you know the min height/width needed to fully contain its members.
C
canvas
- Variable in class simple_uml.view.canvas.
MovingListener
canvas
- Variable in class simple_uml.view.canvas.
SumlShape
The canvas we're to be painted on.
cm
- Variable in class simple_uml.view.canvas.
SumlClassView
Class model which contains the data we need to draw
color
- Variable in class simple_uml.view.canvas.
SumlShape
Color the shape should be.
computeWidth()
- Method in class simple_uml.view.canvas.
SumlClassView
Computes the minimum width necessary to encompass all attributes in the view.
D
draw(Graphics2D)
- Method in class simple_uml.view.canvas.
Relationship
draw(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlClassView
Draws the UML class represention of the SumlClassView this class was instantiated with.
draw(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlShape
Does the work of actually drawing the shape.
draw(Graphics2D)
- Method in class simple_uml.view.canvas.
Text
Draws the text object, with the upper-left corner of the text's bounding box (and thus, its first letter) at the point specified in the constructor.
draw(Graphics2D)
- Method in class simple_uml.view.canvas.
TextList
Draws our list of text, rendered relative to the SumlShape.BASE_ORIGIN point.
drawBox(Graphics2D, int, int)
- Method in class simple_uml.view.canvas.
SumlClassView
Draws the box to surround all the attributes of the class.
drawLines(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlClassView
Draws the lines between name/atts and atts/methods.
dst
- Variable in class simple_uml.view.canvas.
Relationship
E
EditMenu
- Class in
simple_uml.view
EditMenu()
- Constructor for class simple_uml.view.
EditMenu
F
FileMenu
- Class in
simple_uml.view
FileMenu()
- Constructor for class simple_uml.view.
FileMenu
formatAtts(List<SumlNameTypePair>)
- Method in class simple_uml.view.canvas.
SumlClassView
Formats class attributes according to specification.
formatOps(List<SumlOp>)
- Method in class simple_uml.view.canvas.
SumlClassView
Formats class operations according to specification.
G
getAtts()
- Method in class simple_uml.model.
SumlClassModel
getClassShape(SumlClassModel)
- Method in class simple_uml.view.canvas.
SumlCanvas
Looks through all our shapes for one with a particular model backing it.
getHeight()
- Method in class simple_uml.view.canvas.
SumlShape
Returns the height of this shape, as defined by its bounding box
getModel()
- Method in class simple_uml.view.canvas.
SumlClassView
Gets the SumlClassModel behind this view.
getModel()
- Method in class simple_uml.view.canvas.
SumlShape
getName()
- Method in class simple_uml.model.
SumlDiagElem
getName()
- Method in class simple_uml.model.
SumlNameTypePair
getOpAtts()
- Method in class simple_uml.model.
SumlClassModel
getOrigin()
- Method in class simple_uml.model.
SumlDiagElem
getOrigin()
- Method in class simple_uml.view.canvas.
SumlShape
Returns this shape's origin.
getPoint()
- Method in class simple_uml.view.canvas.
Hook
getSelectionAt(int, int)
- Method in class simple_uml.view.canvas.
SumlCanvas
Gives you the shape under a given coordinate.
getType()
- Method in class simple_uml.model.
SumlNameTypePair
getWidth()
- Method in class simple_uml.view.canvas.
SumlShape
Returns the width of this shape, as defined by its bounding box
H
height
- Variable in class simple_uml.model.
SumlDiagElem
Hook
- Class in
simple_uml.view.canvas
Hook(SumlShape)
- Constructor for class simple_uml.view.canvas.
Hook
hook
- Variable in class simple_uml.view.canvas.
Hook
I
inheritsFrom
- Variable in class simple_uml.model.
SumlClassModel
inputs
- Variable in class simple_uml.model.
SumlOp
intersects(Rectangle2D)
- Method in class simple_uml.view.canvas.
SumlShape
L
line1_dst
- Variable in class simple_uml.view.canvas.
SumlClassView
Points used to draw lines between name, atts, and methods
line1_src
- Variable in class simple_uml.view.canvas.
SumlClassView
Points used to draw lines between name, atts, and methods
line2_dst
- Variable in class simple_uml.view.canvas.
SumlClassView
Points used to draw lines between name, atts, and methods
line2_src
- Variable in class simple_uml.view.canvas.
SumlClassView
Points used to draw lines between name, atts, and methods
LINE_BUF
- Static variable in class simple_uml.view.canvas.
SumlClassView
Extra length to be added to lines separating name, atts, and methods
listeners
- Variable in class simple_uml.view.canvas.
SumlShape
List of any listeners who like to know when this shape changes
M
main(String[])
- Static method in class simple_uml.
SimpleUML
MainModel
- Class in
simple_uml.model
MainModel(String)
- Constructor for class simple_uml.model.
MainModel
MainView
- Class in
simple_uml.view
MainView(MainModel)
- Constructor for class simple_uml.view.
MainView
matrixStack
- Variable in class simple_uml.view.canvas.
SumlShape
Stores Graphics2D AffineTransforms so that you can save transforms, alter them, and restore them later.
MenuBar
- Class in
simple_uml.view
MenuBar()
- Constructor for class simple_uml.view.
MenuBar
methods
- Variable in class simple_uml.view.canvas.
SumlClassView
List of methods to be drawn
mm
- Variable in class simple_uml.view.canvas.
SumlCanvas
Reference to the main model.
mm
- Variable in class simple_uml.view.
MainView
MONO_FONT
- Static variable in class simple_uml.view.canvas.
SumlCanvas
Default, monospace font text can use to draw
mouseDragged(MouseEvent)
- Method in class simple_uml.view.canvas.
MovingListener
mousePressed(MouseEvent)
- Method in class simple_uml.view.canvas.
MovingListener
mouseReleased(MouseEvent)
- Method in class simple_uml.view.canvas.
MovingListener
move(int, int)
- Method in class simple_uml.view.canvas.
SumlShape
Moves this shape by a given amount.
moving
- Variable in class simple_uml.view.canvas.
MovingListener
MovingListener
- Class in
simple_uml.view.canvas
MovingListener(SumlCanvas)
- Constructor for class simple_uml.view.canvas.
MovingListener
N
name
- Variable in class simple_uml.model.
SumlDiagElem
name
- Variable in class simple_uml.model.
SumlNameTypePair
name
- Variable in class simple_uml.view.canvas.
SumlClassView
Methods name to be drawn
O
opAggs
- Variable in class simple_uml.model.
SumlClassModel
opAtts
- Variable in class simple_uml.model.
SumlClassModel
origin
- Variable in class simple_uml.model.
SumlDiagElem
origin
- Variable in class simple_uml.view.canvas.
SumlShape
The upper-left corner of this shape, where all components of said shape are drawn relative to.
outputs
- Variable in class simple_uml.model.
SumlOp
P
paint(Graphics)
- Method in class simple_uml.view.canvas.
SumlCanvas
Goes through all the shapes in this canvas and paints each one.
paint(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlShape
Paints the shape on the screen.
parent
- Variable in class simple_uml.view.canvas.
SumlClassView
Actual class model we're related to, if any
popMatrix(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlShape
Pops a transform off the stack and sets the Graphics2D to have the popped transform.
privacy
- Variable in class simple_uml.model.
SumlNameTypePair
pushMatrix(Graphics2D)
- Method in class simple_uml.view.canvas.
SumlShape
Pushes the Graphics2D transform onto this object's stack of saved transforms.
R
rel_parent
- Variable in class simple_uml.view.canvas.
SumlClassView
Tells us what we're related to, if anything
Relationship
- Class in
simple_uml.view.canvas
Illustrations some kind of relationship (association, parentage, etc.) between two shapes on the canvas.
Relationship(SumlShape, SumlShape)
- Constructor for class simple_uml.view.canvas.
Relationship
rSelector
- Static variable in class simple_uml.view.canvas.
SumlCanvas
Rectangle used for making selections based on intersection w/ it
S
s
- Variable in class simple_uml.view.canvas.
ShapeListener
s
- Variable in class simple_uml.view.canvas.
Text
The string this object will display
sAggregates
- Variable in class simple_uml.model.
SumlClassModel
scale(double, double)
- Method in class simple_uml.view.canvas.
SumlShape
Scales this shape by the given percentages.
SELECT_HEIGHT
- Static variable in class simple_uml.view.canvas.
SumlCanvas
Height of rectangle used for clicking on objects to select them.
SELECT_WIDTH
- Static variable in class simple_uml.view.canvas.
SumlCanvas
Width of rectangle used for clicking on objects to select them.
selected
- Variable in class simple_uml.view.canvas.
SumlShape
Whether this shape is selected.
selection
- Variable in class simple_uml.view.canvas.
MovingListener
setOrigin(int, int)
- Method in class simple_uml.view.canvas.
SumlShape
Sets this shape's origin
ShapeListener
- Class in
simple_uml.view.canvas
ShapeListener(SumlShape)
- Constructor for class simple_uml.view.canvas.
ShapeListener
shapeMoved()
- Method in class simple_uml.view.canvas.
Hook
shapeMoved()
- Method in class simple_uml.view.canvas.
ShapeListener
shapes
- Variable in class simple_uml.view.canvas.
SumlCanvas
List of shapes on this canvas that we'll be drawing.
simple_uml
- package simple_uml
simple_uml.model
- package simple_uml.model
simple_uml.view
- package simple_uml.view
simple_uml.view.canvas
- package simple_uml.view.canvas
SimpleUML
- Class in
simple_uml
SimpleUML()
- Constructor for class simple_uml.
SimpleUML
src
- Variable in class simple_uml.view.canvas.
Relationship
Point we'll hook the src to
startX
- Variable in class simple_uml.view.canvas.
MovingListener
startY
- Variable in class simple_uml.view.canvas.
MovingListener
SumlCanvas
- Class in
simple_uml.view.canvas
Keeps track of all objects/UML components that need to be represented and draws them.
SumlCanvas(MainModel)
- Constructor for class simple_uml.view.canvas.
SumlCanvas
SumlClassModel
- Class in
simple_uml.model
SumlClassModel(String)
- Constructor for class simple_uml.model.
SumlClassModel
SumlClassModel(String, SumlClassModel, String[], String[])
- Constructor for class simple_uml.model.
SumlClassModel
Deprecated.
15jun11
SumlClassView
- Class in
simple_uml.view.canvas
Handles how a class is displayed in the SumlCanvas.
SumlClassView(SumlCanvas, SumlClassModel)
- Constructor for class simple_uml.view.canvas.
SumlClassView
Create a view to draw which'll represent a class model.
SumlDiagElem
- Class in
simple_uml.model
SumlDiagElem()
- Constructor for class simple_uml.model.
SumlDiagElem
SumlDiagElem(String)
- Constructor for class simple_uml.model.
SumlDiagElem
SumlDiagElem(String, int, int)
- Constructor for class simple_uml.model.
SumlDiagElem
SumlMenu
- Class in
simple_uml.view
SumlMenu()
- Constructor for class simple_uml.view.
SumlMenu
SumlNameTypePair
- Class in
simple_uml.model
SumlNameTypePair()
- Constructor for class simple_uml.model.
SumlNameTypePair
SumlOp
- Class in
simple_uml.model
SumlOp()
- Constructor for class simple_uml.model.
SumlOp
SumlShape
- Class in
simple_uml.view.canvas
Generic object the SumlCanvas will be able to draw onto the screen.
SumlShape()
- Constructor for class simple_uml.view.canvas.
SumlShape
SumlShape(SumlCanvas, Color)
- Constructor for class simple_uml.view.canvas.
SumlShape
Creates a shape w/ the specified color
T
Text
- Class in
simple_uml.view.canvas
Represents a single line of text.
Text(String, int, int)
- Constructor for class simple_uml.view.canvas.
Text
Creates Text which'll display the specified string at the given origin.
TextList
- Class in
simple_uml.view.canvas
Displays a list of strings, line by line.
TextList(List<String>)
- Constructor for class simple_uml.view.canvas.
TextList
Creates an object to display a given list of strings.
TITLE
- Static variable in class simple_uml.view.
MainView
tMatrix
- Variable in class simple_uml.view.canvas.
SumlShape
The transform matrix applied to this shape before drawing
type
- Variable in class simple_uml.model.
SumlNameTypePair
W
wAggregates
- Variable in class simple_uml.model.
SumlClassModel
width
- Variable in class simple_uml.model.
SumlDiagElem
X
X_BASE
- Static variable in class simple_uml.view.canvas.
SumlShape
Base x-coord for BASE_ORIGIN
X_BOX_BUF
- Static variable in class simple_uml.view.canvas.
SumlClassView
Horizontal pad on the right side of the bounding box to be put between the box and its contents.
Y
Y_BASE
- Static variable in class simple_uml.view.canvas.
SumlShape
Base y-coord for BASE_ORIGIN
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
W
X
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes