Interface ProductNodeView

All Known Implementing Classes:
ProductPlacemarkView, ProductSceneView

public interface ProductNodeView
An interface which can be used to mark a visible component as a view displaying a product node. Applications can ask a component whether it implements this interface in order to find out which product node is currently displayed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases all of the resources used by this view and all of its owned children.
    Gets the bounds of this view in the form of a Rectangle object.
     
  • Method Details

    • getVisibleProductNode

      ProductNode getVisibleProductNode()
      Returns:
      The currently visible product node.
    • dispose

      void dispose()
      Releases all of the resources used by this view and all of its owned children. Its primary use is to allow the garbage collector to perform a vanilla job.

      This method should be called only if it is for sure that this object instance will never be used again. The results of referencing an instance of this class after a call to dispose() are undefined.

    • getBounds

      Rectangle getBounds()
      Gets the bounds of this view in the form of a Rectangle object. The bounds specify this view's width, height, and location relative to its parent GUI widget.
      Returns:
      a rectangle indicating this view's bounds