edu.jhu.tmaj.client.admin
Class ManyDataPanel

java.lang.Object
  extended by edu.jhu.tmaj.client.admin.ManyDataPanel

final class ManyDataPanel
extends java.lang.Object

The GUI for the ManyToManyPanel, which the reverse direction is set and final. If the user clicks the reverse button, a new ManyDataPanel is generated.


Field Summary
(package private)  boolean isReversed
           
 
Constructor Summary
ManyDataPanel(java.util.List<JBean> beanList1, java.util.List<JBean> beanList2, java.lang.String label1, java.lang.String label2, ManyToManyBean manyToManyBean, boolean isReversed)
           
 
Method Summary
(package private)  javax.swing.JPanel getDataPanel()
           
 void refresh(java.util.List key1_list, java.util.List key2_list)
          Refreshes data in both lists.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isReversed

final boolean isReversed
Constructor Detail

ManyDataPanel

ManyDataPanel(java.util.List<JBean> beanList1,
              java.util.List<JBean> beanList2,
              java.lang.String label1,
              java.lang.String label2,
              ManyToManyBean manyToManyBean,
              boolean isReversed)
Method Detail

refresh

public void refresh(java.util.List key1_list,
                    java.util.List key2_list)
Refreshes data in both lists. Useful if the keys have been added, modified, or deleted from either list.


getDataPanel

javax.swing.JPanel getDataPanel()