# Uses of Interface
org.eclipse.gef.mvc.fx.behaviors.IBehavior

Packages that use IBehavior
Package
Description
org.eclipse.gef.mvc.fx.behaviors
This package contains JavaFX/MVC.FX-specific `IBehavior` implementations.
org.eclipse.gef.mvc.fx.parts
This package contains all JavaFX-specific `IContentPart`, `IVisualPart`, `IFeedbackPart`, and `IHandlePart` implementations and related classes.

## Uses of IBehavior in org.eclipse.gef.mvc.fx.behaviors

Classes in org.eclipse.gef.mvc.fx.behaviors that implement IBehavior
Modifier and Type
Class
Description
`class`
`AbstractBehavior`
The `AbstractBehavior` can be used as a base class for `IBehavior` implementations.
`class`
`ConnectionClickableAreaBehavior`
A behavior that regulates the clickable area width of an `IVisualPart` 's connection visual dependent on the zoom level.
`class`
`ContentBehavior`
A behavior that can be adapted to an `IRootPart` or an `IContentPart` to synchronize the list of `IContentPart` children and (only in case of an `IContentPart`) anchorages with the list of content children and anchored.
`class`
`FocusBehavior`
The `FocusBehavior` can be registered on an `IVisualPart` to transfer the focus information from the `FocusModel` to the part's visualization.
`class`
`GridBehavior`
The `GridBehavior` can be registered on an `IRootPart` to apply the information from the `GridModel` to the background grid that is managed by the `InfiniteCanvasViewer`.
`class`
`HoverBehavior`
The `HoverBehavior` can be registered on an `IVisualPart` in order to react to `HoverModel` changes.
`class`
`HoverIntentBehavior`
The `HoverIntentBehavior` complements the `HoverBehavior` w.r.t.
`class`
`RevealPrimarySelectionBehavior`
The `RevealPrimarySelectionBehavior` observes the `SelectionModel` that is registered at the `IViewer` of its `host` and `reveals` the primary selection, i.e. the first element of the `SelectionModel.selectionUnmodifiableProperty()` when the selection changes.
`class`
`SelectionBehavior`
The default selection behavior is responsible for creating and removing selection feedback and handles.
`class`
`SnappingBehavior`
The `SnappingBehavior` is responsible for creating and removing feedback and handles in response to `SnappingModel` changes.

## Uses of IBehavior in org.eclipse.gef.mvc.fx.parts

Methods in org.eclipse.gef.mvc.fx.parts that return types with arguments of type IBehavior
Modifier and Type
Method
Description
`Map<AdapterKey<? extends IBehavior>,IBehavior>`
AbstractVisualPart.`getBehaviors()`
`Map<AdapterKey<? extends IBehavior>,IBehavior>`
AbstractVisualPart.`getBehaviors()`
`Map<AdapterKey<? extends IBehavior>,IBehavior>`
IVisualPart.`getBehaviors()`
Returns a `Map` of this part's behaviors and their corresponding `AdapterKey`s.
`Map<AdapterKey<? extends IBehavior>,IBehavior>`
IVisualPart.`getBehaviors()`
Returns a `Map` of this part's behaviors and their corresponding `AdapterKey`s.