|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
jcreek.gui.representation.FrameTableModel
Title: FrameTableModelionsTable
Description: A combineded TableModel, TableCellRenderer and TableCellEditor for tables containg a set of relations.
Field Summary | |
protected java.awt.event.MouseAdapter |
actionListen
|
protected java.util.Vector |
actionListeners
|
protected boolean |
editable
|
protected javax.swing.ImageIcon |
followIcon
|
protected boolean |
includeAction
|
protected java.awt.Color |
inheritedColor
|
protected javax.swing.JTable |
myTable
|
protected java.awt.Color |
negatedColor
|
protected static javax.swing.border.Border |
noFocusBorder
|
protected java.util.Vector |
relations
|
protected javax.swing.ImageIcon |
removeIcon
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
FrameTableModel(Relation[] rels)
|
Method Summary | |
void |
addLinkListener(LinkListener listener)
|
void |
addRelation(Relation rel)
|
protected void |
fireLinkAction(LinkEvent e)
|
protected void |
fireLinkEvent(LinkEvent e)
|
void |
formatTable(javax.swing.JTable table,
KnowledgeModel knowledgeModel)
|
java.lang.Class |
getColumnClass(int column)
|
int |
getColumnCount()
Returns the number of rows in the table |
java.lang.String |
getColumnName(int columnIndex)
Returns the column names. |
Relation[] |
getRelations()
|
int |
getRowCount()
Returns the number of rows in the table |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value at the given position. |
boolean |
isCellEditable(int row,
int cell)
|
boolean |
isEditable()
|
Relation |
relationAt(int row)
|
void |
removeLinkListener(LinkListener listener)
|
void |
removeRelation(Relation rel)
|
void |
setEditable(boolean editable)
|
void |
setRelations(Relation[] rels)
|
void |
setTable(javax.swing.JTable table)
|
void |
setValueAt(java.lang.Object value,
int row,
int column)
|
void |
updateRelation(Relation rel)
|
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.awt.Color inheritedColor
protected java.awt.Color negatedColor
protected static javax.swing.border.Border noFocusBorder
protected boolean includeAction
protected java.util.Vector relations
protected java.util.Vector actionListeners
protected javax.swing.JTable myTable
protected boolean editable
protected javax.swing.ImageIcon removeIcon
protected javax.swing.ImageIcon followIcon
protected java.awt.event.MouseAdapter actionListen
Constructor Detail |
public FrameTableModel(Relation[] rels)
Method Detail |
public void formatTable(javax.swing.JTable table, KnowledgeModel knowledgeModel)
public void setTable(javax.swing.JTable table)
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public void setValueAt(java.lang.Object value, int row, int column)
public int getRowCount()
public int getColumnCount()
public boolean isCellEditable(int row, int cell)
public void setEditable(boolean editable)
public boolean isEditable()
public java.lang.String getColumnName(int columnIndex)
public java.lang.Class getColumnClass(int column)
public void removeRelation(Relation rel)
public void addRelation(Relation rel)
public Relation relationAt(int row)
public void setRelations(Relation[] rels)
public Relation[] getRelations()
public void updateRelation(Relation rel)
public void addLinkListener(LinkListener listener)
public void removeLinkListener(LinkListener listener)
protected void fireLinkEvent(LinkEvent e)
protected void fireLinkAction(LinkEvent e)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |