|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfig.objects.FigBaseobject
jfig.objects.FigCompound
hades.symbols.FigWrapper
FigWrapper: a class to include FIG (3.x) files into HADES symbols. This class is realized as a subclass of FigCompound, with default layer 85 (quite deep, but above the BboxRectangles).
| Field Summary | |
boolean |
debug
|
static int |
FIG_LAYER
|
| Fields inherited from class jfig.objects.FigCompound |
|
| Fields inherited from class jfig.objects.FigBaseobject |
attribs, bbox, comment, painter, printer, sc_bbox, sc_bbox_timestamp, selected, showPoints, syncRedrawFlag, timestamp, trafo, visible, x, y |
| Constructor Summary | |
FigWrapper()
construct an empty FigWrapper. |
|
| Method Summary | |
void |
consoleMessage(java.lang.String msg)
|
FigObject |
copy()
The copy() method for a compound object. |
boolean |
initialize(java.lang.String s)
initialize an FigWrapper from a String. |
void |
parseFigFile(java.lang.String filename)
|
void |
setLayer(int layer)
|
void |
setSimObject(SimObject parent)
|
java.lang.String |
toString()
toString() - the usual info method |
void |
update_bbox()
calculate a new bounding box for this compound object. |
void |
writeAsResource(java.io.PrintWriter ps)
default implementation of 'writeAsResource'. |
| Methods inherited from class jfig.objects.FigCompound |
addMember, canRotate, changeLayerRecursively, deleteAllMembers, deleteMember, fastAddMember, getMembers, isMember, minDistanceEuclid, mirrorX, mirrorY, move, paint, paint, paintInverse, paintSave, rebuild, rotate, scale, setObjectPainter, setTrafo, setVisible, update |
| Methods inherited from class jfig.objects.FigBaseobject |
appendPoint, build_sc_bbox, clonePoints, deletePoint, deselect, get_sc_bbox, getAttributes, getBbox, getComment, getLayer, getMovePointNeighbors, getNearestPoint, getNeighborPoints, getPoints, getPosition, getSyncRedrawFlag, getText, getTimestamp, getTrafo, insertPoint, isClosed, isSelected, isShowPoints, isVisible, isVisible, keyPressed, manhattan, message, minDistance, movePoint, numPoints, paint, reset_debug, select, set_debug, setAttributes, setComment, setConsole, setPoints, setSyncRedrawFlag, setText, showPoints, supportsPointOps |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public boolean debug
public static final int FIG_LAYER
| Constructor Detail |
public FigWrapper()
| Method Detail |
public void setLayer(int layer)
public void setSimObject(SimObject parent)
public boolean initialize(java.lang.String s)
initialize in interface FigObjectinitialize in class FigBaseobjectpublic void update_bbox()
FigCompoundThis method is public to allow the FIG3.1 parser efficient parsing of (possibly nested) compound objects.
update_bbox in class FigCompoundFigParserpublic void parseFigFile(java.lang.String filename)
public void writeAsResource(java.io.PrintWriter ps)
FigBaseobject
writeAsResource in interface FigObjectwriteAsResource in class FigBaseobjectpublic FigObject copy()
FigCompoundTo get the xfig copy behaviour, the editor may combine copy() with a subsequent move().
copy in interface FigObjectcopy in class FigCompoundpublic void consoleMessage(java.lang.String msg)
consoleMessage in interface ConsoleMessagepublic java.lang.String toString()
toString in interface FigObjecttoString in class FigCompound
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||