Class SelectionFeedbackPart

All Implemented Interfaces:
IActivatable, IAdaptable, IAdaptable.Bound<IViewer>, IDisposable, IFeedbackPart<GeometryNode<IGeometry>>, IVisualPart<GeometryNode<IGeometry>>
Direct Known Subclasses:
SelectionLinkFeedbackPart

public class SelectionFeedbackPart extends AbstractFeedbackPart<GeometryNode<IGeometry>>
The SelectionFeedbackPart is an AbstractFeedbackPart that is parameterized by GeometryNode<IGeometry>.
  • Field Details

    • DEFAULT_STROKE_WIDTH

      protected static final double DEFAULT_STROKE_WIDTH
      The stroke width for selection feedback.
      See Also:
  • Constructor Details

    • SelectionFeedbackPart

      public SelectionFeedbackPart()
      Default constructor.
  • Method Details

    • doCreateVisual

      protected GeometryNode<IGeometry> doCreateVisual()
      Description copied from class: AbstractVisualPart
      Creates this part's visual.
      Specified by:
      doCreateVisual in class AbstractVisualPart<GeometryNode<IGeometry>>
      Returns:
      This part's visual.
    • doRefreshVisual

      public void doRefreshVisual(GeometryNode<IGeometry> visual)
      Description copied from class: AbstractVisualPart
      Refreshes this part's visualization based on this part's content.
      Specified by:
      doRefreshVisual in class AbstractVisualPart<GeometryNode<IGeometry>>
      Parameters:
      visual - This part's visual.
    • getFeedbackGeometry

      protected IGeometry getFeedbackGeometry()
      Returns the IGeometry that is provided by this part's feedback geometry provider.
      Returns:
      The IGeometry that is provided by this part's feedback geometry provider .
    • getPrimarySelectionColor

      protected javafx.scene.paint.Color getPrimarySelectionColor()
      Returns the primary selection Color.
      Returns:
      The primary selection Color.
    • getSecondarySelectionColor

      protected javafx.scene.paint.Color getSecondarySelectionColor()
      Returns the primary selection Color.
      Returns:
      The primary selection Color.
    • setGeometryProvider

      public void setGeometryProvider(Provider<? extends IGeometry> geometryProvider)
      Sets the feedback geometry provider ( Provider<IGeometry>) of this part to the given value.
      Parameters:
      geometryProvider - The new feedback geometry provider for this part.