public class IlvHyperEdgePinConnectorSelection extends IlvSelection
IlvHyperEdgeConnector
,
Serialized FormConstructor and Description |
---|
IlvHyperEdgePinConnectorSelection(IlvGraphic obj)
Creates a new selection object.
|
Modifier and Type | Method and Description |
---|---|
IlvRect |
boundingBox(IlvTransformer t)
Returns the bounding box of the selection object.
|
boolean |
contains(IlvPoint p,
IlvPoint tp,
IlvTransformer t)
Test if the specified point is inside a handle.
|
void |
draw(Graphics dst,
IlvTransformer t)
Draws the object.
|
String |
getDefaultInteractor()
Returns the default interactor.
|
boolean |
isPinDraggingAllowed()
Returns whether it is allowed to drag a selected pin.
|
void |
selectAllPins(boolean selected,
boolean redraw)
Selects or deselects all pins.
|
static void |
SetDefaultInteractor(String interactor)
This method allows to change the default interactor for instances
of this class.
|
void |
setGraphicBag(IlvGraphicBag bag)
Sets the graphic bag of this object.
|
void |
setPinDraggingAllowed(boolean flag)
Sets whether it is allowed to drag a selected pin.
|
void |
setPinSelected(IlvHyperGrapherPin pin,
boolean selected,
boolean redraw)
Sets a pin selected.
|
boolean |
zoomable()
Returns
false , this object is not
zoomable. |
applyTransform, copy, getObject, isOptimizedDrawingEnabled, isVisible, onEnter, onExit
addActionListener, addNamedPropertyListener, allViewsRemoved, baseTextDirectionChanged, blinkingStateOn, boundingBox, callDraw, componentOrientationChanged, getAndAssociateObjectInteractor, getBaseTextDirection, getBlinkingAction, getBlinkingObjectOwner, getBlinkingOffPeriod, getBlinkingOnPeriod, getCenter, getComponentOrientation, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getLocale, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getResolvedBaseTextDirection, getToolTipBaseTextDirection, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, getULocale, getZOrderIndex, hasProperty, inside, intersects, invalidateBBoxCache, invalidateBidiCache, isBaseTextDirectionSensitive, isComponentOrientationSensitive, isDataFlavorSupported, isEditable, isInApplyToObject, isLocaleSensitive, isMovable, isPersistent, isSelectable, localeChanged, makeSelection, move, move, moveResize, needsViewNotification, notifyObjectInteractorToManager, processActionEvent, reDraw, registerBlinkingResource, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setBaseTextDirection, setBaseTextDirectionDuringConstruction, setBlinkingAction, setBlinkingOffPeriod, setBlinkingOnPeriod, setEditable, setFillOn, setForeground, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipBaseTextDirection, setToolTipText, setVisible, setZOrderIndex, toString, translate, updateNeedsViewNotification, usesBidiMarkers, viewAddedOrRemoved, write
public IlvHyperEdgePinConnectorSelection(IlvGraphic obj)
obj
- the selected object.public void setPinDraggingAllowed(boolean flag)
isPinDraggingAllowed()
public boolean isPinDraggingAllowed()
setPinDraggingAllowed(boolean)
public void setGraphicBag(IlvGraphicBag bag)
setGraphicBag
in class IlvGraphic
bag
- The graphic bag to contain this graphic object.IlvGraphic
public void setPinSelected(IlvHyperGrapherPin pin, boolean selected, boolean redraw)
pin
- The pin that is selected.selected
- Whether to select or deselect the pin.redraw
- Whether to redraw the manager.public void selectAllPins(boolean selected, boolean redraw)
selected
- Whether to select or deselect all pins.redraw
- Whether to redraw the manager.public boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
contains
in class IlvGraphic
p
- The point to be tested.tp
- The point p
transformed by the transformer
t
.t
- The transformation used to draw the object.true
if the point lies inside this graphic object.IlvGraphic
public void draw(Graphics dst, IlvTransformer t)
draw
in class IlvGraphic
dst
- The destination Graphics
instance.t
- The transformation used to draw the object.IlvGraphic.callDraw(Graphics,IlvTransformer)
,
IlvGraphic.boundingBox(IlvTransformer)
,
IlvGraphic.zoomable()
,
IlvGraphic
public boolean zoomable()
false
, this object is not
zoomable.zoomable
in class IlvGraphic
IlvGraphic
,
IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer)
,
IlvGraphic.boundingBox(IlvTransformer)
,
IlvManager
public IlvRect boundingBox(IlvTransformer t)
boundingBox
in class IlvGraphic
t
- The transformer used to draw the object. If the
transformer is null
, the bounding box for the
identity transformer is returned.IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer)
,
IlvGraphic.zoomable()
,
IlvGraphic
public String getDefaultInteractor()
SetDefaultInteractor
it is an instance of
ilog.views.siemens.hypergraph.IlvHyperEdgeConnectorEdition.getDefaultInteractor
in class IlvSelection
SetDefaultInteractor(java.lang.String)
public static void SetDefaultInteractor(String interactor)
interactor
- the new interactorgetDefaultInteractor()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.