Figura - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Figura

Description:

Rectangle areaPresentacion. boolean seleccionada. clone() dibujar(Graphics g) ... cambiarAreaPresentacion(Point p1, Point p2) Rectangle getAreaPresentacion ... – PowerPoint PPT presentation

Number of Views:71
Avg rating:3.0/5.0
Slides: 9
Provided by: gaiaF
Category:
Tags: clone | figura

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) co
ntienePunto(Point p) boolean esFiguraVacia() move
r (int dx, int dy)
java.awt.Rectangle java.awt.Point
2
VentanaEditor
Dibujo areaDibujo actionPerformed(ActionEvent e)
Dibujo BotonHerramienta java.awt.event.ActionEvent
3
Dibujo
final int ECREAR0 final int ESELECCIONAR1 Vect
orltFiguragt listaFiguras Figura figuraActiva int
estado insertarFigura(Figura f) Figura
eliminarFigura(Figura f) Figura
encuentraFigura(Point) paintComponent(Graphics
g) setFiguraActiva(Figura f) setEstado(int) boolea
n estadoCrear() boolean estadoSeleccionar() void
mousePressed(MouseEvent e) void
mouseDragged(MouseEvent e) void
mouseReleased(MouseEvent e)
Figura java.awt.MouseEvent
4
BotonHerramienta
Figura tipoFigura int estado Figura
getTipoFigura() setEstado(int) int getEstado()
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
ionlt Handlegt 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
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
8
ButtonTool
Figure protoype Figure createFigure()
Figure
Write a Comment
User Comments (0)
About PowerShow.com