public class IlvMakeRoundRectangleInteractor extends IlvMakeRectangleInteractor implements IlvRectangularObjectFactory
IlvRectangle
with rounded corners.
Warning: This interactor now creates instances of
IlvRectangle
with round corners instead of
IlvRoundRectangle
instances.Constructor and Description |
---|
IlvMakeRoundRectangleInteractor()
Creates and initializes the interactor.
|
Modifier and Type | Method and Description |
---|---|
IlvGraphic |
createObject(IlvRect rect)
Creates the
IlvRoundRectangle . |
int |
getRadius()
Returns the radius that is used to create the object.
|
void |
setRadius(int radius)
Changes the radius used to create the object.
|
addObject, detach, drawGhost, fireRectangleDraggedEvent, getBackground, getForeground, getObjectFactory, isCreationInSubManagersAllowed, isFillOn, isGrapherMode, isPermanent, isSelectionMode, isStrokeOn, isXORGhost, makeObject, resizeObject, setBackground, setCreationInSubManagersAllowed, setFillOn, setForeground, setGrapherMode, setObjectFactory, setPermanent, setSelectionMode, setStrokeOn
addRectangleDraggedListener, attach, dragscroll, getCursor, getDraggedRectangle, getLineStyle, getRectangleAspectRatio, getStartDragModifier, getStartPoint, handleButtonDown, handleButtonDragged, handleButtonUp, isGridMode, isOpaqueMode, isRotationAllowed, isStartDragModifierDown, processMouseEvent, processMouseMotionEvent, removeRectangleDraggedListener, setCursor, setGridMode, setLineStyle, setOpaqueMode, setRectangleAspectRatio, setRotationAllowed, setStartDragModifier
adjustPointIfOutsideView, doAutoScroll, getMaximumScrollDistance, getScrollTiming, isProgressiveScroll, setMaximumScrollDistance, setProgressiveScroll, setScrollTiming, startDraggingScrollTimer, stopDraggingScrollTimer
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, disableEvents, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, processEvent, processFocusEvent, processKeyEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
public IlvMakeRoundRectangleInteractor()
public void setRadius(int radius)
radius
- the new radius.public int getRadius()
public IlvGraphic createObject(IlvRect rect)
IlvRoundRectangle
.
This method is called by the interactor to create the round rectangle.createObject
in interface IlvRectangularObjectFactory
rect
- the rectangle defining the object.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.