|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjfig.objects.FigBaseobject
jfig.objects.FigEllipse
hades.symbols.Circle
Circle: used for circles on SimObject symbols.
This class is realized as a subclass of FigEllipse with specific attributes: layer 15, color green, no fill
Field Summary |
Fields inherited from class jfig.objects.FigEllipse |
|
Fields inherited from class jfig.objects.FigBaseobject |
attribs, bbox, comment, debug, painter, printer, sc_bbox, sc_bbox_timestamp, selected, showPoints, syncRedrawFlag, timestamp, trafo, visible, x, y |
Constructor Summary | |
Circle()
construct an empty Circle. |
Method Summary | |
protected void |
build_attribs()
|
void |
checkColorSource()
|
FigObject |
copy()
build a copy of this FigEllipse object. |
boolean |
initialize(java.lang.String s)
initialize an Circle from a String. |
void |
paint(java.awt.Graphics g)
paint() this object. |
void |
paint(java.awt.Graphics g,
FigTrafo2D trafo)
paint this object using the specified transformation and Graphics g |
void |
setColorSource(ColorSource cs)
|
java.lang.String |
toString()
toString() - the usual info method |
void |
writeAsResource(java.io.PrintWriter ps)
default implementation of 'writeAsResource'. |
Methods inherited from class jfig.objects.FigEllipse |
appendPoint, canRotate, createRenderer, deletePoint, getCenterPoint, getMovePointNeighbors, getNearestPoint, getNeighborPoints, getPoints, getRadiusPoint, insertPoint, isClosed, minDistance, mirrorX, mirrorY, move, movePoint, rebuild, rotate, setAttributes, setCenterAndRadius, setFillColor, setFillStyle, setLayer, setLineColor, setLineStyle, setLineWidth, setPoints, setTrafo, supportsPointOps, update |
Methods inherited from class jfig.objects.FigBaseobject |
build_sc_bbox, clonePoints, deselect, get_sc_bbox, getAttributes, getBbox, getComment, getLayer, getPosition, getSyncRedrawFlag, getText, getTimestamp, getTrafo, isSelected, isShowPoints, isVisible, isVisible, keyPressed, manhattan, message, minDistanceEuclid, numPoints, paintSave, reset_debug, scale, select, set_debug, setComment, setConsole, setObjectPainter, setSyncRedrawFlag, setText, setVisible, showPoints, updateAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Circle()
Method Detail |
public boolean initialize(java.lang.String s)
The method returns true once all required values have been read.
initialize
in interface FigObject
initialize
in class FigBaseobject
protected void build_attribs()
public void writeAsResource(java.io.PrintWriter ps)
FigBaseobject
writeAsResource
in interface FigObject
writeAsResource
in class FigBaseobject
public FigObject copy()
FigEllipse
copy
in interface FigObject
copy
in class FigEllipse
public void setColorSource(ColorSource cs)
public void paint(java.awt.Graphics g)
FigBaseobject
paint
in interface FigObject
paint
in class FigEllipse
public void paint(java.awt.Graphics g, FigTrafo2D trafo)
FigDrawable
paint
in interface FigObject
paint
in class FigBaseobject
public void checkColorSource()
public java.lang.String toString()
toString
in interface FigObject
toString
in class FigEllipse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |