Interface ShapeListener

All Known Subinterfaces:
ShapeSet
All Known Implementing Classes:
AttributeObjectVideoTaskDialogPanel, BoolPolygon2DInt, ChangeSectionVideoTaskDialogPanel, Circle2DInt, ContinuousColourBar, DiscreteColourMapLayout, Ellipse2DInt, Graph2DInt, Image2DInt, InterfaceAttributePanel, InterfaceButtonPanel, InterfaceCaminoPanel, InterfaceCoCoMacPanel, InterfaceComboPanel, InterfaceConsoleDisplay, InterfaceCorticalThicknessPanel, InterfaceDatasourcePanel, InterfaceDataTable, InterfaceDataTableTitle, InterfaceDisplayPanel, InterfaceDynamicModelPanel, InterfaceFilePanel, InterfaceGraphDisplay, InterfaceGraphDisplayTitle, InterfaceGraphic, InterfaceGraphic2D, InterfaceGraphic3D, InterfaceGraphicPanel, InterfaceGraphicWindow, InterfaceHideablePanel, InterfaceLayoutPanel, InterfaceLayoutWindow, InterfaceListPanel, InterfaceMapPanel, InterfaceMeshPanel, InterfaceMorphPanel, InterfaceMorphPanel2, InterfaceNeuroMeshPanel, InterfaceNeuroMeshPanel2, InterfacePanel, InterfacePipelinesPanel, InterfacePlot, InterfacePlotDisplay, InterfacePlotMgui, InterfacePlotMulti, InterfacePlotOsp, InterfacePlotPanel, InterfacePlotSgt, InterfacePolygonPanel, InterfaceProjectPanel, InterfaceQueryPanel, InterfaceRadialRep, InterfaceRadialRep2, InterfaceSectionSetPanel, InterfaceSelectionPanel, InterfaceSelectionSet, InterfaceShapesPanel, InterfaceSplitPanel, InterfaceStatusBarPanel, InterfaceStripChart, InterfaceTabbedDisplayPanel, InterfaceTool2DPanel, InterfaceToolPanel, InterfaceTreePanel, InterfaceVolumePanel, InterfaceVolumeSetPanel, IntPolygon2DInt, Line2DInt, LPolygon2DInt, MatrixImagePlot, Mesh2DInt, MorphSections3DInt, Point2DInt, PointSet2DInt, Polygon2DInt, RadialRep2DInt, Rect2DInt, RotateView3DTaskDialogPanel, SectionSet2DInt, SectionSet3DInt, SetView3DTaskDialogPanel, SgtMultilinePlot, SgtScatterplot, Shape2DInt, Shape2DSectionNode, Shape2DSelectionSet, Shape2DTreeNode, Shape3DSceneNode, Shape3DTreeNode, ShapeModel3D, ShapeModel3DTreeNode, ShapeSceneNode, ShapeSelectionSet, ShapeSet2DInt, ShapeSet3DInt, ShapeStatsPanel, ShapeTreeNode, TensorVolume3DInt, Text2DInt, Text2DIntMouseCoords, Vector2DInt, VideoTaskDialogPanel, View3D, Volume2DInt, Volume3DInt, Volume4DInt, VolumeSet3DInt

public interface ShapeListener
Specifies an object that listens to events on an InterfaceShape.
Author:
Andrew Reid
  • Method Summary

    Modifier and Type Method Description
    void destroy()
    Destroys this listener.
    boolean isDestroyed()
    Returns true if this listener has been destroyed.
    void shapeUpdated​(ShapeEvent event)
    A shape that this object is listening to has been updated.
  • Method Details

    • shapeUpdated

      void shapeUpdated​(ShapeEvent event)
      A shape that this object is listening to has been updated. The specific type of event is defined by ShapeEvent.EventType.
      Parameters:
      event -
    • isDestroyed

      boolean isDestroyed()
      Returns true if this listener has been destroyed.
      Returns:
    • destroy

      void destroy()
      Destroys this listener. Once this is called, isDestroyed() must return true.