Class UpdatePhaseTable

java.lang.Object
  extended by UpdatePhaseTable

public class UpdatePhaseTable
extends java.lang.Object

Handles updates to the table of phases present in the equilibrium assemblage. Controls entries of the phase popup menu, which in turn determines phases available for peroperties display.

Version:
1.0 (August 2007)
Author:
Mark S. Ghiorso, OFM-Research Inc.

Constructor Summary
UpdatePhaseTable(rock.dRock rockRef, PhaseTableModel pTableModel, javax.swing.JComboBox phasePopupMenu)
          Creates the GUI and initializes the class.
 
Method Summary
 void update()
          Updates the phase table and the phase popup menu.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdatePhaseTable

public UpdatePhaseTable(rock.dRock rockRef,
                        PhaseTableModel pTableModel,
                        javax.swing.JComboBox phasePopupMenu)
Creates the GUI and initializes the class.

Parameters:
rockRef - Instance of server-side rock object.
pTableModel - Instance of a PhaseTableModel class to populate and control. Must exist prior to instantiating this class.
phasePopupMenu - Instance of a JComboBox class to populate and control. Must exist prior to instantiating this class.
Method Detail

update

public void update()
Updates the phase table and the phase popup menu.