Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.plugins.administrator.gui
Class ConceptTableModel  view ConceptTableModel download ConceptTableModel.java

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byorg.lucane.plugins.administrator.gui.ConceptTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

class ConceptTableModel
extends javax.swing.table.AbstractTableModel


Field Summary
private  java.util.ArrayList concepts
           
private  javax.swing.ImageIcon groupIcon
           
private  javax.swing.ImageIcon pluginIcon
           
private  javax.swing.ImageIcon serviceIcon
           
private  javax.swing.ImageIcon userIcon
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ConceptTableModel(org.lucane.client.Plugin plugin, java.util.ArrayList concepts)
           
 
Method Summary
 void addConcept(org.lucane.common.concepts.Concept concept)
           
 java.lang.Class getColumnClass(int c)
          Returns the Class for all Object instances in the specified column.
 int getColumnCount()
          Returns the number of columns in the model.
 org.lucane.common.concepts.Concept getConceptAt(int row)
           
 java.util.ArrayList getConceptList()
           
 int getRowCount()
          Returns the number of rows in the model.
 java.lang.Object getValueAt(int x, int y)
          Returns the value (Object) at a particular cell in the table.
 void removeAt(int row)
           
 void setConcepts(java.util.ArrayList concepts)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

concepts

private java.util.ArrayList concepts

groupIcon

private javax.swing.ImageIcon groupIcon

userIcon

private javax.swing.ImageIcon userIcon

pluginIcon

private javax.swing.ImageIcon pluginIcon

serviceIcon

private javax.swing.ImageIcon serviceIcon
Constructor Detail

ConceptTableModel

public ConceptTableModel(org.lucane.client.Plugin plugin,
                         java.util.ArrayList concepts)
Method Detail

setConcepts

public void setConcepts(java.util.ArrayList concepts)

addConcept

public void addConcept(org.lucane.common.concepts.Concept concept)

getConceptAt

public org.lucane.common.concepts.Concept getConceptAt(int row)

removeAt

public void removeAt(int row)

getConceptList

public java.util.ArrayList getConceptList()

getValueAt

public java.lang.Object getValueAt(int x,
                                   int y)
Description copied from interface: javax.swing.table.TableModel
Returns the value (Object) at a particular cell in the table.


getColumnClass

public java.lang.Class getColumnClass(int c)
Description copied from class: javax.swing.table.AbstractTableModel
Returns the Class for all Object instances in the specified column.


getColumnCount

public int getColumnCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of columns in the model.


getRowCount

public int getRowCount()
Description copied from interface: javax.swing.table.TableModel
Returns the number of rows in the model.