public class SelectionFeedbackPart extends AbstractFeedbackPart<GeometryNode<IGeometry>>
SelectionFeedbackPart is an AbstractFeedbackPart that is
parameterized by GeometryNode<IGeometry>.active, adaptable, adapters, anchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisualanchoragesUnmodifiable, anchoredsUnmodifiable, childrenUnmodifiable, parent, refreshVisualadaptersadaptableactiveIAdaptable.Bound<A extends IAdaptable>IAdaptable.Bound.Impl<T extends IAdaptable>| Modifier and Type | Field and Description |
|---|---|
protected static double |
DEFAULT_STROKE_WIDTH
The stroke width for selection feedback.
|
ANCHORAGES_PROPERTY, ANCHOREDS_PROPERTY, CHILDREN_PROPERTY, PARENT_PROPERTY, REFRESH_VISUAL_PROPERTYADAPTERS_PROPERTYACTIVE_PROPERTY| Constructor and Description |
|---|
SelectionFeedbackPart()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected GeometryNode<IGeometry> |
doCreateVisual()
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
feedback geometry provider. |
protected Color |
getPrimarySelectionColor()
Returns the primary selection
Color. |
protected Color |
getSecondarySelectionColor()
Returns the primary selection
Color. |
void |
setGeometryProvider(Provider<? extends IGeometry> geometryProvider)
Sets the feedback geometry provider (
Provider<IGeometry>) of this part to the given value. |
doAddChildVisual, doAttachToAnchorageVisual, doDetachFromAnchorageVisual, doRemoveChildVisualactivate, activateAdapters, activateChildren, activeProperty, adaptableProperty, adaptersProperty, addChild, addChild, addChildren, addChildren, anchoragesUnmodifiableProperty, anchoredsUnmodifiableProperty, attachAnchored, attachToAnchorage, attachToAnchorage, childrenUnmodifiableProperty, deactivate, deactivateAdapters, deactivateChildren, detachAnchored, detachFromAnchorage, detachFromAnchorage, determineViewer, dispose, doActivate, doDeactivate, 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, unsetAdapterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, 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, setRefreshVisualadaptersProperty, getAdapter, getAdapter, getAdapter, getAdapterKey, getAdapters, getAdapters, getAdapters, setAdapter, setAdapter, setAdapter, setAdapter, unsetAdapteradaptableProperty, getAdaptable, setAdaptableactivate, activeProperty, deactivate, isActivedisposeprotected static final double DEFAULT_STROKE_WIDTH
protected GeometryNode<IGeometry> doCreateVisual()
AbstractVisualPartdoCreateVisual in class AbstractVisualPart<GeometryNode<IGeometry>>public void doRefreshVisual(GeometryNode<IGeometry> visual)
AbstractVisualPartdoRefreshVisual in class AbstractVisualPart<GeometryNode<IGeometry>>visual - This part's visual.protected IGeometry getFeedbackGeometry()
IGeometry that is provided by this part's
feedback geometry provider.IGeometry that is provided by this part's
feedback geometry provider
.protected Color getPrimarySelectionColor()
Color.Color.protected Color getSecondarySelectionColor()
Color.Color.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.