2
Fork 0

[svn r342] WIP2

This commit is contained in:
willemc 2008-09-13 17:04:49 +02:00
parent a60c7487e9
commit 62f7881380
40 changed files with 1559 additions and 514 deletions

View file

@ -33,6 +33,7 @@ import javax.swing.JFrame;
import javax.swing.JPanel;
import com.idcanet.vasc.core.VascEntry;
import com.idcanet.vasc.frontends.swing.SwingVascFrontend;
import junit.framework.TestCase;
@ -53,16 +54,7 @@ public class SwingTest extends TestCase {
public void tearDown() throws Exception {
}
/*
- default view field
- Admin fields and order
- Admin field groups -> 'collapse
- List filters auto by type
- search fields
*/
public void testAll() throws Exception {
JFrame.setDefaultLookAndFeelDecorated(false);
@ -73,15 +65,15 @@ public class SwingTest extends TestCase {
frame.setLocationRelativeTo(null);
// get table
VascTable table = TestTable.getVascTable();
VascEntry entry = TestTable.getVascTable();
// define redering
JPanel panel = new JPanel();
SwingVascViewRenderer render = new SwingVascViewRenderer(panel);
SwingVascFrontend render = new SwingVascFrontend(panel);
frame.add(panel);
// render
render.initTable(table);
render.initEntry(entry);
//table.getTableColumns().get(0).set