public class FXFocusFeedbackPart extends AbstractFXFeedbackPart<GeometryNode<IGeometry>>
FXFocusFeedbackPart
visualizes focus feedback.active, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisual
anchoragesUnmodifiable, anchoredsUnmodifiable, children, parent, refreshVisual
adapters
active
IAdaptable.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.
|
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
FXFocusFeedbackPart()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected GeometryNode<IGeometry> |
createVisual()
Creates this part's visual.
|
protected void |
doActivate()
Post
AbstractVisualPart.activate() hook. |
protected void |
doDeactivate()
Pre
AbstractVisualPart.deactivate() hook. |
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 . |
void |
setGeometryProvider(com.google.inject.Provider<? extends IGeometry> geometryProvider)
Sets the
Provider<IGeometry> of this part to the given
value. |
attachToAnchorageVisual, detachFromAnchorageVisual
addChildVisual, removeChildVisual
activate, activateChildren, activeProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenProperty, deactivate, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, 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, unsetAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addChild, 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, setRefreshVisual
adaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapter
activate, activeProperty, deactivate, isActive
dispose
public static final javafx.scene.paint.Color DEFAULT_STROKE
protected GeometryNode<IGeometry> createVisual()
AbstractVisualPart
createVisual
in class AbstractVisualPart<javafx.scene.Node,GeometryNode<IGeometry>>
protected void doActivate()
AbstractVisualPart
AbstractVisualPart.activate()
hook. Does nothing by defaultdoActivate
in class AbstractVisualPart<javafx.scene.Node,GeometryNode<IGeometry>>
protected void doDeactivate()
AbstractVisualPart
AbstractVisualPart.deactivate()
hook. Does nothing by defaultdoDeactivate
in class AbstractVisualPart<javafx.scene.Node,GeometryNode<IGeometry>>
public void doRefreshVisual(GeometryNode<IGeometry> visual)
AbstractVisualPart
doRefreshVisual
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 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.