public class FXHoverFeedbackPart extends AbstractFXFeedbackPart<GeometryNode<IGeometry>>
FXHoverFeedbackPart is an AbstractFXFeedbackPart that is
parameterized by GeometryNode<IGeometry>.active, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisualanchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisualadaptersactiveIAdaptable.Bound<A extends IAdaptable>| Modifier and Type | Field and Description |
|---|---|
static javafx.scene.paint.Color |
DEFAULT_STROKE
The default stroke color for this part's visualization.
|
static java.lang.String |
EFFECT_PROVIDER
The role name for the
Provider<Effect> that will be
used to query the Effect for this part's visualization. |
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Constructor and Description |
|---|
FXHoverFeedbackPart()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected GeometryNode<IGeometry> |
createVisual()
Creates this part's visual.
|
void |
doRefreshVisual(GeometryNode<IGeometry> visual)
Refreshes this part's visualization based on this part's content.
|
protected IGeometry |
getFeedbackGeometry()
Returns the
IGeometry that is provided by this part's
geometry provider. |
javafx.scene.effect.Effect |
getHoverFeedbackEffect()
Returns the
Effect that is provided by the
Provider<Effect> of this part's first anchorage. |
void |
setGeometryProvider(com.google.inject.Provider<? extends IGeometry> geometryProvider)
Sets the
Provider<IGeometry> of this part to the given
value. |
attachToAnchorageVisual, detachFromAnchorageVisualaddChildVisual, removeChildVisualactivate, activateChildren, activeProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, deactivate, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, doActivate, doDeactivate, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getViewer, getVisual, isActive, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, register, registerAtVisualPartMap, removeChild, removeChildren, reorderChild, setAdapter, setAdapter, setAdapter, setAdapter, setParent, setRefreshVisual, unregister, unregisterFromVisualPartMap, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getParent, getPolicies, getRoot, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisualadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteractivate, activeProperty, deactivate, isActivedisposepublic static final javafx.scene.paint.Color DEFAULT_STROKE
public static final java.lang.String EFFECT_PROVIDER
Provider<Effect> that will be
used to query the Effect for this part's visualization.protected GeometryNode<IGeometry> createVisual()
AbstractVisualPartcreateVisual in class AbstractVisualPart<javafx.scene.Node,GeometryNode<IGeometry>>public void doRefreshVisual(GeometryNode<IGeometry> visual)
AbstractVisualPartdoRefreshVisual in class AbstractVisualPart<javafx.scene.Node,GeometryNode<IGeometry>>visual - This part's visual.protected IGeometry getFeedbackGeometry()
IGeometry that is provided by this part's
geometry provider.IGeometry that is provided by this part's geometry
provider.public javafx.scene.effect.Effect getHoverFeedbackEffect()
Effect that is provided by the
Provider<Effect> of this part's first anchorage.Effect that is provided by the
Provider<Effect> of this part's first
anchorage.public void setGeometryProvider(com.google.inject.Provider<? extends IGeometry> geometryProvider)
Provider<IGeometry> of this part to the given
value.geometryProvider - The new Provider<IGeometry> for this part.Copyright (c) 2014 itemis AG and others. All rights reserved.