public class FocusFeedbackPart extends AbstractFeedbackPart<GeometryNode<IGeometry>>
FocusFeedbackPart
visualizes focus feedback.active, adaptable, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisual
adapters
adaptable
active
IAdaptable.Bound<A extends IAdaptable>
IAdaptable.Bound.Impl<T extends IAdaptable>
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTY
ADAPTERS_PROPERTY
ACTIVE_PROPERTY
Constructor and Description |
---|
FocusFeedbackPart()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doActivate()
Activates this
AbstractVisualPart , which activates its children
and adapters. |
protected GeometryNode<IGeometry> |
doCreateVisual()
Creates this part's visual.
|
protected void |
doDeactivate()
Deactivates this
AbstractVisualPart , which deactivates its
children and adapters. |
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 . |
protected javafx.scene.paint.Color |
getFocusStroke()
Returns the
Color that is used to stroke focus feedback. |
void |
setGeometryProvider(Provider<? extends IGeometry> geometryProvider)
Sets the
Provider<IGeometry> of this part to the given
value. |
doAddChildVisual, doAttachToAnchorageVisual, doDetachFromAnchorageVisual, doRemoveChildVisual
activate, activateAdapters, activateChildren, activeProperty, adaptableProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenUnmodifiableProperty, deactivate, deactivateAdapters, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, getAdaptable, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getVisual, isActive, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, register, registerAtVisualPartMap, removeChild, removeChildren, reorderChild, setAdaptable, 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, childrenUnmodifiableProperty, detachAnchored, detachFromAnchorage, detachFromAnchorage, getAnchoragesUnmodifiable, getAnchoredsUnmodifiable, getBehaviors, getChildrenUnmodifiable, getHandlers, getParent, getPolicies, getRoot, getViewer, getVisual, isRefreshVisual, parentProperty, refreshVisual, refreshVisualProperty, removeChild, removeChildren, reorderChild, setParent, setRefreshVisual
adaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapter
adaptableProperty, getAdaptable, setAdaptable
activate, activeProperty, deactivate, isActive
dispose
protected void doActivate()
AbstractVisualPart
AbstractVisualPart
, which activates its children
and adapters.doActivate
in class AbstractVisualPart<GeometryNode<IGeometry>>
protected GeometryNode<IGeometry> doCreateVisual()
AbstractVisualPart
doCreateVisual
in class AbstractVisualPart<GeometryNode<IGeometry>>
protected void doDeactivate()
AbstractVisualPart
AbstractVisualPart
, which deactivates its
children and adapters.doDeactivate
in class AbstractVisualPart<GeometryNode<IGeometry>>
public void doRefreshVisual(GeometryNode<IGeometry> visual)
AbstractVisualPart
doRefreshVisual
in class AbstractVisualPart<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.protected javafx.scene.paint.Color getFocusStroke()
Color
that is used to stroke focus feedback.Color
that is used to stroke focus feedback.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.