KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jdesktop > swing > data > DefaultDataModelMetaDataProviderTest


1 /*
2  * $Id: DefaultDataModelMetaDataProviderTest.java,v 1.1 2004/12/16 17:09:37 kleopatra Exp $
3  *
4  * Copyright 2004 Sun Microsystems, Inc., 4150 Network Circle,
5  * Santa Clara, California 95054, U.S.A. All rights reserved.
6  */

7 package org.jdesktop.swing.data;
8
9 /**
10  * testing the MetaDataProvider aspect of DefaultDataModel.
11  *
12  * @author Jeanette Winzenburg
13  */

14 public class DefaultDataModelMetaDataProviderTest extends
15         AbstractMetaDataProviderTst {
16
17     protected MetaDataProvider createFilledMetaDataProvider() {
18         return new DefaultDataModel(defaultMetaData);
19     }
20
21     protected MetaDataProvider createEmptyMetaDataProvider() {
22         return new DefaultDataModel();
23     }
24
25 }
26
Popular Tags