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.graphml |
Definitions, default implementations, and support classes for GraphML I/O support.
|
com.yworks.yfiles.layout |
Provides essential classes and interfaces that constitute the infrastructure for automatic graph layout generation.
|
com.yworks.yfiles.layout.organic |
Provides organic layout style algorithms that are based on a force-directed layout paradigm.
|
com.yworks.yfiles.utils |
Contains classes and interfaces which support the yFiles collection and event handling framework,
and other utility classes.
|
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 | Class and Description |
---|---|
class |
BendEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the IBend type and carries additional
owner and index information. |
class |
EdgeEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the IEdge type and carries additional
source and target port information. |
class |
ItemChangedEventArgs<TItem,TValue>
Event argument class used by
IGraph if a model item's property has been changed. |
class |
ItemCopiedEventArgs<T>
Event arguments for the events in
GraphCopier . |
class |
LabelEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the ILabel type and carries
additional owner information. |
class |
NodeEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the INode type and carries additional
information about the parent node and the group node status. |
class |
PortEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the IPort type and carries additional
IPortOwner information. |
class |
StripeEventArgs
A specialized subclass of the
ItemEventArgs class that is bound to the IStripe type and carries
additional owner information. |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultGraph.onInvalidateDisplays(IEventArgs args)
Triggers the
DisplaysInvalidated event. |
protected void |
AbstractGraphWrapper.onInvalidateDisplays(IEventArgs args)
Raises the
DisplaysInvalidated event. |
Modifier and Type | Method and Description |
---|---|
void |
IGraph.addDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent)
Adds the given listener for the
DisplaysInvalidated event that occurs when the graph has changed visually and
the display should be updated to reflect the changes. |
void |
DefaultGraph.addDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent) |
void |
AbstractGraphWrapper.addDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent) |
void |
GraphClipboard.addElementsCopiedListener(IEventHandler<IEventArgs> elementsCopiedEvent)
Adds the given listener for the
ElementsCopied event that occurs when the GraphClipboard.copy(IGraph, Predicate)
operation finished successfully. |
void |
GraphClipboard.addElementsCutListener(IEventHandler<IEventArgs> elementsCutEvent)
Adds the given listener for the
ElementsCut event that occurs when the GraphClipboard.cut(IGraph, Predicate) operation
finished successfully. |
void |
GraphClipboard.addElementsPastedListener(IEventHandler<IEventArgs> elementsPastedEvent)
Adds the given listener for the
ElementsPasted event that occurs when the GraphClipboard.paste(IInputModeContext, IGraph, Predicate, IElementCopiedCallback, Predicate)
operation finished successfully. |
void |
UndoEngine.addUnitRedoneListener(IEventHandler<IEventArgs> unitRedoneEvent)
Adds the given listener for the
UnitRedone event that occurs when the engine has successfully executed the IUndoUnit.redo()
operation of an IUndoUnit . |
void |
UndoEngine.addUnitUndoneListener(IEventHandler<IEventArgs> unitUndoneEvent)
Adds the given listener for the
UnitUndone event that occurs when the engine has successfully executed the IUndoUnit.undo()
operation of an IUndoUnit . |
void |
IGraph.removeDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent)
Removes the given listener for the
DisplaysInvalidated event that occurs when the graph has changed visually and
the display should be updated to reflect the changes. |
void |
DefaultGraph.removeDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent) |
void |
AbstractGraphWrapper.removeDisplaysInvalidatedListener(IEventHandler<IEventArgs> displaysInvalidatedEvent) |
void |
GraphClipboard.removeElementsCopiedListener(IEventHandler<IEventArgs> elementsCopiedEvent)
Removes the given listener for the
ElementsCopied event that occurs when the GraphClipboard.copy(IGraph, Predicate)
operation finished successfully. |
void |
GraphClipboard.removeElementsCutListener(IEventHandler<IEventArgs> elementsCutEvent)
Removes the given listener for the
ElementsCut event that occurs when the GraphClipboard.cut(IGraph, Predicate)
operation finished successfully. |
void |
GraphClipboard.removeElementsPastedListener(IEventHandler<IEventArgs> elementsPastedEvent)
Removes the given listener for the
ElementsPasted event that occurs when the GraphClipboard.paste(IInputModeContext, IGraph, Predicate, IElementCopiedCallback, Predicate)
operation finished successfully. |
void |
UndoEngine.removeUnitRedoneListener(IEventHandler<IEventArgs> unitRedoneEvent)
Removes the given listener for the
UnitRedone event that occurs when the engine has successfully executed the IUndoUnit.redo()
operation of an IUndoUnit . |
void |
UndoEngine.removeUnitUndoneListener(IEventHandler<IEventArgs> unitUndoneEvent)
Removes the given listener for the
UnitUndone event that occurs when the engine has successfully executed the IUndoUnit.undo()
operation of an IUndoUnit . |
Modifier and Type | Class and Description |
---|---|
class |
HandleDeserializationEventArgs
The event arguments used by
HandleDeserialization
and HandleDeserialization
to let registered deserialization code perform the deserialization. |
class |
HandleSerializationEventArgs
The event arguments used by
HandleSerialization
and HandleSerialization to
let registered serialization code perform the serialization of items. |
class |
ParseEventArgs
This is the event argument that is used by the
IParseEvents interface that can be queried from the ParseEvents
property. |
class |
QueryInputHandlersEventArgs
Specialized
IEventArgs that are used for dynamic IInputHandler registration. |
class |
QueryOutputHandlersEventArgs
Event argument implementation that is used by the
QueryOutputHandlers
event. |
class |
QueryReferenceIdEventArgs
Event arguments for calls to the
QueryReferenceId
or QueryReferenceId events. |
class |
ResolveReferenceEventArgs
Event arguments for calls to the
ResolveReference
and OverrideResolveReference
events. |
class |
WriteEventArgs
This is the event argument that is used by the
IWriteEvents interface that can be queried from the WriteEvents
property. |
Modifier and Type | Class and Description |
---|---|
class |
LayoutEventArgs
This event argument is used by
LayoutFinished
event. |
Modifier and Type | Method and Description |
---|---|
void |
InteractiveOrganicLayout.addStructureUpdate(IEventHandler handler,
IEventArgs args)
Schedules an update for the structure of the graph, which will automatically be executed at a later point in the
life-cycle of this algorithm.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IEventHandler<T extends IEventArgs>
Common interface for EventHandler that process
IEventArgs . |
Modifier and Type | Class and Description |
---|---|
class |
ItemEventArgs<T>
Event argument class used by
IObservableCollection and similar that holds a specific item that is related to the
event. |
class |
PropertyChangedEventArgs
Arguments for an event that indicates that a property has changed.
|
Modifier and Type | Field and Description |
---|---|
static IEventArgs |
IEventArgs.EMPTY
EventArgs that contain no data.
|
Modifier and Type | Class and Description |
---|---|
class |
CanvasEvent
An event used by the
com.yworks.yfiles.canvas.CanvasControl to notify when the control is updated. |
class |
CompoundKeyEvent
Event argument class for key events that carries the type of event.
|
class |
ItemSelectionChangedEventArgs<T>
Provides data for the
ItemSelectionChanged
event. |
class |
KeyEventArgs |
class |
Mouse2DEvent
Enumeration of the possible
Mouse2DEvent types. |
class |
PrepareRenderContextEventArgs
The event arguments for the
IEventHandler used by
CanvasControl#raisePrepareRenderContextEvent(PrepareRenderContextEventArgs) . |
class |
PrintingEvent
Event that is used in the
com.yworks.yfiles.canvas.CanvasPrinter to
inform clients when a page is about to be printed or after it was printed. |
class |
RenderContextEvent
The event arguments for the
com.yworks.util.IEventHandler used by PrepareRenderContextEvent. |
class |
RoutedEventArgs |
class |
Touch2DEvent
Enumeration of the possible
Touch2DEvent types. |
Modifier and Type | Method and Description |
---|---|
static ModifierKeys |
ModifierKeys.fromEvent(IEventArgs e) |
protected void |
CanvasControl.onSizeChanged(IEventArgs args)
Handles a size change of this
CanvasControl . |
Modifier and Type | Method and Description |
---|---|
void |
Animator.animate(IAnimationCallback callback,
Duration duration,
IEventHandler<IEventArgs> finishedCallback)
Starts animating the given animation for the specified duration.
|
void |
Animator.animate(IAnimation animation,
IEventHandler<IEventArgs> finishedCallback)
Animates the given animation instance and triggers the callback upon completion.
|
Modifier and Type | Class and Description |
---|---|
class |
ClickEventArgs
Event arguments used by
Clicked . |
class |
CollectGraphSnapLinesEventArgs
Event arguments for the
CollectSnapLines
event. |
class |
CollectLabelSnapLineEventArgs
The event arguments used by
LabelSnapContext to collect custom snap lines for each drag. |
class |
CollectSnapResultsEventArgs
Event arguments for the
CollectSnapResults
event. |
class |
HoveredItemChangedEventArgs
Event argument class containing information about which
IModelItem the mouse is currently hovering over. |
class |
InputModeEventArgs
Event argument base class that is used by events that are triggered by
IInputMode implementations. |
class |
ItemClickedEventArgs<T>
Provides data for the
ItemClicked ,
ItemDoubleClicked ,
ItemLeftClicked ,
ItemLeftDoubleClicked ,
ItemRightClicked and ItemRightDoubleClicked
events. |
class |
LabelEditingEventArgs
Event arguments for the
LabelAdding
and LabelEditing events, as
well as the IEditLabelHelper interface. |
class |
LabelTextValidatingEventArgs
Event arguments for the
ValidateLabelText
event. |
class |
MarqueeSelectionEventArgs
Event arguments used by
MarqueeSelectionInputMode . |
class |
PopulateItemContextMenuEventArgs<TModelItem>
A specialized subclass of
PopulateMenuEventArgs that carries the Item for which the context
menu should be populated. |
class |
PopulateMenuEventArgs
Event arguments for the
PopulateMenu
event. |
class |
QueryItemToolTipEventArgs<TModelItem>
A specialized subclass of
ToolTipQueryEventArgs that carries the Item for which the tool tip
is queried. |
class |
QueryPositionHandlerEventArgs
Event argument that is used to query the
IPositionHandler that is used to move the items while dragging via
MoveInputMode . |
class |
SelectionEventArgs<T extends IModelItem>
Event arguments that are used when modifying a
ISelectionModel . |
class |
TapEventArgs
Event arguments used by
Tapped . |
class |
TextEventArgs
Event arguments used by
TextEditorInputMode . |
class |
ToolTipQueryEventArgs
Event argument that can be used to query the text to display when the mouse hovers over the given point in world
coordinate space.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
HandleInputMode.isHovering(Object sender,
IEventArgs args)
Event recognizer callback used to determine whether the mouse is currently hovering over a handle.
|
protected boolean |
TapInputMode.isInvalidPress(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a press event that occurred at an invalid location.
|
protected boolean |
ClickInputMode.isInvalidPress(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a press event that occurred at an invalid location.
|
boolean |
IEventRecognizer.isRecognized(Object eventSource,
IEventArgs eventArg)
An callback that recognizes events.
|
protected boolean |
ResizeStripeInputMode.isValidBegin(Object source,
IEventArgs args)
Called to determine whether it is valid to begin the gesture.
|
protected boolean |
CreateBendInputMode.isValidBegin(Object source,
IEventArgs args)
Determines whether the current location is valid to begin a bend creation gesture.
|
protected boolean |
ClickInputMode.isValidClick(Object src,
IEventArgs arg)
Determines whether the given event is a valid click event.
|
protected boolean |
TapInputMode.isValidPress(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a valid press event.
|
protected boolean |
ClickInputMode.isValidPress(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a valid press event.
|
protected boolean |
TapInputMode.isValidRelease(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a valid release event.
|
protected boolean |
ClickInputMode.isValidRelease(Object src,
IEventArgs arg)
Determines whether the given event is a valid release event.
|
protected boolean |
TapInputMode.isValidTap(Object eventSource,
IEventArgs eventArg)
Determines whether the given event is a valid tap event.
|
protected void |
GraphEditorInputMode.onMoveInputModeDragCanceled(Object sender,
IEventArgs e)
Called when
DragCanceled is triggered. |
protected void |
GraphEditorInputMode.onMoveInputModeDragFinished(Object sender,
IEventArgs e)
Called when
DragFinished is triggered. |
static void |
ICommand.processInput(Object sender,
boolean keyDown,
IEventArgs eventArgs) |
Modifier and Type | Method and Description |
---|---|
void |
ConcurrencyController.addActiveChangedListener(IEventHandler<IEventArgs> activeChangedEvent)
Adds the given listener for the
ActiveChanged event that occurs the Active property
changes. |
void |
ConcurrencyController.addMutexObtainedListener(IEventHandler<IEventArgs> mutexObtainedEvent)
Adds the given listener for the
MutexObtained event that occurs when the mutex has been successfully obtained. |
void |
ConcurrencyController.addMutexReleasedListener(IEventHandler<IEventArgs> mutexReleasedEvent)
Adds the given listener for the
MutexReleased event that occurs when the mutex has been released. |
void |
ConcurrencyController.addPreferredCursorChangedListener(IEventHandler<IEventArgs> preferredCursorChangedEvent)
Adds the given listener for the
PreferredCursorChanged event that occurs when the PreferredCursor
property changes. |
void |
ConcurrencyController.addPriorityChangedListener(IEventHandler<IEventArgs> priorityChangedEvent)
Adds the given listener for the
PriorityChanged event that occurs when ConcurrencyController.onPriorityChanged() is called by
the associated mode. |
void |
ConcurrencyController.removeActiveChangedListener(IEventHandler<IEventArgs> activeChangedEvent)
Removes the given listener for the
ActiveChanged event that occurs the Active property
changes. |
void |
ConcurrencyController.removeMutexObtainedListener(IEventHandler<IEventArgs> mutexObtainedEvent)
Removes the given listener for the
MutexObtained event that occurs when the mutex has been successfully
obtained. |
void |
ConcurrencyController.removeMutexReleasedListener(IEventHandler<IEventArgs> mutexReleasedEvent)
Removes the given listener for the
MutexReleased event that occurs when the mutex has been released. |
void |
ConcurrencyController.removePreferredCursorChangedListener(IEventHandler<IEventArgs> preferredCursorChangedEvent)
Removes the given listener for the
PreferredCursorChanged event that occurs when the PreferredCursor
property changes. |
void |
ConcurrencyController.removePriorityChangedListener(IEventHandler<IEventArgs> priorityChangedEvent)
Removes the given listener for the
PriorityChanged event that occurs when ConcurrencyController.onPriorityChanged() is called
by the associated mode. |