Figura - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Figura

Description:

cambiarAreaPresentacion(Point p1, Point p2) Rectangle getAreaPresentacion ... resize(Handle m, int dx, int dy) draw() boolean containsPoint(int x, int y) ... – PowerPoint PPT presentation

Number of Views:69
Avg rating:3.0/5.0
Slides: 12
Provided by: gaiaF
Category:
Tags: figura | gaiam

less

Transcript and Presenter's Notes

Title: Figura


1
Figura
Rectangle areaPresentacion boolean
seleccionada clone() dibujar(Graphics
g) dibujarSeleccion(Graphics g) cambiarAreaPresen
tacion(Point p1, Point p2) Rectangle
getAreaPresentacion() setSeleccionada(boolean) Dim
ension getDimensiones() contienePunto(Point
p) boolean esFiguraVacia() mover (int dx, int dy)
java.awt.Rectangle java.awt.Point Java.awt.Dimensi
on javax.swing.JTextField javax.swing.JTextArea
2
VentanaEditor
Dibujo areaDibujo actionPerformed(ActionEvent e)
Dibujo BotonHerramienta java.awt.event.ActionEvent
3
Dibujo
VectorltFiguragt listaFiguras Herramienta
herramientaActiva insertarFigura(Figura
f) Figura eliminarFigura(Figura f) Figura
encuentraFigura(Point) paintComponent(Graphics
g) setHerramientaActiva(Herramienta) void
mousePressed(MouseEvent e) void
mouseDragged(MouseEvent e) void
mouseReleased(MouseEvent e)
Figura java.awt.MouseEvent Herramienta
4
BotonHerramienta
Herramienta herramienta Herramienta
getHerramienta()
javax.swing.JButton Herramienta
5
Herramienta
java.awt.MouseEvent
void mousePressed(MouseEvent e) void
mouseDragged(MouseEvent e) void
mouseReleased(MouseEvent e)
6
HerramientaCreacion
Figura prototipo Dibujo areaDibujo Figura
ultiFiguraCreada Point ultPulsacion void
mousePressed(MouseEvent e) void
mouseDragged(MouseEvent e) void
mouseReleased(MouseEvent e)
java.awt.MouseEvent Figura Dibujo java.awt.Point
7
HerramientaSeleccion
java.awt.MouseEvent Dibujo Figura java.awt.Point
Dibujo areaDibujo Figura figSeleccionada Point
ultPulsacion void mousePressed(MouseEvent
e) void mouseDragged(MouseEvent e) void
mouseReleased(MouseEvent e)
8
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
ionlt Handlegt Handles()
java.awt.Rectangle java.util.Enumeration Handle
9
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
10
Drawing
VectorltFiguregt figureList Figure
selectedFigure Figure findFigure (int x, int
y) addFigure(Figure f) Figure removeFigure(Figure
f) draw() selectFigure(Figure f) deselectFigure()
Figure getSelectedFigure()
Figure
11
ButtonTool
Figure protoype Figure createFigure()
Figure
Write a Comment
User Comments (0)
About PowerShow.com