Package | Description |
---|---|
com.yworks.yfiles.graph |
Definitions, default implementations, and support classes that represent graph structures and provide facilities for their programmatic modification.
|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.hierarchic |
Provides hierarchic layout style algorithms.
|
com.yworks.yfiles.view |
Contains the main UI classes, interfaces, default implementations and support classes that can be used to display
IGraph instances. |
com.yworks.yfiles.view.input |
Contains definitions, default implementations, and support classes that deal with the user interaction in a
CanvasControl in general, as well as specialized utility classes and IInputMode implementations that can be used to work with and edit IGraph instances in a GraphControl . |
Modifier and Type | Interface and Description |
---|---|
interface |
IBend
|
interface |
IColumn
Interface that describes a column in a
ITable instance. |
interface |
IEdge
The interface used to model edges in an
IGraph implementation. |
interface |
ILabel
The interface used in an
IGraph implementation for labels. |
interface |
ILabelOwner
|
interface |
INode
The interface for node entities in an
IGraph . |
interface |
IPort
|
interface |
IPortOwner
|
interface |
IRow
Interface that describes a row in a
ITable instance. |
interface |
IStripe
This interface defines a child element of a table or a table element container.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleBend
A simple mutable implementation of the
IBend interface that can be used stand-alone. |
class |
SimpleEdge
A simple mutable implementation of the
IEdge interface that can be used stand-alone. |
class |
SimpleLabel
A simple mutable implementation of the
ILabel interface that can be used stand-alone. |
class |
SimpleNode
A simple mutable implementation of the
INode interface that can be used stand-alone. |
class |
SimplePort
A simple mutable implementation of the
IPort interface that can be used stand-alone. |
Modifier and Type | Method and Description |
---|---|
<T extends IModelItem> |
IFoldingView.getMasterItem(T item)
Helper method that can be used to retrieve the original "master" items in the
MasterGraph
that is managed by the Manager associated with this view. |
<T extends IModelItem> |
IFoldingView.getViewItem(T item)
Helper method that can be used to retrieve the items in this
Graph -view for all items that are part
of the MasterGraph that is associated with the Manager of
this instance. |
Modifier and Type | Method and Description |
---|---|
IModelItem |
IClipboardIdProvider.getItem(IGraphClipboardContext context,
Object id)
Gets the item which is represented by the given
id . |
Modifier and Type | Method and Description |
---|---|
boolean |
IGraph.contains(IModelItem item)
Determines whether this graph contains the specified item.
|
boolean |
FilteredGraphWrapper.contains(IModelItem item) |
boolean |
DefaultGraph.contains(IModelItem item)
Determines whether this graph contains the specified item.
|
boolean |
AbstractGraphWrapper.contains(IModelItem item) |
Object |
IClipboardHelper.copy(IGraphClipboardContext context,
IModelItem item)
This method is called during the copy operation of the given item to retrieve additional state that can be later used
during a
IClipboardHelper.paste(IGraphClipboardContext, IModelItem, Object) operation. |
protected Object |
GraphCopier.copyTag(IModelItem owner,
Object tag)
Callback that will copy a
Tag for the target graph. |
Object |
IClipboardHelper.cut(IGraphClipboardContext context,
IModelItem item)
This method is called during the cut operation of the given item to retrieve additional state that can be later used
during a
IClipboardHelper.paste(IGraphClipboardContext, IModelItem, Object) operation. |
protected IClipboardHelper |
GraphClipboard.getClipboardHelper(IModelItem item)
Retrieves the
IClipboardHelper instance associated with the given item. |
Object |
IClipboardIdProvider.getId(IGraphClipboardContext context,
IModelItem originalItem)
Gets the ID for the given
originalItem . |
static GraphItemTypes |
GraphItemTypes.getItemType(IModelItem item)
Gets the type of the item.
|
Object |
GraphClipboard.getMemento(IModelItem clipboardItem)
Retrieves the memento associated with an item in the clipboard graph that has been stored with the item during
GraphClipboard.onElementCopied(IModelItem, IModelItem)
and GraphClipboard.onElementCut(IModelItem, IModelItem) . |
boolean |
GraphItemTypes.is(IModelItem item)
Determines whether the
item is of the specified type . |
boolean |
GraphClipboard.isDummy(IModelItem item)
Whether the given
item is a "dummy" item which should not be pasted. |
protected static boolean |
GraphClipboard.isFoldingStateElement(IModelItem owner,
IModelItem item)
Whether the given
item exists in a folding state of its owner . |
boolean |
IFoldingView.isInFoldingState(IModelItem item)
Determines whether the specified item is a folding state in this view.
|
void |
IElementCopiedCallback.onElementCopied(IModelItem original,
IModelItem copy)
Callback delegate used by
GraphCopier and the like. |
protected void |
GraphClipboard.onElementCopied(IModelItem original,
IModelItem copy)
IElementCopiedCallback that will be invoked for each item that has been copied into the clipboard graph in
response to a GraphClipboard.copy(IGraph, Predicate, IGraph, INode, IElementCopiedCallback) operation. |
protected void |
GraphClipboard.onElementCut(IModelItem original,
IModelItem copy)
IElementCopiedCallback that will be invoked for each item that has been copied into the clipboard graph in
response to a GraphClipboard.cut(IGraph, Predicate) operation. |
protected void |
GraphClipboard.onElementPasted(IModelItem original,
IModelItem copy)
IElementCopiedCallback that will be invoked for each item that has been pasted into the target graph in response
to a GraphClipboard.paste(IGraph, Predicate, IGraph, INode, IElementCopiedCallback, Predicate) operation. |
void |
IClipboardHelper.paste(IGraphClipboardContext context,
IModelItem item,
Object userData)
This method is called after the item has been pasted from the clipboard.
|
void |
IGraph.remove(IModelItem item)
Removes the given
item from this graph. |
void |
DefaultGraph.remove(IModelItem item) |
void |
AbstractGraphWrapper.remove(IModelItem item) |
boolean |
IClipboardHelper.shouldCopy(IGraphClipboardContext context,
IModelItem item)
Determines whether the given item can or should be copied to the clipboard.
|
boolean |
IClipboardHelper.shouldCut(IGraphClipboardContext context,
IModelItem item)
Determines whether the given item can or should be cut to the clipboard.
|
boolean |
IClipboardHelper.shouldPaste(IGraphClipboardContext context,
IModelItem item,
Object userData)
Determines whether the given item can or should be pasted from the clipboard to the target graph.
|
Modifier and Type | Method and Description |
---|---|
boolean |
GraphItemTypes.contains(Iterable<IModelItem> items)
Determines whether the specified items collection contains any of the types described by
types . |
void |
GraphClipboard.copy(IGraph sourceGraph,
Predicate<IModelItem> filter)
Copies the elements indicated by the filter to the clipboard graph.
|
protected void |
GraphClipboard.copy(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
IElementCopiedCallback elementCopiedCallback)
Calls
GraphCopier.copy(IGraph, Predicate, IGraph, INode, PointD, IElementCopiedCallback) on the current ToClipboardCopier
instance or FromClipboardCopier instance, depending on whether the targetGraph
is the ClipboardGraph instance. |
void |
GraphCopier.copy(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
PointD offset,
IElementCopiedCallback elementCopiedCallback)
|
void |
GraphCopier.copy(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
PointD offset,
IElementCopiedCallback elementCopiedCallback)
|
static Predicate<IModelItem> |
GraphClipboard.createWrappedFilter(Predicate<IModelItem> coreFilter,
IGraph graph,
boolean restrictive)
Creates an induced
Predicate from coreFilter for use in the GraphClipboard.cut(IGraph, Predicate) and GraphClipboard.copy(IGraph, Predicate, IGraph, INode, IElementCopiedCallback)
methods that takes dependent items into account. |
void |
GraphClipboard.cut(IGraph sourceGraph,
Predicate<IModelItem> filter)
Cuts the items indicated by
filter to the clipboard and removes them from the graph. |
void |
GraphClipboard.duplicate(IInputModeContext context,
IGraph sourceGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementDuplicated)
Duplicates the elements indicated by the filter.
|
static GraphItemTypes |
GraphItemTypes.getItemTypes(Iterable<IModelItem> items)
Determines the types of the items contained in the collection of items.
|
boolean |
GraphItemTypes.notContains(Iterable<IModelItem> items)
Determines whether the specified items collection contains none of the types described by
types . |
void |
GraphClipboard.paste(IGraph targetGraph,
Predicate<IModelItem> filter)
|
void |
GraphClipboard.paste(IGraph targetGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementPasted)
|
protected void |
GraphClipboard.paste(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
IElementCopiedCallback elementCopiedCallback,
Predicate<IModelItem> targetFilter)
Calls
GraphCopier.copy(IGraph, Predicate, IGraph, INode, PointD, IElementCopiedCallback) on the current FromClipboardCopier
instance, depending on whether the targetGraph is the ClipboardGraph instance. |
protected void |
GraphClipboard.paste(IGraph sourceGraph,
Predicate<IModelItem> filter,
IGraph targetGraph,
INode targetRootNode,
IElementCopiedCallback elementCopiedCallback,
Predicate<IModelItem> targetFilter)
Calls
GraphCopier.copy(IGraph, Predicate, IGraph, INode, PointD, IElementCopiedCallback) on the current FromClipboardCopier
instance, depending on whether the targetGraph is the ClipboardGraph instance. |
void |
GraphClipboard.paste(IInputModeContext context,
IGraph targetGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementPasted,
Predicate<IModelItem> targetFilter)
|
void |
GraphClipboard.paste(IInputModeContext context,
IGraph targetGraph,
Predicate<IModelItem> filter,
IElementCopiedCallback elementPasted,
Predicate<IModelItem> targetFilter)
|
protected void |
GraphClipboard.removeElements(IGraph sourceGraph,
Predicate<IModelItem> predicate)
Removes elements from the graph based on a
Predicate . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGraphItemTemplate<TModelItem extends IModelItem>
Abstract base class for template styles that can be used to display
IModelItem s like INode , ILabel , etc. in a CanvasControl . |
class |
AbstractTemplateStyle<TModelItem extends IModelItem>
Abstract base class for styles that renders complex
Node s. |
Modifier and Type | Method and Description |
---|---|
protected Object |
TemplateStripeStyle.getStyle(IRenderContext context,
IModelItem stripe)
Callback method that determines the
Style for the Node . |
protected URL |
TemplatePortStyle.getStyle(IRenderContext context,
IModelItem port)
Callback method that determines the
Style for the Node . |
protected URL |
TemplateNodeStyle.getStyle(IRenderContext context,
IModelItem node)
|
protected URL |
TemplateLabelStyle.getStyle(IRenderContext context,
IModelItem label)
|
Modifier and Type | Method and Description |
---|---|
<T> IMapper<IModelItem,T> |
YGraphAdapter.createMapper(IDataProvider dataProvider)
Creates an
IMapper that delegates to the provided IDataProvider when queried for items in the
IGraph . |
ISelectionModel<IModelItem> |
LayoutGraphAdapter.getSelectionModel()
Gets the
ISelectionModel to use for the automatically registered IDataProvider instances for the keys LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
ISelectionModel<IModelItem> |
LayoutExecutor.getSelectionModel()
Gets the
ISelectionModel to use for the automatically registered IDataProvider instances for LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
Modifier and Type | Method and Description |
---|---|
void |
LayoutGraphAdapter.setSelectionModel(ISelectionModel<IModelItem> value)
Sets the
ISelectionModel to use for the automatically registered IDataProvider instances for the keys LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
void |
LayoutExecutor.setSelectionModel(ISelectionModel<IModelItem> value)
Sets the
ISelectionModel to use for the automatically registered IDataProvider instances for LayoutKeys.AFFECTED_NODES_DPKEY
and LayoutKeys.AFFECTED_EDGES_DPKEY . |
Constructor and Description |
---|
LayoutGraphAdapter(IGraph graph,
ISelectionModel<IModelItem> selectionModel)
Creates the adapter using a given
IGraph and ISelectionModel . |
Modifier and Type | Method and Description |
---|---|
ItemCollection<IModelItem> |
IncrementalHintItemMapping.getIncrementalSequencingItems()
Gets an item collection of nodes that are mapped to
incremental sequencing hints . |
IMapper<IModelItem,Object> |
IncrementalHintItemMapping.provideMapper(LayoutGraphAdapter adapter,
ILayoutAlgorithm layout,
IIncrementalHintsFactory hintsFactory) |
Modifier and Type | Method and Description |
---|---|
void |
IncrementalHintItemMapping.setIncrementalSequencingItems(ItemCollection<IModelItem> value)
Sets an item collection of nodes that are mapped to
incremental sequencing hints . |
Modifier and Type | Method and Description |
---|---|
<T extends IModelItem> |
GraphModelManager.createHitTester(Class<T> itemType)
Gets a
IHitTester that can be used to enumerate hits on the canvas at a given world coordinate position. |
<T extends IModelItem> |
GraphModelManager.typedHitElementsAt(Class<T> modelItemType,
IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position in a given context.
|
<T extends IModelItem> |
GraphModelManager.typedHitElementsAt(Class<T> itemType,
PointD location)
Enumerates hits on the canvas at a given world coordinate position.
|
Modifier and Type | Method and Description |
---|---|
IModelItem |
GraphControl.getCurrentItem()
Gets the 'current' item.
|
IModelItem |
GraphModelManager.getModelItem(ICanvasObject canvasObject)
Retrieves the corresponding
IModelItem for the given canvas object. |
Modifier and Type | Method and Description |
---|---|
protected FocusIndicatorManager<IModelItem> |
GraphControl.createFocusIndicatorManager()
Factory method for the FocusIndicatorManager property.
|
protected HighlightIndicatorManager<IModelItem> |
GraphControl.createHighlightIndicatorManager()
Factory method for the
HighlightIndicatorManager property. |
protected SelectionIndicatorManager<IModelItem> |
GraphControl.createSelectionIndicatorManager()
Factory method for the
SelectionIndicatorManager property. |
ObjectProperty<IModelItem> |
GraphControl.currentItemProperty()
The property for the 'current item'.
|
IEnumerator<IModelItem> |
GraphSelection.enumerator()
Returns an enumerator that iterates through the collection of all selected elements.
|
ObjectProperty<FocusIndicatorManager<IModelItem>> |
GraphControl.focusIndicatorManagerProperty()
The property for the
GraphControl.getFocusIndicatorManager() focus indicator manager.} |
Comparator<IModelItem> |
GraphModelManager.getComparator()
Gets an
Comparator instance that can be used to compare two model items with respect to their visual display
order. |
FocusIndicatorManager<IModelItem> |
GraphControl.getFocusIndicatorManager()
Gets the FocusIndicatorManager property.
|
HighlightIndicatorManager<IModelItem> |
GraphControl.getHighlightIndicatorManager()
Gets the
HighlightIndicatorManager property. |
IHitTester<IModelItem> |
GraphModelManager.getHitTester()
Gets a
IHitTester that can be used to enumerate hits on the canvas at a given world coordinate position. |
SelectionIndicatorManager<IModelItem> |
GraphControl.getSelectionIndicatorManager()
Gets the
SelectionIndicatorManager property. |
ObjectProperty<HighlightIndicatorManager<IModelItem>> |
GraphControl.highlightIndicatorManagerProperty()
The property for the
GraphControl.getHighlightIndicatorManager() highlight indicator manager.} |
IEnumerable<IModelItem> |
GraphModelManager.hitElementsAt(IInputModeContext context,
PointD location,
ICanvasObjectGroup root)
Enumerates hits on the canvas at a given world coordinate position for a given context.
|
IEnumerable<IModelItem> |
GraphModelManager.hitElementsAt(PointD location)
Enumerates hits on the canvas at a given world coordinate position.
|
ObjectProperty<SelectionIndicatorManager<IModelItem>> |
GraphControl.selectionIndicatorManagerProperty()
The property for the
selection indicator manager. |
Modifier and Type | Method and Description |
---|---|
int |
GraphModelManager.compare(IModelItem item1,
IModelItem item2)
Compares two items with respect to their visibility order.
|
ICanvasObject |
GraphModelManager.getCanvasObject(IModelItem item)
Retrieves the
ICanvasObject for a given model item managed by this instance. |
boolean |
GraphSelection.isSelected(IModelItem item) |
void |
GraphControl.setCurrentItem(IModelItem value)
Sets the 'current' item.
|
void |
GraphSelection.setSelected(IModelItem item,
boolean selected) |
void |
GraphModelManager.updateDescriptor(IModelItem item)
Updates the visual representation of the given
item. |
Modifier and Type | Method and Description |
---|---|
void |
GraphSelection.addItemSelectionChangedListener(IEventHandler<ItemSelectionChangedEventArgs<IModelItem>> itemSelectionChangedEvent) |
protected void |
GraphSelection.onItemSelectionChanged(ItemSelectionChangedEventArgs<IModelItem> args)
Raises the
ItemSelectionChanged event. |
void |
GraphSelection.removeItemSelectionChangedListener(IEventHandler<ItemSelectionChangedEventArgs<IModelItem>> itemSelectionChangedEvent) |
void |
GraphControl.setFocusIndicatorManager(FocusIndicatorManager<IModelItem> value)
Sets the FocusIndicatorManager property.
|
void |
GraphControl.setHighlightIndicatorManager(HighlightIndicatorManager<IModelItem> value)
Sets the
HighlightIndicatorManager property. |
void |
GraphControl.setSelectionIndicatorManager(SelectionIndicatorManager<IModelItem> value)
Sets the
SelectionIndicatorManager property. |
Modifier and Type | Interface and Description |
---|---|
interface |
IDropCreationCallback<T extends IModelItem>
Callback for creating a copy of the dragged item in graph at the specified location.
|
class |
ItemDropInputMode<T extends IModelItem>
A
DropInputMode providing a preview of the dragged item. |
class |
SelectionEventArgs<T extends IModelItem>
Event arguments that are used when modifying a
ISelectionModel . |
Modifier and Type | Method and Description |
---|---|
IModelItem |
ItemHoverInputMode.getCurrentHoverItem()
Gets the current item the mouse is hovering over.
|
IModelItem |
ItemDropInputMode.getDropTarget()
Gets the drop target at
SnappedMousePosition . |
protected IModelItem |
NodeDropInputMode.getDropTarget(PointD dragLocation) |
protected IModelItem |
ItemDropInputMode.getDropTarget(PointD dragLocation)
Returns the drop target at the specified location.
|
IModelItem |
MovementInfo.getMovedItem()
Gets the item that is being moved.
|
IModelItem |
HoveredItemChangedEventArgs.getOldItem()
The item that was previously hovered, possibly
null . |
Modifier and Type | Method and Description |
---|---|
IEnumerable<IModelItem> |
MoveInputMode.getAffectedItems()
Gets an immutable snapshot of the
IModelItem s affected by the currently active gesture. |
IEnumerable<IModelItem> |
HandleInputMode.getAffectedItems()
Gets an immutable snapshot of the
IModelItem s affected by the currently modified handle
gesture. |
Predicate<IModelItem> |
GraphEditorInputMode.getDeletablePredicate()
Gets a predicate that is queried to determine whether an
IModelItem can be deleted or not. |
protected Iterable<IModelItem> |
ItemHoverInputMode.getHitItemsAt(PointD location)
Gets the items that have been hit at the given location.
|
IHitTester<IModelItem> |
GraphEditorInputMode.getHitTester()
Gets the hitTester property.
|
Modifier and Type | Method and Description |
---|---|
void |
IModelItemCollector.add(IModelItem item)
Adds a model item to this collector instance.
|
void |
GraphSnapContext.addItemToBeReshaped(IModelItem item)
Adds an item which will be reshaped.
|
void |
NodeSnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Called by the
GraphSnapContext when a drag
is about to start. |
void |
ISnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Called by the
GraphSnapContext when a drag
is about to start. |
void |
EdgeSnapLineProvider.addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Adds the snap lines for the given model item to the
args . |
T |
IDropCreationCallback.createItem(IInputModeContext context,
IGraph graph,
T draggedItem,
IModelItem dropTarget,
PointD dropLocation)
Callback for creating a copy of the dragged item in graph at the specified location.
|
protected INode |
NodeDropInputMode.createNode(IInputModeContext context,
IGraph graph,
INode node,
IModelItem dropTarget,
RectD layout)
Creates the node in the graph after it's been dropped.
|
protected void |
GraphEditorInputMode.doubleClick(IModelItem item,
ClickEventArgs args)
Actually performs a double-click on the given item.
|
protected void |
GraphEditorInputMode.doubleTap(IModelItem item,
TapEventArgs args)
Actually performs a double-tap on the given item.
|
protected boolean |
GraphEditorInputMode.editLabelOnDoubleClick(IModelItem item)
Starts label editing by executing
ICommand.EDIT_LABEL . |
protected boolean |
ItemHoverInputMode.isValidHoverItem(IModelItem item)
Determines whether the given item is a valid item to be considered for hovering.
|
protected void |
NavigationInputMode.selectItem(GraphControl graphControl,
IModelItem item,
boolean extendSelection)
Callback that selects the given item.
|
protected boolean |
NavigationInputMode.setCurrentItem(GraphControl graphControl,
IModelItem item)
Callback that actually sets the current item property.
|
void |
NavigationInputMode.setCurrentItem(IModelItem item)
Sets the "current" item to the given one.
|
protected void |
ItemDropInputMode.setDropTarget(IModelItem newDropTarget)
Gets the drop target at
SnappedMousePosition |
protected boolean |
TableEditorInputMode.shouldAddLabel(IModelItem item)
Predicate that determines whether a label may be added interactively to .
|
protected boolean |
GraphEditorInputMode.shouldAddLabel(IModelItem item)
Predicate that determines whether a label may be added interactively to .
|
protected boolean |
GraphEditorInputMode.shouldDelete(IModelItem item)
Callback method that determines whether the given item should be deleted during
GraphEditorInputMode.deleteSelection() . |
protected boolean |
TableEditorInputMode.shouldEditLabel(IModelItem item)
Callback method that determines whether the label or the labels of the provided item should be edited in response to a
command or explicit method call to
TableEditorInputMode.editLabel(ILabel) or TableEditorInputMode.createLabel(IStripe) . |
protected boolean |
GraphEditorInputMode.shouldEditLabel(IModelItem item)
Callback method that determines whether the label or the labels of the provided item should be edited in response to
GraphEditorInputMode.onEditLabel()
or GraphEditorInputMode.onAddLabel() . |
protected boolean |
GraphEditorInputMode.shouldMove(IModelItem item)
Determines whether or not moving the item is allowed.
|
protected boolean |
NavigationInputMode.shouldNavigateTo(IModelItem item)
Callback predicate method that determines whether a given model item should be navigated to.
|
protected boolean |
NavigationInputMode.shouldSelect(IModelItem item)
Callback predicate method that determines whether a given model item should be selected.
|
protected boolean |
GraphEditorInputMode.shouldSelectAfterPaste(IModelItem item)
Can be overridden to determine which items should be selected after
GraphEditorInputMode.paste() or GraphEditorInputMode.duplicateSelection() . |
protected boolean |
GraphEditorInputMode.shouldShowHandles(IModelItem item)
Determines whether to show the
handles for the given item. |
Modifier and Type | Method and Description |
---|---|
void |
TableEditorInputMode.addDeletedItemListener(IEventHandler<ItemEventArgs<IModelItem>> deletedItemEvent)
Adds the given listener for the
DeletedItem event that occurs when an item has been deleted interactively by
this mode. |
void |
GraphEditorInputMode.addDeletedItemListener(IEventHandler<ItemEventArgs<IModelItem>> deletedItemEvent)
Adds the given listener for the
DeletedItem event that occurs when an item has been deleted interactively by
this mode. |
void |
GraphEditorInputMode.addDeletedSelectionListener(IEventHandler<SelectionEventArgs<IModelItem>> deletedSelectionEvent)
Adds the given listener for the
DeletedSelection event that occurs just before the GraphEditorInputMode.deleteSelection()
method has deleted the selection after all selected items have been removed. |
void |
GraphEditorInputMode.addDeletingSelectionListener(IEventHandler<SelectionEventArgs<IModelItem>> deletingSelectionEvent)
Adds the given listener for the
DeletingSelection event that occurs just before the GraphEditorInputMode.deleteSelection()
method starts its work and will be followed by any number of DeletedItem
events and finalized by a DeletedSelection event. |
protected void |
TableEditorInputMode.onDeletedItem(ItemEventArgs<IModelItem> args)
Raises the
DeletedItem event. |
protected void |
GraphEditorInputMode.onDeletedItem(ItemEventArgs<IModelItem> args)
Raises the
DeletedItem event. |
protected void |
GraphEditorInputMode.onDeletedSelection(SelectionEventArgs<IModelItem> args)
Raises the
DeletedSelection event. |
protected void |
GraphEditorInputMode.onDeletingSelection(SelectionEventArgs<IModelItem> args)
Raises the
DeletingSelection event. |
void |
TableEditorInputMode.removeDeletedItemListener(IEventHandler<ItemEventArgs<IModelItem>> deletedItemEvent)
Removes the given listener for the
DeletedItem event that occurs when an item has been deleted interactively by
this mode. |
void |
GraphEditorInputMode.removeDeletedItemListener(IEventHandler<ItemEventArgs<IModelItem>> deletedItemEvent)
Removes the given listener for the
DeletedItem event that occurs when an item has been deleted interactively by
this mode. |
void |
GraphEditorInputMode.removeDeletedSelectionListener(IEventHandler<SelectionEventArgs<IModelItem>> deletedSelectionEvent)
Removes the given listener for the
DeletedSelection event that occurs just before the GraphEditorInputMode.deleteSelection()
method has deleted the selection after all selected items have been removed. |
void |
GraphEditorInputMode.removeDeletingSelectionListener(IEventHandler<SelectionEventArgs<IModelItem>> deletingSelectionEvent)
Removes the given listener for the
DeletingSelection event that occurs just before the GraphEditorInputMode.deleteSelection()
method starts its work and will be followed by any number of DeletedItem
events and finalized by a DeletedSelection event. |
void |
GraphEditorInputMode.setDeletablePredicate(Predicate<IModelItem> value)
Sets a predicate that is queried to determine whether an
IModelItem can be deleted or not. |
void |
GraphEditorInputMode.setHitTester(IHitTester<IModelItem> value)
Sets the hitTester property.
|
Constructor and Description |
---|
HoveredItemChangedEventArgs(IModelItem item,
IModelItem oldItem)
Initializes a new instance of the
HoveredItemChangedEventArgs class. |
MovementInfo(PointD originalLocation,
MoveTypes moveType,
IModelItem movedItem)
Initializes a new instance of the
MovementInfo class. |