Interface PopupMenuObject

All Known Subinterfaces:
QueryTool, Tool
All Known Implementing Classes:
AbstractNetworkGraph, AttributeObjectVideoTaskDialogPanel, AttributeTreeNode, BoolPolygon2DInt, Box3DInt, CaminoPipelineTree, CaminoTaskTreeNode, CategoryTitle, ChangeSectionVideoTaskDialogPanel, Circle2DInt, ContinuousColourBar, CorticalHemisphereSet3DInt, CorticalNetworkGraph, CorticalSurfaceSet3DInt, DataFieldTreeNode, DataQuery, DataSource, DataTable, DefaultGraph, DialogTool, DiscreteColourMapLayout, Ellipse2DInt, Graph2DInt, Graph3DInt, GridVertexDataColumn, Image2DInt, Image3DInt, InterfaceAbstractGraph, 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, InterfaceNetworkTreeNode, InterfaceNeuroMeshPanel, InterfaceNeuroMeshPanel2, InterfaceNeuroTreeNode, InterfacePanel, InterfacePipelinesPanel, InterfacePlot, InterfacePlotDisplay, InterfacePlotMgui, InterfacePlotMulti, InterfacePlotOsp, InterfacePlotPanel, InterfacePlotSgt, InterfacePolygonPanel, InterfaceProject, InterfaceProjectPanel, InterfaceQueryPanel, InterfaceRadialRep, InterfaceRadialRep2, InterfaceSectionSetPanel, InterfaceSelectionPanel, InterfaceSelectionSet, InterfaceShape, InterfaceShapesPanel, InterfaceSplitPanel, InterfaceStatusBarPanel, InterfaceStripChart, InterfaceTabbedDisplayPanel, InterfaceTool2DPanel, InterfaceToolPanel, InterfaceTreeNode, InterfaceTreePanel, InterfaceVolumePanel, InterfaceVolumeSetPanel, IntPolygon2DInt, Line2DInt, LPolygon2DInt, LPolygon3DInt, MatrixImagePlot, Mesh2DInt, Mesh3DInt, MorphSections3DInt, NeuralNetGraph, PipelineTree, Plane3DInt, Point2DInt, PointSet2DInt, PointSet3DInt, Polygon2DInt, Polygon3DInt, PolygonSet3DInt, RadialRep2DInt, Rect2DInt, Rect3DInt, RotateView3DTaskDialogPanel, SectionSet2DInt, SectionSet3DInt, SetView3DTaskDialogPanel, SgtMultilinePlot, SgtScatterplot, Shape2DInt, Shape2DSelectionSet, Shape2DTreeNode, Shape3DInt, Shape3DTreeNode, ShapeModel3D, ShapeModel3DTreeNode, ShapeSelectionSet, ShapeSet2DInt, ShapeSet3DInt, ShapeStatsPanel, ShapeTreeNode, TaskTreeNode, TensorVolume3DInt, TestTextureInt, Text2DInt, Text2DIntMouseCoords, Tool2D, Tool3D, ToolCreateEllipse2D, ToolCreateImage2D, ToolCreateImage3D, ToolCreateMeshFromPolylines, ToolCreatePolygon2D, ToolCreateRect2D, ToolCutMeshWithPlane, ToolDataSource, ToolDefine3DGrid2D, ToolDZoom2D, ToolGetConvexHull2D, ToolGetMeshIntersectionPolylines, ToolGraph, ToolGraphImage, ToolGraphTransform, ToolLayout2D, ToolMouseOrbit3D, ToolPan2D, ToolPlot, ToolQueryShape2D, ToolQueryShape3D, ToolReversePolygon2D, ToolRuler2D, ToolSelectMeshBoundaryNodes, ToolSelectNodesWithPolygon, ToolSelectRegionBoundaryNodes, ToolSelectShape2D, ToolSelectShape3D, ToolTestInternalPoint2D, ToolWindowZoom2D, ToolZoomExt2D, Vector2DInt, Vector3DInt, VectorSet3DInt, VertexDataColumn, VideoTaskDialogPanel, Volume2DInt, Volume3DInt, Volume4DInt, VolumeSet3DInt, X3DScene3DInt

public interface PopupMenuObject
Interface which should be implemented for all graphical objects which require popup menu functionality.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Method Summary

    Modifier and Type Method Description
    InterfacePopupMenu getPopupMenu()
    Produces and returns a popup menu for this object.
    InterfacePopupMenu getPopupMenu​(java.util.List<java.lang.Object> selection)
    Produces and returns a popup menu for this object.
    void handlePopupEvent​(java.awt.event.ActionEvent e)
    Handles an event on this object's popup menu.
    void showPopupMenu​(java.awt.event.MouseEvent e)
    Shows a popup menu at the point of the given MouseEvent.
  • Method Details

    • getPopupMenu

      InterfacePopupMenu getPopupMenu()
      Produces and returns a popup menu for this object.
      Returns:
    • getPopupMenu

      InterfacePopupMenu getPopupMenu​(java.util.List<java.lang.Object> selection)
      Produces and returns a popup menu for this object. Allows an associated list of objects to be passed as an argument.
      Returns:
    • handlePopupEvent

      void handlePopupEvent​(java.awt.event.ActionEvent e)
      Handles an event on this object's popup menu.
      Parameters:
      e -
    • showPopupMenu

      void showPopupMenu​(java.awt.event.MouseEvent e)
      Shows a popup menu at the point of the given MouseEvent.
      Parameters:
      e -