org.opensha.sha.gui.controls
Class XY_ValuesControlPanel

java.lang.Object
  extended by org.opensha.commons.gui.ControlPanel
      extended by org.opensha.sha.gui.controls.XY_ValuesControlPanel
All Implemented Interfaces:
Named

public class XY_ValuesControlPanel
extends ControlPanel

Title: XY_ValuesControlPanel

Description: This class allows user to enter X and Y values. Each line represents one XY value and each XY value should be space seperated.

Version:
1.0
Author:
:Nitin Gupta

Field Summary
static String NAME
           
 
Constructor Summary
XY_ValuesControlPanel(Component parent, CurveDisplayAppAPI api)
           
 
Method Summary
 void cancelButton_actionPerformed(ActionEvent actionEvent)
           
 void doinit()
          This method will be called the first time the control panel is displayed.
 Window getComponent()
           
 void okButton_actionPerformed(ActionEvent actionEvent)
           
 
Methods inherited from class org.opensha.commons.gui.ControlPanel
getName, init, isInitialized, showControlPanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

XY_ValuesControlPanel

public XY_ValuesControlPanel(Component parent,
                             CurveDisplayAppAPI api)
Method Detail

doinit

public void doinit()
Description copied from class: ControlPanel
This method will be called the first time the control panel is displayed. All setup should be in this method and not in the constructor, so that the apps can start quickly.

Specified by:
doinit in class ControlPanel

cancelButton_actionPerformed

public void cancelButton_actionPerformed(ActionEvent actionEvent)

okButton_actionPerformed

public void okButton_actionPerformed(ActionEvent actionEvent)

getComponent

public Window getComponent()
Specified by:
getComponent in class ControlPanel