|
||||||||||
| 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.SolderDot
SolderDot: display solder dots on signals in HADES schematics.
This class is realized as a subclass of FigEllipse with specific attributes: layer 15, color blue.
During simulation in 'glow mode' 'a la DIGLOG, the color of SolderDots will correspond to the logical value on its Signal.
| 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 | |
SolderDot()
construct an empty SolderDot. |
|
SolderDot(Signal signal,
java.awt.Point position)
|
|
| Method Summary | |
protected void |
build_attribs()
|
Signal |
getSignal()
return a reference to the Signal this SolderDot belongs to (if any) |
boolean |
initialize(java.lang.String s)
initialize an SolderDot from a String. |
void |
move(int dx,
int dy)
method stub for the move() method |
void |
paint(java.awt.Graphics g)
paint this SolderDot. |
void |
paint(java.awt.Graphics g,
FigTrafo2D trafo)
paint this object using the specified transformation and Graphics g |
void |
setColorSource(ColorSource _colorSource)
|
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, copy, createRenderer, deletePoint, getCenterPoint, getMovePointNeighbors, getNearestPoint, getNeighborPoints, getPoints, getRadiusPoint, insertPoint, isClosed, minDistance, mirrorX, mirrorY, movePoint, rebuild, rotate, setAttributes, setCenterAndRadius, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SolderDot()
public SolderDot(Signal signal,
java.awt.Point position)
| Method Detail |
public Signal getSignal()
public boolean initialize(java.lang.String s)
initialize in interface FigObjectinitialize in class FigBaseobjectprotected void build_attribs()
public void writeAsResource(java.io.PrintWriter ps)
FigBaseobject
writeAsResource in interface FigObjectwriteAsResource in class FigBaseobject
public void move(int dx,
int dy)
FigBaseobject
move in interface FigObjectmove in class FigEllipsepublic void setColorSource(ColorSource _colorSource)
public void paint(java.awt.Graphics g)
paint in interface FigObjectpaint in class FigEllipse
public void paint(java.awt.Graphics g,
FigTrafo2D trafo)
FigDrawable
paint in interface FigObjectpaint in class FigBaseobjectpublic java.lang.String toString()
toString in interface FigObjecttoString in class FigEllipse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||