From d547f87da5f68c12dede7c9d45618cae11ff5699 Mon Sep 17 00:00:00 2001 From: Matt Windsor Date: Fri, 18 Mar 2011 08:28:09 +0000 Subject: Mega-commit to the rescue! Added Javadoc snapshot (admittedly old); show UI now fixed-layout; UI uses system selection colours for accents; now uses bapsserver password and can thus talk to show database relations; removed member relation dependencies until further notice; attempted to get application and applet launchers working but having issues with the latter; started working on a server communicating via a minimal implementation of HTTP 1.1 (standardisation required eventually). --- doc/uk/org/ury/library/LibraryTableModel.html | 362 ++++++++++++++++++++++++++ 1 file changed, 362 insertions(+) create mode 100644 doc/uk/org/ury/library/LibraryTableModel.html (limited to 'doc/uk/org/ury/library/LibraryTableModel.html') diff --git a/doc/uk/org/ury/library/LibraryTableModel.html b/doc/uk/org/ury/library/LibraryTableModel.html new file mode 100644 index 0000000..aa906fa --- /dev/null +++ b/doc/uk/org/ury/library/LibraryTableModel.html @@ -0,0 +1,362 @@ + + + + + + +LibraryTableModel + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +uk.org.ury.library +
+Class LibraryTableModel

+
+java.lang.Object
+  extended by javax.swing.table.AbstractTableModel
+      extended by uk.org.ury.library.LibraryTableModel
+
+
+
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
+
+
+
+
public class LibraryTableModel
extends javax.swing.table.AbstractTableModel
+ + +

+A table model for the library viewer. +

+ +

+

+
Author:
+
Matt Windsor
+
See Also:
Serialized Form
+
+ +

+ + + + + + + + + + + +
+Constructor Summary
LibraryTableModel(java.util.List<LibraryItem> data) + +
+          Construct a new table model.
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+ java.lang.Class<?>getColumnClass(int c) + +
+           
+ intgetColumnCount() + +
+           
+ java.lang.StringgetColumnName(int index) + +
+           
+ intgetRowCount() + +
+           
+ java.lang.ObjectgetValueAt(int rowIndex, + int columnIndex) + +
+           
+ + + + + + + +
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
+ + + + + + + +
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + +
+Constructor Detail
+ +

+LibraryTableModel

+
+public LibraryTableModel(java.util.List<LibraryItem> data)
+
+
Construct a new table model. +

+

+
Parameters:
data - The list of data on which the model will be based.
+
+ + + + + + + + +
+Method Detail
+ +

+getColumnCount

+
+public int getColumnCount()
+
+
+
+
+
+
+ +

+getRowCount

+
+public int getRowCount()
+
+
+
+
+
+
+ +

+getColumnClass

+
+public java.lang.Class<?> getColumnClass(int c)
+
+
+
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel
+
+
+
Parameters:
c - The column whose class should be investigated. +
Returns:
the column class of column c.
+
+
+
+ +

+getValueAt

+
+public java.lang.Object getValueAt(int rowIndex,
+                                   int columnIndex)
+
+
+
+
+
+
+ +

+getColumnName

+
+public java.lang.String getColumnName(int index)
+
+
+
Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3