1 19 23 package org.netbeans.modules.j2ee.sun.ide.editors.ui; 24 25 import java.util.*; 26 27 import javax.swing.table.*; 28 29 36 public interface DDTableModel extends TableModel { 44 45 48 public String getModelName(); 49 50 public DDTableModelEditor getEditor(); 51 52 public Object [] getValue (); 53 54 public Object getValueAt (int row); 55 56 public void setValueAt (int row, Object value); 57 58 public Object makeNewElement (); 59 60 63 public void newElementCancelled(Object newRow); 64 65 public void addRowAt (int row, Object newRow, Object editedValue); 66 67 68 public void removeRowAt(int row); 69 70 80 public boolean isEditValid (Object rowValue, int row); 81 82 85 public List canRemoveRow (int row); 86 87 91 public List isValueValid(Object rowValue, int fromRow); 92 93 96 public void editsCancelled(); 97 } 98 | Popular Tags |