Package org.jdesktop.dataset

Examples of org.jdesktop.dataset.DataColumn


    private void initMetaData() {
        List<DataColumn> cols = table.getColumns();
        cachedMetaData = new MetaData[cols.size()];
        cachedFieldNames = new String[cachedMetaData.length];
        for (int i=0; i<cachedMetaData.length; i++) {
            DataColumn col = cols.get(i);
            //TODO if the column name changes, my cache is invalidated!!!
            cachedMetaData[i] = new MetaData(col.getName(), col.getType());
            cachedFieldNames[i] = col.getName();
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.dataset.DataColumn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.