public static class Rectangle.Builder extends java.lang.Object implements Undoable
Modifier and Type | Class and Description |
---|---|
static class |
Rectangle.Builder.Mode |
Modifier | Constructor and Description |
---|---|
protected |
Builder(Rectangle r,
Rectangle.Builder.Mode mode) |
Modifier and Type | Method and Description |
---|---|
Rectangle |
build() |
Rectangle |
buildDR(double weight) |
boolean |
built() |
Rectangle.Builder |
createCenterMarker() |
Rectangle.Builder |
createCenterMarker(java.lang.String customTitle) |
void |
dispose() |
boolean |
run(EditAction action) |
Rectangle.Builder |
setFirstPoint(GeoPointMetaData p) |
Rectangle.Builder |
setSecondPoint(GeoPointMetaData p) |
Rectangle.Builder |
setThirdPoint(GeoPointMetaData p) |
Rectangle.Builder |
setWidth(double width) |
void |
undo() |
protected final Rectangle _r
protected Builder(Rectangle r, Rectangle.Builder.Mode mode)
r
- mode
- public Rectangle.Builder setFirstPoint(GeoPointMetaData p)
public Rectangle.Builder setThirdPoint(GeoPointMetaData p)
public Rectangle.Builder setSecondPoint(GeoPointMetaData p)
public Rectangle.Builder setWidth(double width)
public Rectangle.Builder createCenterMarker()
public Rectangle.Builder createCenterMarker(java.lang.String customTitle)
public Rectangle build()
public Rectangle buildDR(double weight)
public void dispose()
public boolean built()
public boolean run(EditAction action)