Class MultiPointFeatureOverlayStatsPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class MultiPointFeatureOverlayStatsPanel extends JLayeredPane
A MultiPointFeatureOverlayStatsPanel shows a set of statistics of expressions computed over the visible set of overlay symbols selected by a MultiPointFeatureOverlay object.
Since:
3.3.2
Author:
Peter Hollemans
See Also:
  • Field Details

    • EXPRESSION_LIST_PROPERTY

      public static final String EXPRESSION_LIST_PROPERTY
      The property change event for the expresion list.
      See Also:
  • Constructor Details

    • MultiPointFeatureOverlayStatsPanel

      public MultiPointFeatureOverlayStatsPanel(MultiPointFeatureOverlay<? extends PointFeatureSymbol> multiPointOverlay, EarthArea area)
      Creates a new expression statistics display panel.
      Parameters:
      multiPointOverlay - the overlay to use for feature data.
      area - the earth area to use for feature data.
  • Method Details

    • overlayChanged

      public void overlayChanged()
      Signals that the feature overlay has changed in some way, and to update the stats panel accordingly.
    • doLayout

      public void doLayout()
      Overrides:
      doLayout in class Container
    • addExpression

      public void addExpression(String expression)
      Adds an expression to the end of the statistics table.
      Parameters:
      expression - the expression to add.
    • getExpressionList

      public List<String> getExpressionList()
      Gets the list of expressions computed by the panel.
      Returns:
      a copy of the expression list.
    • main

      public static void main(String[] argv)
      Tests this class.
      Parameters:
      argv - the array of command line parameters.