@Test public void testGetColumnClassInt() { RepositoryTableModel repoTableModel = new RepositoryTableModel(); assertNotNull( repoTableModel ); assertEquals( Date.class, repoTableModel.getColumnClass( 2 ) ); assertEquals( String.class, repoTableModel.getColumnClass( 1 ) ); }
public Class getColumnClass( final int column ) { if ( column == 2 ) { return Date.class; } return String.class; }
RepositoryTableModel extends AbstractTableModel { public Class getColumnClass( final int column ) { if ( column == 2 ) { return Date.class; } return String.class; } }
RepositoryTableModel extends AbstractTableModel { public Class getColumnClass( final int column ) { if ( column == 2 ) { return Date.class; } return String.class; } RepositoryTableModel(); }
RepositoryTableModel extends AbstractTableModel { public Class getColumnClass( final int column ) { if ( column == 2 ) { return Date.class; } return String.class; } RepositoryTableModel(); boolean isShowHiddenFiles(); void setShowHiddenFiles( final boolean showHiddenFiles ); String[] getFilters(); void setFilters( final String[] filters ); FileObject getSelectedPath(); void setSelectedPath( final FileObject selectedPath ); int getColumnCount(); int getRowCount(); String getColumnName( final int col ); FileObject getElementForRow( final int row ); Object getValueAt( final int row, final int column ); Class getColumnClass( final int column ); }
RepositoryTableModel extends AbstractTableModel { public Class getColumnClass( final int column ) { if ( column == 2 ) { return Date.class; } return String.class; } RepositoryTableModel(); boolean isShowHiddenFiles(); void setShowHiddenFiles( final boolean showHiddenFiles ); String[] getFilters(); void setFilters( final String[] filters ); FileObject getSelectedPath(); void setSelectedPath( final FileObject selectedPath ); int getColumnCount(); int getRowCount(); String getColumnName( final int col ); FileObject getElementForRow( final int row ); Object getValueAt( final int row, final int column ); Class getColumnClass( final int column );  }