Uses of Class
shapes.Point
-
Packages that use Point Package Description commands controller dialogs shapes strategy -
-
Uses of Point in commands
Fields in commands declared as Point Modifier and Type Field Description private Point
CmdUpdatePoint. newState
private Point
CmdUpdatePoint. oldState
private Point
CmdUpdatePoint. originalState
Constructors in commands with parameters of type Point Constructor Description CmdUpdatePoint(Point oldState, Point newState)
-
Uses of Point in controller
Fields in controller declared as Point Modifier and Type Field Description private Point
DrawingController. initialPointOfLine
Methods in controller with parameters of type Point Modifier and Type Method Description void
DrawingController. btnUpdatePointClicked(Point oldPoint)
Method is called when user want to update some existingPoint
on draw. -
Uses of Point in dialogs
Methods in dialogs with parameters of type Point Modifier and Type Method Description void
DlgPoint. write(Point point, int drawWidth, int drawHeight)
{@inheritDoc DlgCircle#write(int, int, int, int)} -
Uses of Point in shapes
Fields in shapes declared as Point Modifier and Type Field Description private Point
Circle. center
private Point
Line. initial
private Point
Line. last
protected Point
Square. upLeft
Methods in shapes that return Point Modifier and Type Method Description Point
Line. centerOfLine()
Return center of line.Point
Point. clone()
Create new instance of this point.Point
Circle. getCenter()
Point
Line. getInitial()
Point
Line. getLast()
Point
Square. getUpLeft()
Methods in shapes with parameters of type Point Modifier and Type Method Description double
Point. distance(Point point)
Calculate dinstance between two points.void
Circle. setCenter(Point center)
void
Line. setInitial(Point initial)
void
Line. setLast(Point last)
void
Square. setUpLeft(Point upLeft)
Constructors in shapes with parameters of type Point Constructor Description Circle(Point center, int r, java.awt.Color edgeColor, java.awt.Color interiorColor)
Line(Point initial, Point last)
Line(Point initial, Point last, java.awt.Color color)
Rectangle(Point upLeft, int width, int height, java.awt.Color edgeColor, java.awt.Color interiorColor)
Square(Point upLeft, int side)
Square(Point upLeft, int side, java.awt.Color edgeColor, java.awt.Color interiorColor)
-
Uses of Point in strategy
Methods in strategy that return Point Modifier and Type Method Description private Point
FileLog. parsePoint(java.lang.String string)
Method that parsePoint
from log file.
-