Class SelectedVertexChangedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SelectedVertexChangedEvent
    extends java.util.EventObject
    An event representing the selection change of the SketchVertex during a sketching session.
    Since:
    100.3.0
    See Also:
    SketchEditor.setSelectedVertex(SketchVertex), Serialized Form
    • Constructor Detail

      • SelectedVertexChangedEvent

        public SelectedVertexChangedEvent​(SketchEditor source,
                                          SketchVertex sketchVertex)
        Constructs a SelectedVertexChangedEvent object.
        Parameters:
        source - a SketchEditor object
        sketchVertex - the SketchVertex
        Throws:
        java.lang.IllegalArgumentException - if source is null
        Since:
        100.3.0
    • Method Detail

      • getSource

        public SketchEditor getSource()
        Returns the source firing the event.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the SketchEditor instance that fired the event
        Since:
        100.3.0
      • getSketchVertex

        public SketchVertex getSketchVertex()
        Gets the selected sketch vertex.
        Returns:
        the selected sketch vertex
        Since:
        100.3.0