hades.symbols
Class HighlightRectangle

java.lang.Object
  extended byjfig.objects.FigBaseobject
      extended byjfig.objects.FigRectangle
          extended byhades.symbols.Rectangle
              extended byhades.symbols.HighlightRectangle
All Implemented Interfaces:
FigDrawable, FigObject, java.io.Serializable

public class HighlightRectangle
extends Rectangle
implements java.io.Serializable

HighlightRectangle: a rectangle to mark highlighted objects. This object will be shown at the topmost layer!

See Also:
Serialized Form

Field Summary
protected  java.awt.Color color
           
protected  java.awt.Point position
           
 
Fields inherited from class jfig.objects.FigRectangle
pixel_width, radius, renderer, use_rounded_corners
 
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
HighlightRectangle()
          construct an empty HighlightRectangle.
 
Method Summary
protected  void build_attribs()
           
 FigObject copy()
          make a copy of this object and return the reference to the copy.
 void setColor(java.awt.Color _color)
           
 void setPointsFromBoundingBox(FigBbox bbox)
           
 java.lang.String toString()
          toString() - the usual info method
 
Methods inherited from class hades.symbols.Rectangle
checkColorSource, initialize, paint, paint, setColorSource, writeAsResource
 
Methods inherited from class jfig.objects.FigRectangle
appendPoint, canRotate, createRenderer, deletePoint, getMovePointNeighbors, getNearestPoint, getNeighborPoints, getPoints, insertPoint, isClosed, isRounded, minDistance, minDistanceEuclid, mirrorX, mirrorY, move, movePoint, paintSave, rebuild, setAttributes, setFillColor, setFillStyle, setLayer, setLineColor, setLineStyle, setLineWidth, setPoints, 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, numPoints, reset_debug, rotate, scale, select, set_debug, setComment, setConsole, setObjectPainter, setSyncRedrawFlag, setText, setTrafo, setVisible, showPoints, updateAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

position

protected java.awt.Point position

color

protected java.awt.Color color
Constructor Detail

HighlightRectangle

public HighlightRectangle()
construct an empty HighlightRectangle.

Method Detail

build_attribs

protected void build_attribs()
Overrides:
build_attribs in class Rectangle

setColor

public void setColor(java.awt.Color _color)

setPointsFromBoundingBox

public void setPointsFromBoundingBox(FigBbox bbox)

copy

public FigObject copy()
Description copied from class: FigRectangle
make a copy of this object and return the reference to the copy.

Specified by:
copy in interface FigObject
Overrides:
copy in class Rectangle

toString

public java.lang.String toString()
toString() - the usual info method

Specified by:
toString in interface FigObject
Overrides:
toString in class Rectangle