|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.umd.cs.piccolo.PNode edu.umd.cs.piccolo.nodes.PPath edu.umd.cfar.lamp.viper.gui.canvas.AttributablePPathAdapter edu.umd.cfar.lamp.viper.gui.canvas.PBoxNode edu.umd.cfar.lamp.viper.gui.data.bbox.BboxNode
Visual representation of aligned bounding boxes
Field Summary |
Fields inherited from class edu.umd.cfar.lamp.viper.gui.canvas.PBoxNode |
attr, mediator |
Fields inherited from class edu.umd.cs.piccolo.nodes.PPath |
PROPERTY_PATH, PROPERTY_STROKE, PROPERTY_STROKE_PAINT |
Fields inherited from class edu.umd.cs.piccolo.PNode |
PROPERTY_BOUNDS, PROPERTY_CHILDREN, PROPERTY_CHILDREN_PICKABLE, PROPERTY_CLIENT_PROPERTIES, PROPERTY_FULL_BOUNDS, PROPERTY_PAINT, PROPERTY_PARENT, PROPERTY_PICKABLE, PROPERTY_TRANSFORM, PROPERTY_TRANSPARENCY, PROPERTY_VISIBLE |
Fields inherited from interface java.awt.print.Printable |
NO_SUCH_PAGE, PAGE_EXISTS |
Constructor Summary | |
BboxNode(ViperViewMediator mediator)
|
Method Summary | |
void |
bold(CanvasDir dir)
|
void |
clear()
Makes all bolding "blank" so it doesn't highlight |
double |
getBoxHeight()
Can't use getWidth() since PNode already defines it |
java.awt.geom.Point2D[] |
getBoxPts()
|
double |
getBoxWidth()
Can't use getWidth() since PNode already defines it |
java.awt.geom.Point2D |
getCenterPt()
|
java.lang.Object |
getUpdatedAttribute()
synchronize the PNode with the Attribute |
java.awt.geom.Point2D |
getUpperLeftPt()
|
protected void |
resetStyle()
Called by the setDisplayProperties methods, and whenever the style needs changing. |
void |
setBbox(double topLeftX,
double topLeftY,
double widthIn,
double heightIn)
|
void |
setBbox(java.awt.geom.Point2D topLeft,
double widthIn,
double heightIn)
|
void |
setCenterBolded(boolean b)
Turns on/off the center highlight, indicating the middle of the box. |
void |
setCornerRadius(int val)
|
void |
setPath(BoxInformation box)
|
void |
setUpperLeft(double x,
double y)
|
void |
setUpperLeft(java.awt.geom.Point2D topLeft)
|
void |
setWidthAndHeight(double widthIn,
double heightIn)
|
void |
unbold()
|
void |
updateBbox()
|
Methods inherited from class edu.umd.cfar.lamp.viper.gui.canvas.PBoxNode |
getAttribute, setAttribute |
Methods inherited from class edu.umd.cfar.lamp.viper.gui.canvas.AttributablePPathAdapter |
getDisplayProperties, getHandleDisplayProperties, getHighlightDisplayProperties, setDisplayProperties, setHandleDisplayProperties, setHighlightDisplayProperties |
Methods inherited from class edu.umd.cs.piccolo.nodes.PPath |
append, closePath, createEllipse, createPolyline, createPolyline, createRectangle, curveTo, endResizeBounds, getPathBoundsWithStroke, getPathReference, getStroke, getStrokePaint, intersects, lineTo, moveTo, paint, paramString, quadTo, reset, setBounds, setPathTo, setPathToEllipse, setPathToPolyline, setPathToPolyline, setPathToRectangle, setStroke, setStrokePaint, startResizeBounds, updateBoundsFromPath |
Methods inherited from class edu.umd.cs.piccolo.PNode |
addActivity, addChild, addChild, addChildren, addClientProperty, addInputEventListener, addPropertyChangeListener, addPropertyChangeListener, animateToBounds, animateToColor, animateToPositionScaleRotation, animateToTransform, animateToTransparency, centerBoundsOnPoint, centerFullBoundsOnPoint, clone, computeFullBounds, firePropertyChange, fullIntersects, fullPaint, fullPick, getAllNodes, getAllNodes, getBounds, getBoundsChanged, getBoundsReference, getBoundsVolatile, getChild, getChildBoundsInvalid, getChildBoundsVolatile, getChildPaintInvalid, getChildrenCount, getChildrenIterator, getChildrenPickable, getChildrenReference, getClientProperty, getClientPropertyKeysIterator, getFullBounds, getFullBoundsInvalid, getFullBoundsReference, getGlobalFullBounds, getGlobalRotation, getGlobalScale, getGlobalToLocalTransform, getGlobalTranslation, getHeight, getInverseTransform, getListenerList, getLocalToGlobalTransform, getOccluded, getOffset, getPaint, getPaintInvalid, getParent, getPickable, getRoot, getRotation, getScale, getTransform, getTransformReference, getTransparency, getUnionOfChildrenBounds, getVisible, getWidth, getX, getXOffset, getY, getYOffset, globalToLocal, globalToLocal, globalToLocal, indexOfChild, invalidateFullBounds, invalidateLayout, invalidatePaint, isAncestorOf, isDescendentOf, isDescendentOfRoot, isOpaque, layoutChildren, lerp, localToGlobal, localToGlobal, localToGlobal, localToParent, localToParent, localToParent, moveToBack, moveToBack, moveToFront, moveToFront, offset, paintAfterChildren, parentBoundsChanged, parentToLocal, parentToLocal, parentToLocal, pick, pickAfterChildren, position, print, print, removeAllChildren, removeChild, removeChild, removeChildren, removeFromParent, removeInputEventListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaintFrom, reparent, replaceWith, resetBounds, rotate, rotateAboutPoint, rotateAboutPoint, rotateInPlace, scale, scaleAboutPoint, scaleAboutPoint, setBounds, setBoundsChanged, setChildBoundsInvalid, setChildBoundsVolatile, setChildPaintInvalid, setChildrenPickable, setFullBoundsInvalid, setGlobalRotation, setGlobalScale, setGlobalTranslation, setHight, setOccluded, setOffset, setOffset, setPaint, setPaintInvalid, setParent, setPickable, setRotation, setScale, setTransform, setTransparency, setVisible, setWidth, setX, setY, signalBoundsChanged, toImage, toImage, toString, transformBy, translate, validateFullBounds, validateFullPaint |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.umd.cfar.lamp.viper.gui.canvas.datatypes.Attributable |
getAttribute, setAttribute, setDisplayProperties, setHandleDisplayProperties, setHighlightDisplayProperties |
Constructor Detail |
public BboxNode(ViperViewMediator mediator)
Method Detail |
protected void resetStyle()
AttributablePPathAdapter
resetStyle
in class AttributablePPathAdapter
public java.awt.geom.Point2D[] getBoxPts()
getBoxPts
in class PBoxNode
public java.awt.geom.Point2D getUpperLeftPt()
public double getBoxWidth()
getBoxWidth
in class PBoxNode
public double getBoxHeight()
getBoxHeight
in class PBoxNode
public void setWidthAndHeight(double widthIn, double heightIn)
public void setBbox(double topLeftX, double topLeftY, double widthIn, double heightIn)
public void setBbox(java.awt.geom.Point2D topLeft, double widthIn, double heightIn)
public void setUpperLeft(java.awt.geom.Point2D topLeft)
public void setUpperLeft(double x, double y)
public void setPath(BoxInformation box)
setPath
in class PBoxNode
public void updateBbox()
public java.lang.Object getUpdatedAttribute()
Attributable
getUpdatedAttribute
in interface Attributable
public void setCornerRadius(int val)
public void bold(CanvasDir dir)
bold
in class PBoxNode
public void setCenterBolded(boolean b)
setCenterBolded
in class PBoxNode
b
- public void unbold()
unbold
in class PBoxNode
public void clear()
public java.awt.geom.Point2D getCenterPt()
getCenterPt
in class PBoxNode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |