public interface ITargetPolicyResolver
ITargetPolicyResolver
provides a mechanism to determine and
prioritize all policies that are to be notified about certain input events
(see getTargetPolicies(ITool, Node, Class)
for details).Modifier and Type | Method and Description |
---|---|
<T extends IPolicy<javafx.scene.Node>> |
getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given target
Node that are to be notified about an input event
that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
IViewer<javafx.scene.Node> viewer,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given
IViewer and target Node that are to be notified
about an input event that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> java.util.List<? extends T> getTargetPolicies(ITool<javafx.scene.Node> contextTool, javafx.scene.Node target, java.lang.Class<T> policyClass)
Node
that are to be notified about an input event
that was directed at the Node
.T
- Type parameter specifying the type of policy that is
collected.contextTool
- The ITool
for which to determine target policies.target
- The target Node
that received an input event.policyClass
- The type of the policies to return.<T extends IPolicy<javafx.scene.Node>> java.util.List<? extends T> getTargetPolicies(ITool<javafx.scene.Node> contextTool, javafx.scene.Node target, IViewer<javafx.scene.Node> viewer, java.lang.Class<T> policyClass)
IViewer
and target Node
that are to be notified
about an input event that was directed at the Node
.T
- Type parameter specifying the type of policy that is
collected.contextTool
- The ITool
for which to determine target policies.target
- The target Node
that received an input event.viewer
- The IViewer
that contains the given target
Node
.policyClass
- The type of the policies to return.Copyright (c) 2014 itemis AG and others. All rights reserved.