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.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 | Method and Description |
---|---|
static StripeSubregion |
ITable.findStripe(PointD location,
StripeTypes stripeTypes,
StripeSubregionTypes subregionTypes,
CanvasControl canvasControl,
Predicate<StripeSubregion> filter)
Convenience method to find a stripe underneath a certain point.
|
static IEnumerable<StripeSubregion> |
ITable.findStripes(PointD location,
StripeTypes stripeTypes,
StripeSubregionTypes subregionTypes,
CanvasControl canvas,
Predicate<StripeSubregion> filter)
Used as a callback to find the items underneath a certain point.
|
Modifier and Type | Field and Description |
---|---|
protected ObjectProperty<CanvasControl> |
AbstractGraphItemTemplate.canvas |
Modifier and Type | Method and Description |
---|---|
CanvasControl |
AbstractGraphItemTemplate.getCanvas()
Gets the value of the property canvas.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<CanvasControl> |
AbstractGraphItemTemplate.canvasProperty()
Returns a property holding the
CanvasControl the current IModelItem belongs to. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractGraphItemTemplate.setCanvas(CanvasControl canvas)
Sets the value of the property canvas.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphControl
A control for displaying and editing an
IGraph . |
class |
GraphOverviewControl
Convenience control implementation that shows an overview of an
IGraph contained in another
GraphControl . |
Modifier and Type | Method and Description |
---|---|
CanvasControl |
ModelManager.getCanvas()
Gets the canvas instance this instance is managing.
|
CanvasControl |
CanvasPrinter.getCanvas()
Gets the canvas to print.
|
CanvasControl |
ICanvasContext.getCanvasControl()
Yields the Canvas that is associated with this context.
|
CanvasControl |
CanvasEvent.getCanvasControl()
Returns the
CanvasControl that is the source of this event. |
CanvasControl |
BridgeManager.getCanvasControl()
Gets the
CanvasControl that should be managed by this instance. |
CanvasControl |
Animator.getControl()
The control the animations are run on.
|
Modifier and Type | Method and Description |
---|---|
ObjectProperty<CanvasControl> |
CanvasPrinter.canvasProperty()
Returns the property that holds the canvas to print.
|
Modifier and Type | Method and Description |
---|---|
static ICanvasContext |
ICanvasContext.create(CanvasControl canvas)
Provides a default immutable
ICanvasContext with the given values. |
static ICanvasContext |
ICanvasContext.create(CanvasControl canvas,
double zoom)
Provides a default immutable
ICanvasContext with the given values. |
static ICanvasContext |
ICanvasContext.create(CanvasControl canvas,
double zoom,
double hitTestRadius)
Provides a default immutable
ICanvasContext with the given values. |
IRenderContext |
ContextConfigurator.createRenderContext(CanvasControl canvas)
Returns an initialized IRenderContext and taht contains a transforms and clip such that
a part of the given CanvasControl instance can be exported.
|
WritableImage |
PixelImageExporter.exportToBitmap(CanvasControl canvasControl)
Exports a region of the given
CanvasControl to a WritableImage . |
protected IVisualTemplate |
EdgeSelectionIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected IVisualTemplate |
EdgeHighlightIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected IVisualTemplate |
EdgeFocusIndicatorInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected abstract IVisualTemplate |
EdgeDecorationInstaller.getBendDrawing(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the drawing of the bend for the context.
|
protected RectD |
ViewportLimiter.getCurrentBounds(CanvasControl canvas,
RectD suggestedViewport)
Gets the to bounds that should be honored for the upcoming call.
|
protected String |
EdgeSelectionIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected String |
EdgeHighlightIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected String |
EdgeFocusIndicatorInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge) |
protected abstract String |
EdgeDecorationInstaller.getDecoratorStyleClass(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the style class for the context.
|
protected Pen |
EdgeSelectionIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected Pen |
EdgeHighlightIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected Pen |
EdgeFocusIndicatorInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected abstract Pen |
EdgeDecorationInstaller.getPen(CanvasControl canvas,
IEdge edge)
Callback method that retrieves the pen for the context.
|
protected void |
BridgeManager.install(CanvasControl canvas)
Installs this manager for the specified
CanvasControl . |
RectD |
ViewportLimiter.limitViewport(CanvasControl canvas,
RectD suggestedViewport)
Inspects the desired or suggested new viewport for the given control and returns a valid viewport to use.
|
void |
CanvasPrinter.setCanvas(CanvasControl canvas)
Sets the canvas to print.
|
void |
BridgeManager.setCanvasControl(CanvasControl value)
Sets the
CanvasControl that should be managed by this instance. |
protected void |
BridgeManager.uninstall(CanvasControl canvas)
Reverts the
BridgeManager.install(CanvasControl) method. |
Constructor and Description |
---|
Animator(CanvasControl canvas)
Initializes a new instance of the
Animator class using the given CanvasControl 's Dispatcher to
run the animations. |
CanvasEvent(CanvasControl control,
EventTarget eventTarget,
EventType<? extends Event> eventType)
Returns a new instance.
|
CanvasPrinter(CanvasControl control)
Initializes a new instance using the provided
CanvasControl
for printing. |
FocusIndicatorManager(CanvasControl canvas)
Creates an instance that for all focused items in the model dynamically installs a decoration.
|
GraphModelManager(CanvasControl canvas)
Creates a manager instance for the given control.
|
GraphModelManager(CanvasControl canvas,
ICanvasObjectGroup contentGroup)
Creates a manager instance for the given control.
|
HighlightIndicatorManager(CanvasControl canvas)
Creates an instance that for all selected items in the model dynamically installs a highlight decoration.
|
HighlightIndicatorManager(CanvasControl canvas,
ISelectionModel<T> selectionModel)
Creates an instance that for all selected items in the model dynamically installs a highlight decoration.
|
ModelManager(CanvasControl canvas)
Creates a new instance that will manage the items for the given canvas.
|
SelectionIndicatorManager(CanvasControl canvas,
IObservableCollection<T> model,
ISelectionModel<T> selectionModel)
Creates an instance that for all selected items in the model dynamically installs a selection render decoration.
|
ViewportAnimation(CanvasControl canvas,
RectD targetBounds,
Duration preferredDuration)
Creates a new instance of
ViewportAnimation . |
Modifier and Type | Method and Description |
---|---|
CanvasControl |
OverviewInputMode.getClientCanvas()
Gets the canvas this canvas should use to navigate.
|
Modifier and Type | Method and Description |
---|---|
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas,
IInputMode parent)
Factory method that creates an
IInputModeContext that uses the provided values. |
static IInputModeContext |
IInputModeContext.create(CanvasControl canvas,
IInputMode parent,
ILookup lookup)
Factory method that creates an
IInputModeContext that uses the provided values. |
CollectionModelManager<SnapResult> |
SnapContext.createSnapResultsModelManager(CanvasControl canvas)
Helper method that creates the a
CollectionModelManager that can be used to present the current
SnapResult s in the provided CanvasControl . |
void |
OverviewInputMode.setClientCanvas(CanvasControl value)
Sets the canvas this canvas should use to navigate.
|
protected void |
PortRelocationHandle.unhideOriginalEdge(IEdge edge,
CanvasControl canvas)
Unhides the original edge that was hidden during the drag operation.
|