001 /*
002 * Copyright 2002-2006 the original author or authors.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
005 * use this file except in compliance with the License. You may obtain a copy
006 * of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
013 * License for the specific language governing permissions and limitations
014 * under the License.
015 */
016 package org.springframework.richclient.list;
017
018 import java.util.Vector;
019
020 import javax.swing.table.DefaultTableModel;
021
022 /**
023 * Default implementation for {@link TableListModel}
024 *
025 * @author Mathias Broekelmann
026 *
027 */
028 public class DefaultTableListModel extends DefaultTableModel implements TableListModel {
029
030 public DefaultTableListModel() {
031 super();
032 }
033
034 public DefaultTableListModel(int rowCount, int columnCount) {
035 super(rowCount, columnCount);
036 }
037
038 public DefaultTableListModel(Object[] columnNames, int rowCount) {
039 super(columnNames, rowCount);
040 }
041
042 public DefaultTableListModel(Object[][] data, Object[] columnNames) {
043 super(data, columnNames);
044 }
045
046 public DefaultTableListModel(Vector columnNames, int rowCount) {
047 super(columnNames, rowCount);
048 }
049
050 public DefaultTableListModel(Vector data, Vector columnNames) {
051 super(data, columnNames);
052 }
053 }