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
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SketchVertex getSketchVertex()
      Gets the selected sketch vertex.
      SketchEditor getSource()
      Returns the source firing the event.
      • Methods inherited from class java.util.EventObject

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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