edu.jhu.tmaj.client.arraybuilder
Class ArrayBlockFrame

java.lang.Object
  extended by edu.jhu.tmaj.client.arraybuilder.ArrayBlockFrame

public final class ArrayBlockFrame
extends java.lang.Object

The gui that holds an ArrayBlock in the ArrayBuilder application. There may be multiple ArrayBlocks opened at once in the ArrayBuilder application.


Method Summary
 void display()
           
 void dispose()
           
 ArrayBlockBean getArrayBlockBean()
           
 ArrayBuilderTable getArrayBuilderTable()
           
 javax.swing.JFrame getFrame()
           
static ArrayBlockFrame getInstance(ArrayBlockBean arrayBlockBean, ArrayCoreReferenceBean arrayCoreReferenceBean, CellLinesReferenceBean cellLinesReferenceBean)
           
 boolean isWritable()
          Returns true if the user is allowed to make changes to the current ArrayBlock
 void saveToDatabaseMenuItemClicked()
          Saves the ArrayBlock to the database
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static ArrayBlockFrame getInstance(ArrayBlockBean arrayBlockBean,
                                          ArrayCoreReferenceBean arrayCoreReferenceBean,
                                          CellLinesReferenceBean cellLinesReferenceBean)

display

public void display()

dispose

public void dispose()

getArrayBuilderTable

public ArrayBuilderTable getArrayBuilderTable()

getArrayBlockBean

public ArrayBlockBean getArrayBlockBean()

getFrame

public javax.swing.JFrame getFrame()

isWritable

public boolean isWritable()
Returns true if the user is allowed to make changes to the current ArrayBlock


saveToDatabaseMenuItemClicked

public void saveToDatabaseMenuItemClicked()
Saves the ArrayBlock to the database


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object