/** Refreshes the user interface in response to display changes such as Language. */
 protected void refreshGUI() {
   super.refreshGUI();
   messageLabel.setText(ControlsRes.getString("OSPControl.Messages"));
   clearLabel.setText(ControlsRes.getString("OSPControl.Clear"));
   inputLabel.setText(ControlsRes.getString("OSPControl.Input_Parameters"));
   table.refresh();
 }
 /** Remove all text from the data input area. */
 public void clearValues() {
   table.clearValues();
 }
 /**
  * Reads the current property names.
  *
  * @return the property names
  */
 public Collection getPropertyNames() {
   return table.getPropertyNames();
 }
 /**
  * Reads a parameter value from the input display.
  *
  * @param par the parameter name
  * @return the value of of the parameter
  */
 public boolean getBoolean(String par) {
   return table.getBoolean(par);
 }
 /**
  * Reads a parameter value from the input display.
  *
  * @param par the parameter name
  * @return String the value of of the parameter
  */
 public String getString(String par) {
   return table.getString(par);
 }
 /**
  * Gets the object with the specified property name. Throws an UnsupportedOperationException if
  * the named object has not been stored.
  *
  * @param par
  * @return the object
  */
 public Object getObject(String par) throws UnsupportedOperationException {
   return table.getObject(par);
 }
 /**
  * Reads a parameter value from the input display.
  *
  * @param par
  * @return int the value of of the parameter
  */
 public int getInt(String par) {
   return table.getInt(par);
 }
 /**
  * Reads a parameter value from the input display.
  *
  * @param par
  * @return double the value of of the parameter
  */
 public double getDouble(String par) {
   return table.getDouble(par);
 }
 /**
  * Removes a parameter from the table.
  *
  * @param par the parameter name
  */
 public void removeParameter(String par) {
   table.setValue(par, null);
 }
 /**
  * Adds an initial value of a parameter to the input display.
  *
  * @param par the parameter name
  * @param val the initial parameter value
  */
 public void setValue(String par, int val) {
   table.setValue(par, Integer.toString(val));
 }
 /**
  * Adds an initial value of a parameter to the input display.
  *
  * @param par the parameter name
  * @param val the initial parameter value
  */
 public void setValue(String par, double val) {
   table.setValue(par, Double.toString(val));
 }
 /**
  * Adds an initial boolean value of a parameter to the input display.
  *
  * @param par the parameter name
  * @param val the initial parameter value
  */
 public void setValue(String par, boolean val) {
   table.setValue(par, val);
 }
 /**
  * Adds a parameter to the input display.
  *
  * @param par the parameter name
  * @param val the initial parameter value
  */
 public void setValue(String par, Object val) {
   table.setValue(par, val);
 }
 /**
  * Creates a string representation of the control parameters.
  *
  * @return the control parameters
  */
 public String toString() {
   return table.toString();
 }
 /**
  * Locks the control's interface. Values sent to the control will not update the display until the
  * control is unlocked.
  *
  * @param lock boolean
  */
 public void setLockValues(boolean lock) {
   table.setLockValues(true);
 }
 /**
  * Sets the editable property of the given parameter so that it can not be changed from within the
  * GUI.
  *
  * @param parameter String
  * @param editable boolean
  */
 public void setEditable(String parameter, boolean editable) {
   table.setEditable(parameter, editable);
 }