public class Arc2dDouble extends Arc2D.Double implements org.datanucleus.store.types.SCO
Arc2D.Double, Arc2D.Float| Modifier and Type | Field and Description |
|---|---|
protected String |
fieldName |
protected org.datanucleus.state.ObjectProvider |
ownerOP |
| Constructor and Description |
|---|
Arc2dDouble(org.datanucleus.state.ObjectProvider ownerSM,
org.datanucleus.metadata.AbstractMemberMetaData mmd)
Assigns owning object and field name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
attachCopy(Object value) |
Object |
clone()
Creates and returns a copy of this object.
|
Object |
detachCopy(org.datanucleus.state.FetchPlanState state) |
String |
getFieldName() |
Object |
getOwner() |
Object |
getValue() |
void |
initialise() |
void |
initialise(Object value,
boolean forInsert,
boolean forUpdate) |
void |
makeDirty()
Utility to mark the object as dirty
|
void |
setAngleExtent(double angExt) |
void |
setAngles(double x1,
double y1,
double x2,
double y2) |
void |
setAngles(Point2D p1,
Point2D p2) |
void |
setAngleStart(double angSt) |
void |
setAngleStart(Point2D p) |
void |
setArc(Arc2D a) |
void |
setArc(double x,
double y,
double w,
double h,
double angSt,
double angExt,
int closure) |
void |
setArc(Point2D loc,
Dimension2D size,
double angSt,
double angExt,
int closure) |
void |
setArc(Rectangle2D rect,
double angSt,
double angExt,
int closure) |
void |
setArcByCenter(double x,
double y,
double radius,
double angSt,
double angExt,
int closure) |
void |
setArcByTangent(Point2D p1,
Point2D p2,
Point2D p3,
double radius) |
void |
setArcType(int type) |
void |
setFrame(double x,
double y,
double w,
double h) |
void |
setFrame(Point2D loc,
Dimension2D size) |
void |
setFrame(Rectangle2D r) |
void |
setFrameFromCenter(double centerX,
double centerY,
double cornerX,
double cornerY) |
void |
setFrameFromCenter(Point2D center,
Point2D corner) |
void |
setFrameFromDiagonal(double x1,
double y1,
double x2,
double y2) |
void |
setFrameFromDiagonal(Point2D p1,
Point2D p2) |
void |
unsetOwner() |
getAngleExtent, getAngleStart, getHeight, getWidth, getX, getY, isEmpty, makeBoundscontains, contains, contains, containsAngle, equals, getArcType, getBounds2D, getEndPoint, getPathIterator, getStartPoint, hashCode, intersectscontains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, getPathIterator, intersectsprotected transient org.datanucleus.state.ObjectProvider ownerOP
protected transient String fieldName
public Arc2dDouble(org.datanucleus.state.ObjectProvider ownerSM,
org.datanucleus.metadata.AbstractMemberMetaData mmd)
ownerSM - the owning objectmmd - Metadata for the memberpublic void initialise(Object value, boolean forInsert, boolean forUpdate) throws ClassCastException
initialise in interface org.datanucleus.store.types.SCOClassCastExceptionpublic void initialise()
initialise in interface org.datanucleus.store.types.SCOpublic Object getValue()
getValue in interface org.datanucleus.store.types.SCOpublic void unsetOwner()
unsetOwner in interface org.datanucleus.store.types.SCOpublic Object getOwner()
getOwner in interface org.datanucleus.store.types.SCOpublic String getFieldName()
getFieldName in interface org.datanucleus.store.types.SCOpublic void makeDirty()
public Object detachCopy(org.datanucleus.state.FetchPlanState state)
detachCopy in interface org.datanucleus.store.types.SCOpublic void attachCopy(Object value)
attachCopy in interface org.datanucleus.store.types.SCOpublic Object clone()
Mutable second-class Objects are required to provide a public clone method in order to allow for copying persistable objects. In contrast to Object.clone(), this method must not throw a CloneNotSupportedException.
clone in interface org.datanucleus.store.types.SCOclone in class RectangularShapepublic void setArc(double x,
double y,
double w,
double h,
double angSt,
double angExt,
int closure)
setArc in class Arc2D.Doublepublic void setAngleStart(double angSt)
setAngleStart in class Arc2D.Doublepublic void setAngleExtent(double angExt)
setAngleExtent in class Arc2D.Doublepublic void setArc(Point2D loc, Dimension2D size, double angSt, double angExt, int closure)
public void setArc(Rectangle2D rect, double angSt, double angExt, int closure)
public void setArcByCenter(double x,
double y,
double radius,
double angSt,
double angExt,
int closure)
setArcByCenter in class Arc2Dpublic void setArcByTangent(Point2D p1, Point2D p2, Point2D p3, double radius)
setArcByTangent in class Arc2Dpublic void setAngleStart(Point2D p)
setAngleStart in class Arc2Dpublic void setAngles(double x1,
double y1,
double x2,
double y2)
public void setArcType(int type)
setArcType in class Arc2Dpublic void setFrame(double x,
double y,
double w,
double h)
public void setFrame(Point2D loc, Dimension2D size)
setFrame in class RectangularShapepublic void setFrame(Rectangle2D r)
setFrame in class RectangularShapepublic void setFrameFromDiagonal(double x1,
double y1,
double x2,
double y2)
setFrameFromDiagonal in class RectangularShapepublic void setFrameFromDiagonal(Point2D p1, Point2D p2)
setFrameFromDiagonal in class RectangularShapepublic void setFrameFromCenter(double centerX,
double centerY,
double cornerX,
double cornerY)
setFrameFromCenter in class RectangularShapepublic void setFrameFromCenter(Point2D center, Point2D corner)
setFrameFromCenter in class RectangularShapeCopyright © 2015. All rights reserved.