org.keridwen.modelling.group.editor.ui
Class SeriesTableEditor

java.lang.Object
  extended by org.keridwen.modelling.group.editor.ui.SeriesTableEditor
All Implemented Interfaces:
ActionListener, EventListener

public class SeriesTableEditor
extends Object
implements ActionListener

Table based editor for SeriesOfDoubleCharacteristic.

Author:
J.Forest, Artenum SARL.

Field Summary
 String OK_ACTION
           
 
Constructor Summary
SeriesTableEditor(JFrame frame, com.artenum.frida.characteristic.SeriesOfDoubleCharacteristic series)
          Default constructor.
 
Method Summary
 void actionPerformed(ActionEvent evt)
           
 JPanel getMainPanel()
          Return the main panel containing the table and its header.
 JTable getTable()
          Return the table.
 void initComponents()
          Initialise the UI.
static void main(String[] args)
          For test purpose only.
 void show()
           
 void updateSeries()
          Update the series according the values in the table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK_ACTION

public final String OK_ACTION
See Also:
Constant Field Values
Constructor Detail

SeriesTableEditor

public SeriesTableEditor(JFrame frame,
                         com.artenum.frida.characteristic.SeriesOfDoubleCharacteristic series)
Default constructor.

Parameters:
series - - series to be edited.
Method Detail

initComponents

public void initComponents()
Initialise the UI.


show

public void show()

getTable

public JTable getTable()
Return the table.

Returns:

getMainPanel

public JPanel getMainPanel()
Return the main panel containing the table and its header.

Returns:

updateSeries

public void updateSeries()
Update the series according the values in the table.


actionPerformed

public void actionPerformed(ActionEvent evt)
Specified by:
actionPerformed in interface ActionListener

main

public static void main(String[] args)
For test purpose only.

Parameters:
args -


Copyright © 2012-2013 Artenum. All Rights Reserved.