Class AnimatedProfileG2dDialog

All Implemented Interfaces:
RefreshListener, ActionListener, ComponentListener, ImageObserver, MenuContainer, Pageable, Printable, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, Modifiable, VCRControlsListener

public class AnimatedProfileG2dDialog extends G2dDialog implements VCRControlsListener
This is a G2dDialog for plotting (vertical) profile plots with animation using an Animation Control dialog with VCR style controls.
See Also:
  • Field Details

    • _plotObjs

      protected List _plotObjs
      Description of the Field.
    • MAX_PAIRED_DATA_POINTS

      public static final int MAX_PAIRED_DATA_POINTS
      The Constant MAX_PAIRED_DATA_POINTS.
      See Also:
    • _helpBroker

      public static javax.help.HelpBroker _helpBroker
      The _help broker.
    • _helpSet

      public static javax.help.HelpSet _helpSet
      The _help set.
  • Constructor Details

    • AnimatedProfileG2dDialog

      public AnimatedProfileG2dDialog(Frame owner, String title, boolean modal, Vector datavec, Vector colorvec, boolean reverseX, boolean reverseY)
      Constructor for the ProfileG2dDialog object.
      Parameters:
      owner - the owner
      title - the title
      modal - the modal
      datavec - the datavec
      colorvec - the colorvec
  • Method Details

    • setParameterDisplayed

      public void setParameterDisplayed(String param)
      Set the selected parameter data is displayed in.
      Parameters:
      param - the new parameter displayed
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      Method that handles tabulate action events generated by the menu items.
      Specified by:
      actionPerformed in interface ActionListener
      Overrides:
      actionPerformed in class G2dDialog
      Parameters:
      e - The action event generated by a specific item
    • tabulate

      public HecDataTableFrame tabulate(boolean showTable)
      tabluate this plot.
      Overrides:
      tabulate in class G2dDialog
      Parameters:
      showTable - whether to set the HecDataTableFrame visible or not
      Returns:
      the HecDataTableFrame
    • getTabulateObjects

      protected Vector getTabulateObjects(Vector v)
    • getTabulateObject

      public Object getTabulateObject(Object obj, Class firstObjClass)
      Gets the tabulate object.
      Overrides:
      getTabulateObject in class G2dDialog
      Parameters:
      obj - the obj
      firstObjClass - the first obj class
      Returns:
      the tabulate object
    • animatePlot

      public void animatePlot()
      Displays the Animation Control dialog for the animated display of the vertical profiles.
      See Also:
    • controlSelected

      public void controlSelected(int cmd)
      Description of the Method.
      Specified by:
      controlSelected in interface VCRControlsListener
      Parameters:
      cmd - the cmd
    • sliderMoved

      public void sliderMoved(int pos)
      This methods receives the notification from the Animation Control dialog through the VCRPlayer when the VCR slider has changed position.
      Specified by:
      sliderMoved in interface VCRControlsListener
      Parameters:
      pos - - the new position for the animation control slider
    • setAnimationTitle

      public void setAnimationTitle(String plotTitle)
    • setVisible

      public void setVisible(boolean visible)
      set the visible state of this editor. If not longer visible the current size and location are saved.
      Overrides:
      setVisible in class G2dDialog
      Parameters:
      visible - the new visible
      See Also: