|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.tigris.gef.presentation.Fig
|
+--org.tigris.gef.presentation.FigPoly
|
+--com.bonevich.erj.diagram.FigRectiline
Overrides FigPoly to provide a simpler, more robust rectilinear polyline.
| Field Summary |
| Fields inherited from class org.tigris.gef.presentation.FigPoly |
_fixedHandles, _isComplete, _isSelfLoop, _npoints, _rectilinear, _xpoints, _ypoints, FUDGEFACTOR |
| Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE |
| Constructor Summary | |
FigRectiline()
Construct a new FigRectiline. |
|
FigRectiline(java.awt.Color lineColor)
Construct a new FigRectiline with the given line color. |
|
FigRectiline(java.awt.Color lineColor,
java.awt.Color fillColor)
Construct a new FigRectiline with the given line color and fill color. |
|
FigRectiline(int x,
int y)
Construct a new FigRectiline with the given point. |
|
| Method Summary | |
void |
cleanUp()
No-op override of superclass cleanUp. |
boolean |
getRectilinear()
Always returns true. |
void |
moveVertex(org.tigris.gef.presentation.Handle h,
int x,
int y,
boolean ov)
Move the point indicated by the given Handle object to the given location. |
void |
setRectilinear(boolean r)
Set the rectilinear flag. |
| Methods inherited from class org.tigris.gef.presentation.FigPoly |
addPoint, addPoint, appendTwoPoints, calcBounds, canMoveVertex, clone, contains, countCornersContained, drawDashedPerimeter, findHandle, getClosestPoint, getFirstPoint, getFixedHandles, getGravityPoints, getLastPoint, getNumPoints, getPerimeterLength, getPoints, getPointsVector, getPointsVectorNotFirst, getPolygon, getXs, getYs, growIfNeeded, hit, insertPoint, isReshapable, isResizable, isRotatable, isSelfLoop, OK, paint, prependTwoPoints, removePoint, setBounds, setEndPoints, setFixedHandles, setPoints, setPolygon, setSelfLoop, stuffPointAlongPerimeter, translate |
| Methods inherited from class org.tigris.gef.presentation.Fig |
addAnnotation, addPropertyChangeListener, align, center, classNameAndBounds, connectionPoint, contains, contains, createDrag, damage, delete, dispose, drawDashedLine, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getOwner, getPoints, getPopUpActions, getPreferedSize, getPrivateData, getResource, getSize, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getY, initAnnotations, intersects, isAnnotation, isDisplayed, isLowerRightResizable, isMovable, makeSelection, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, removeAnnotation, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setCenter, setContext, setDashed, setDashedString, setDisplayed, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLineColor, setLineWidth, setLocation, setLocation, setLocked, setNumPoints, setOwner, setPoints, setPoints, setPoints, setPoints, setPrivateData, setResource, setSavingAllowed, setSize, setSize, setVisState, setWidth, setX, setXs, setY, setYs, startTrans, stuffBounds, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FigRectiline()
public FigRectiline(java.awt.Color lineColor)
public FigRectiline(java.awt.Color lineColor,
java.awt.Color fillColor)
public FigRectiline(int x,
int y)
| Method Detail |
public boolean getRectilinear()
getRectilinear in class org.tigris.gef.presentation.FigPolypublic void setRectilinear(boolean r)
setRectilinear in class org.tigris.gef.presentation.FigPoly
public void moveVertex(org.tigris.gef.presentation.Handle h,
int x,
int y,
boolean ov)
moveVertex in class org.tigris.gef.presentation.FigPolypublic void cleanUp()
cleanUp in class org.tigris.gef.presentation.FigPoly
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||