Figura Prototype - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Figura Prototype

Description:

none – PowerPoint PPT presentation

Number of Views:178
Avg rating:3.0/5.0
Slides: 12
Provided by: gaiaF
Category:
Tags: figura | gaia | prototype

less

Transcript and Presenter's Notes

Title: Figura Prototype


1
Figura
Rectangle areaPresentacion clone() dibujar(Graphi
cs g) cambiarAreaPresentacion(Point p1, Point
p2) Rectangle getAreaPresentacion()
java.awt.Rectangle java.awt.Point
2
VentanaEditor
Dibujo areaDibujo actionPerformed(ActionEvent e)
Dibujo BotonHerramienta java.awt.event.ActionEvent
3
Dibujo
Vector listaFiguras Figura
figuraActiva insertarFigura(Figura
f) paintComponent(Graphics g) setFiguraActiva(Figu
ra f) void mousePressed(MouseEvent e)
Figura java.awt.MouseEvent
4
BotonHerramienta
Figura tipoFigura Figura getTipoFigura()
javax.swing.JButton Figura
5
Figure
Rectangle displayBox move(int dx, int
dy) resize(Handle m, int dx, int
dy) draw() boolean containsPoint(int x, int
y) changeDisplayBox(Rectangle r) boolean
isEmptyFigure() Rectangle getDisplayBox() Enumerat
ion Handles()
java.awt.Rectangle java.util.Enumeration Handle
6
EditorWindow
Drawing drawArea CreationTool hc Figure
lastFigure int lastX, lastY boolean
resizing Handle lastHandle mousePressed(MouseEven
t e) mouseDragged(MouseEvent e) mouseReleased(Mous
eEvent e) boolean isSelectionToolChosen() boolean
isCreationToolChosen()
Drawing CreationTool java.awt.event.MouseEvent Fig
ure Handle
7
Drawing
Vector figureList Figure
selectedFigure Figure findFigure (int x, int
y) addFigure(Figure f) Figure removeFigure(Figure
f) draw() selectFigure(Figure f) deselectFigure()
Figure getSelectedFigure()
Figure
8
ShapeButton
int shapeType Figure protoype int
getShapeType() Figure getFigure()
Figure
9
Figure
Rectangle displayBox draw(Graphics
g) changeDisplayBox(Point p1, Point p2) Rectangle
getdisplayBox() clone()
java.awt.Rectangle java.awt.Point
10
EditorWindow
Drawing drawingArea actionPerformed(ActionEvent
e)
Drawing ShapeButton java.awt.event.ActionEvent
11
Drawing
Vector figures int activeShape Figure
activeFigure insertFigure(Figure
f) paintComponent(Graphics g) setActiveShape(int
as) void mousePressed(MouseEvent
e) setActiveFigure(Figure f)
Figure java.awt.MouseEvent
Write a Comment
User Comments (0)
About PowerShow.com