public class DefaultHoverFeedbackPartFactory extends java.lang.Object implements IFeedbackPartFactory
Modifier and Type | Field and Description |
---|---|
static javafx.scene.paint.Color |
DEFAULT_HOVER_FEEDBACK_COLOR
Defines the default
Color for hover feedback. |
static java.lang.String |
HOVER_FEEDBACK_COLOR_PROVIDER
The binding name for the primary selection color.
|
static java.lang.String |
HOVER_FEEDBACK_GEOMETRY_PROVIDER
The role name for the
Provider<IGeometry> that will be
used to generate hover feedback. |
Constructor and Description |
---|
DefaultHoverFeedbackPartFactory() |
Modifier and Type | Method and Description |
---|---|
java.util.List<IFeedbackPart<? extends javafx.scene.Node>> |
createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specific
IFeedbackPart s for the given targets. |
public static final java.lang.String HOVER_FEEDBACK_COLOR_PROVIDER
public static final java.lang.String HOVER_FEEDBACK_GEOMETRY_PROVIDER
Provider<IGeometry>
that will be
used to generate hover feedback.public static final javafx.scene.paint.Color DEFAULT_HOVER_FEEDBACK_COLOR
Color
for hover feedback.public java.util.List<IFeedbackPart<? extends javafx.scene.Node>> createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
IFeedbackPartFactory
IFeedbackPart
s for the given targets. As
additional information might be needed by the
IFeedbackPartFactory
to identify the creation context, an
additional contextMap is passed in upon creation.createFeedbackParts
in interface IFeedbackPartFactory
targets
- The target IVisualPart
s for which feedback is to be
created.contextMap
- A map in which additional context information for the creation
process can be placed.IFeedbackPart
s that are to be used to indicate
feedback for the given targets.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.