au.edu.swin.synergy.shapes
Class BRoundRect
java.lang.Object
|
+--au.edu.swin.synergy.plugin.diagram.BDrawable
|
+--au.edu.swin.synergy.shapes.BRectShape
|
+--au.edu.swin.synergy.shapes.BRoundRect
- public class BRoundRect
- extends BRectShape
- implements BSaveable
- See Also:
- Serialized Form
Fields inherited from class au.edu.swin.synergy.shapes.BRectShape |
doFill,
doOutline,
fillColour,
kDefaultDoFill,
kDefaultDoOutline,
kDefaultFillColor,
kDefaultLineColor,
kDefaultOutlineColor,
kDefaultShapeStyle,
kDefaultStrokeCap,
kDefaultStrokeJoin,
kDefaultStrokeLimit,
kDefaultStrokePhase,
kDefaultStrokeWidth,
kDefaultUseFillColor,
kDefaultUseOutlineColor,
kKeyDoFill,
kKeyDoOutline,
kKeyFillColor,
kKeyLineColor,
kKeyOutlineColor,
kKeyShapeStyle,
kKeyStrokeCap,
kKeyStrokeDash,
kKeyStrokeJoin,
kKeyStrokeLimit,
kKeyStrokePhase,
kKeyStrokeWidth,
kKeyUseFillColor,
kKeyUseOutlineColor,
lineColour,
lineSize,
local,
outlineColour,
shapeStyle,
sizerNum,
stroke,
tmpXformed,
useFillColour,
useOutlineColour,
xformed |
Fields inherited from class au.edu.swin.synergy.plugin.diagram.BDrawable |
bounds,
iconOOZ,
kBackward,
kDefaultName,
kDefaultStatus,
kEmptyFlag,
kForward,
kHighlightFlag,
kHitBounds,
kHitSizer,
kKeyName,
kKeyStatus,
kNotHit,
kSelectedFlag,
kSizerCtrlPoint1,
kSizerCtrlPoint2,
kSizerEndArc,
kSizerHalfH,
kSizerHalfW,
kSizerNorthEast,
kSizerNorthWest,
kSizerSouthEast,
kSizerSouthWest,
kSizerStartArc,
lastFrame,
name,
paintCount,
pos,
sizerColour,
statusFlag,
tmpBounds |
Methods inherited from class au.edu.swin.synergy.shapes.BRectShape |
checkSizerHit,
checkXFormBounds,
copy,
dragAdd,
dragResize,
getFillColour,
getLineColour,
getPropertyPanel,
getStroke,
getStyle,
paintIcon,
render,
renderOutlineAndSizers,
renderRect,
renderRectShape,
setDoFill,
setFillColour,
setHighlighted,
setLineColour,
setLocalBounds,
setLocalWH,
setLocalXY,
setOutlineColour,
setSelected,
setStroke,
setStyle,
startAdd,
startResize,
stopAdd,
stopResize,
transform,
updateBounds |
Methods inherited from class au.edu.swin.synergy.plugin.diagram.BDrawable |
checkXFormHit,
contains,
continueAdd,
copy,
delete,
doPasted,
dragMove,
getBasicStroke,
getBounds,
getColour,
getIconHeight,
getIconWidth,
getPos,
incPos,
intersects,
isDeletable,
isHighlighted,
isInside,
isSelected,
isStatusFlag,
isTransformed,
setFlag,
setName,
setPos,
setPos,
snapToGrid,
startMove,
stopMove,
toString |
kName
public static final String kName
kKeyX
protected static final String kKeyX
- loads a round rect form a data file
kDefaultX
protected static final String kDefaultX
kKeyY
protected static final String kKeyY
kDefaultY
protected static final String kDefaultY
BRoundRect
public BRoundRect(int x,
int y,
int w,
int h)
BRoundRect
public BRoundRect()
BRoundRect
protected BRoundRect(BRoundRect rect)
renderFill
public void renderFill(Graphics2D g2)
- Overrides:
- renderFill in class BRectShape
renderShape
public void renderShape(Graphics2D g2)
- Renders the transformed coordinates of the drawable
object to a Graphics2D
- Parameters:
Graphics2D
- g2 - the place to render the object to.- Overrides:
- renderShape in class BRectShape
newInstance
public BDrawable newInstance()
- Creates and returns a new instance of the BDrawable object
- Returns:
- a new instance of this BDrawable object.
- Overrides:
- newInstance in class BRectShape
getName
public String getName()
- Returns the name of this drawable object
- Returns:
- String - the name of the object..
- Overrides:
- getName in class BDrawable
load
public boolean load(BDataFile file)
- Specified by:
- load in interface BSaveable
- Overrides:
- load in class BRectShape
save
public boolean save(BDataFile file)
- saves a round rect to a data file
- Specified by:
- save in interface BSaveable
- Parameters:
file
- the file to save the round rect to- Overrides:
- save in class BRectShape