diff options
| author | Paul Buetow <paul@buetow.org> | 2009-02-08 01:37:25 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-02-08 01:37:25 +0000 |
| commit | 69f0e6b0bf0dc0a6c6fe8ccf17c74960697ca10c (patch) | |
| tree | 4b99d266e90f2ac93e46b499b6e02c6dd4bcae18 /javadoc/client/CalendarTableModel.html | |
1.0 releasedv0.1
Diffstat (limited to 'javadoc/client/CalendarTableModel.html')
| -rw-r--r-- | javadoc/client/CalendarTableModel.html | 777 |
1 files changed, 777 insertions, 0 deletions
diff --git a/javadoc/client/CalendarTableModel.html b/javadoc/client/CalendarTableModel.html new file mode 100644 index 0000000..2e6ff3a --- /dev/null +++ b/javadoc/client/CalendarTableModel.html @@ -0,0 +1,777 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.4.2-p8) on Sat Apr 29 14:43:48 CEST 2006 --> +<TITLE> +CalendarTableModel +</TITLE> + +<META NAME="keywords" CONTENT="client.CalendarTableModel class"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + parent.document.title="CalendarTableModel"; +} +</SCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CalendarTableModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../client/CalendarTableCellRenderer.html" title="class in client"><B>PREV CLASS</B></A> + <A HREF="../client/NetCalendarClient.html" title="class in client"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../index.html" target="_top"><B>FRAMES</B></A> + <A HREF="CalendarTableModel.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +client</FONT> +<BR> +Class CalendarTableModel</H2> +<PRE> +java.lang.Object + <IMG SRC="../resources/inherit.gif" ALT="extended by">javax.swing.table.AbstractTableModel + <IMG SRC="../resources/inherit.gif" ALT="extended by"><B>client.CalendarTableModel</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, javax.swing.table.TableModel</DD> +</DL> +<HR> +<DL> +<DT>public final class <B>CalendarTableModel</B><DT>extends javax.swing.table.AbstractTableModel</DL> + +<P> +This class defined the table model of the JTable of the main calendar client window. All table + data and most of the table actions, like sorting or updating the content, go trough this class. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>buetow</DD> +<DT><B>See Also:</B><DD><A HREF="../serialized-form.html#client.CalendarTableModel">Serialized Form</A></DL> +<HR> + +<P> +<!-- ======== NESTED CLASS SUMMARY ======== --> + + +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#CATEGORY_HEADER">CATEGORY_HEADER</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#DATE_HEADER">DATE_HEADER</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#DESCRIPTION_HEADER">DESCRIPTION_HEADER</A></B></CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>static java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#PLACE_HEADER">PLACE_HEADER</A></B></CODE> + +<BR> + </TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#CalendarTableModel(javax.swing.JTable)">CalendarTableModel</A></B>(javax.swing.JTable jTable)</CODE> + +<BR> + Simple constructor, creates a calendar table model to be used with the JTable of the netcalendar client main window.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=2><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Class</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getColumnClass(int)">getColumnClass</A></B>(int iCol)</CODE> + +<BR> + This method returns the class types of a specific table column.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getColumnCount()">getColumnCount</A></B>()</CODE> + +<BR> + This method returns the number of columns of the JTable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.String</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getColumnName(int)">getColumnName</A></B>(int iCol)</CODE> + +<BR> + This method returns the column header of a specific table column.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../shared/CalendarEvent.html" title="class in shared">CalendarEvent</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getEvent(int)">getEvent</A></B>(int iRow)</CODE> + +<BR> + This method returns the calendar event which belongs to a specific table row</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getRowCount()">getRowCount</A></B>()</CODE> + +<BR> + This method retuns the number of rows of the JTable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Object</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#getValueAt(int, int)">getValueAt</A></B>(int iRow, + int iCol)</CODE> + +<BR> + Gets a specific table value</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#isCellEditable(int, int)">isCellEditable</A></B>(int iRow, + int iCol)</CODE> + +<BR> + This method checks if a cell is editable or not.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#reverseSortByCategory()">reverseSortByCategory</A></B>()</CODE> + +<BR> + Reverse sorts the table content by their category names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#reverseSortByCol(int)">reverseSortByCol</A></B>(int iCol)</CODE> + +<BR> + Reverse sorts the table content by a specified table column.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#reverseSortByDate()">reverseSortByDate</A></B>()</CODE> + +<BR> + Reverse sorts the table content by their dates.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#reverseSortByDescription()">reverseSortByDescription</A></B>()</CODE> + +<BR> + Reverse sorts the table content by their description texts.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#reverseSortByPlace()">reverseSortByPlace</A></B>()</CODE> + +<BR> + Reverse sorts the table content by their places.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#setEvents(java.util.Vector)">setEvents</A></B>(java.util.Vector vecEvents)</CODE> + +<BR> + This method updates all the value objects (calendar events) of the table.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#setRowCount(int)">setRowCount</A></B>(int iRows)</CODE> + +<BR> + This method sets the number of rows of the JTable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#setValueAt(java.lang.Object, int, int)">setValueAt</A></B>(java.lang.Object object, + int iRow, + int iCol)</CODE> + +<BR> + This function updates the data of the JTable.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#sortByCategory()">sortByCategory</A></B>()</CODE> + +<BR> + Sorts the table content by their category names.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#sortByCol(int)">sortByCol</A></B>(int iCol)</CODE> + +<BR> + Sorts the table content by a specified table column.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#sortByDate()">sortByDate</A></B>()</CODE> + +<BR> + Sorts the table content by their dates.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#sortByDescription()">sortByDescription</A></B>()</CODE> + +<BR> + Sorts the table content by their description texts.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../client/CalendarTableModel.html#sortByPlace()">sortByPlace</A></B>()</CODE> + +<BR> + Sorts the table content by their places.</TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_javax.swing.table.AbstractTableModel"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TD><B>Methods inherited from class javax.swing.table.AbstractTableModel</B></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener</CODE></TD> +</TR> +</TABLE> + <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TD><B>Methods inherited from class java.lang.Object</B></TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> +</TR> +</TABLE> + +<P> + +<!-- ============ FIELD DETAIL =========== --> + +<A NAME="field_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Field Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="DATE_HEADER"><!-- --></A><H3> +DATE_HEADER</H3> +<PRE> +public static final java.lang.String <B>DATE_HEADER</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../constant-values.html#client.CalendarTableModel.DATE_HEADER">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="CATEGORY_HEADER"><!-- --></A><H3> +CATEGORY_HEADER</H3> +<PRE> +public static final java.lang.String <B>CATEGORY_HEADER</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../constant-values.html#client.CalendarTableModel.CATEGORY_HEADER">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="DESCRIPTION_HEADER"><!-- --></A><H3> +DESCRIPTION_HEADER</H3> +<PRE> +public static final java.lang.String <B>DESCRIPTION_HEADER</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../constant-values.html#client.CalendarTableModel.DESCRIPTION_HEADER">Constant Field Values</A></DL> +</DL> +<HR> + +<A NAME="PLACE_HEADER"><!-- --></A><H3> +PLACE_HEADER</H3> +<PRE> +public static final java.lang.String <B>PLACE_HEADER</B></PRE> +<DL> +<DL> +<DT><B>See Also:</B><DD><A HREF="../constant-values.html#client.CalendarTableModel.PLACE_HEADER">Constant Field Values</A></DL> +</DL> + +<!-- ========= CONSTRUCTOR DETAIL ======== --> + +<A NAME="constructor_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Constructor Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="CalendarTableModel(javax.swing.JTable)"><!-- --></A><H3> +CalendarTableModel</H3> +<PRE> +public <B>CalendarTableModel</B>(javax.swing.JTable jTable)</PRE> +<DL> +<DD>Simple constructor, creates a calendar table model to be used with the JTable of the netcalendar client main window. +<P> +<DT><B>Parameters:</B><DD><CODE>jTable</CODE> - Specifies the JTable object of this table model.</DL> + +<!-- ============ METHOD DETAIL ========== --> + +<A NAME="method_detail"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TD COLSPAN=1><FONT SIZE="+2"> +<B>Method Detail</B></FONT></TD> +</TR> +</TABLE> + +<A NAME="getColumnCount()"><!-- --></A><H3> +getColumnCount</H3> +<PRE> +public int <B>getColumnCount</B>()</PRE> +<DL> +<DD>This method returns the number of columns of the JTable. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>Returns the number of columns of the JTable.</DL> +</DD> +</DL> +<HR> + +<A NAME="getRowCount()"><!-- --></A><H3> +getRowCount</H3> +<PRE> +public int <B>getRowCount</B>()</PRE> +<DL> +<DD>This method retuns the number of rows of the JTable. +<P> +<DD><DL> + +<DT><B>Returns:</B><DD>Returns the number of rows of the JTable.</DL> +</DD> +</DL> +<HR> + +<A NAME="setRowCount(int)"><!-- --></A><H3> +setRowCount</H3> +<PRE> +public void <B>setRowCount</B>(int iRows)</PRE> +<DL> +<DD>This method sets the number of rows of the JTable. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iRows</CODE> - Specifies the number of rows of the JTable.</DL> +</DD> +</DL> +<HR> + +<A NAME="isCellEditable(int, int)"><!-- --></A><H3> +isCellEditable</H3> +<PRE> +public boolean <B>isCellEditable</B>(int iRow, + int iCol)</PRE> +<DL> +<DD>This method checks if a cell is editable or not. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iRow</CODE> - Specifies the tables row.<DD><CODE>iCol</CODE> - Specifies the tables column. +<DT><B>Returns:</B><DD>Returns true if the cell is editable. Else, false will be returned.</DL> +</DD> +</DL> +<HR> + +<A NAME="getValueAt(int, int)"><!-- --></A><H3> +getValueAt</H3> +<PRE> +public java.lang.Object <B>getValueAt</B>(int iRow, + int iCol)</PRE> +<DL> +<DD>Gets a specific table value +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iRow</CODE> - Specifies the tables row<DD><CODE>iCol</CODE> - Specifies the tables column +<DT><B>Returns:</B><DD>Returns the object at (row,column)</DL> +</DD> +</DL> +<HR> + +<A NAME="setValueAt(java.lang.Object, int, int)"><!-- --></A><H3> +setValueAt</H3> +<PRE> +public void <B>setValueAt</B>(java.lang.Object object, + int iRow, + int iCol)</PRE> +<DL> +<DD>This function updates the data of the JTable. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>object</CODE> - Specifies the new value.<DD><CODE>iRow</CODE> - Specifies the row of the cell to be updated.<DD><CODE>iCol</CODE> - Specifies the column of the cell to be updated.</DL> +</DD> +</DL> +<HR> + +<A NAME="getColumnClass(int)"><!-- --></A><H3> +getColumnClass</H3> +<PRE> +public java.lang.Class <B>getColumnClass</B>(int iCol)</PRE> +<DL> +<DD>This method returns the class types of a specific table column. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iCol</CODE> - Specifies the column index to get the class type for. +<DT><B>Returns:</B><DD>Returns the class type of the specified column.</DL> +</DD> +</DL> +<HR> + +<A NAME="getColumnName(int)"><!-- --></A><H3> +getColumnName</H3> +<PRE> +public java.lang.String <B>getColumnName</B>(int iCol)</PRE> +<DL> +<DD>This method returns the column header of a specific table column. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iCol</CODE> - Specifies the column index to get the column header for. +<DT><B>Returns:</B><DD>Returns the header string of the specified column.</DL> +</DD> +</DL> +<HR> + +<A NAME="getEvent(int)"><!-- --></A><H3> +getEvent</H3> +<PRE> +public <A HREF="../shared/CalendarEvent.html" title="class in shared">CalendarEvent</A> <B>getEvent</B>(int iRow)</PRE> +<DL> +<DD>This method returns the calendar event which belongs to a specific table row +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iRow</CODE> - Specifies the table row index +<DT><B>Returns:</B><DD>Returns the calendar event</DL> +</DD> +</DL> +<HR> + +<A NAME="setEvents(java.util.Vector)"><!-- --></A><H3> +setEvents</H3> +<PRE> +public void <B>setEvents</B>(java.util.Vector vecEvents)</PRE> +<DL> +<DD>This method updates all the value objects (calendar events) of the table. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>vecEvents</CODE> - Specifies the vector of the events to be used.</DL> +</DD> +</DL> +<HR> + +<A NAME="sortByCol(int)"><!-- --></A><H3> +sortByCol</H3> +<PRE> +public void <B>sortByCol</B>(int iCol)</PRE> +<DL> +<DD>Sorts the table content by a specified table column. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iCol</CODE> - Specifies the table column to sort against.</DL> +</DD> +</DL> +<HR> + +<A NAME="reverseSortByCol(int)"><!-- --></A><H3> +reverseSortByCol</H3> +<PRE> +public void <B>reverseSortByCol</B>(int iCol)</PRE> +<DL> +<DD>Reverse sorts the table content by a specified table column. +<P> +<DD><DL> +<DT><B>Parameters:</B><DD><CODE>iCol</CODE> - Specifies the table column to reverse sort against.</DL> +</DD> +</DL> +<HR> + +<A NAME="sortByDate()"><!-- --></A><H3> +sortByDate</H3> +<PRE> +public void <B>sortByDate</B>()</PRE> +<DL> +<DD>Sorts the table content by their dates. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="sortByCategory()"><!-- --></A><H3> +sortByCategory</H3> +<PRE> +public void <B>sortByCategory</B>()</PRE> +<DL> +<DD>Sorts the table content by their category names. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="sortByDescription()"><!-- --></A><H3> +sortByDescription</H3> +<PRE> +public void <B>sortByDescription</B>()</PRE> +<DL> +<DD>Sorts the table content by their description texts. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="sortByPlace()"><!-- --></A><H3> +sortByPlace</H3> +<PRE> +public void <B>sortByPlace</B>()</PRE> +<DL> +<DD>Sorts the table content by their places. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reverseSortByDate()"><!-- --></A><H3> +reverseSortByDate</H3> +<PRE> +public void <B>reverseSortByDate</B>()</PRE> +<DL> +<DD>Reverse sorts the table content by their dates. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reverseSortByCategory()"><!-- --></A><H3> +reverseSortByCategory</H3> +<PRE> +public void <B>reverseSortByCategory</B>()</PRE> +<DL> +<DD>Reverse sorts the table content by their category names. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reverseSortByDescription()"><!-- --></A><H3> +reverseSortByDescription</H3> +<PRE> +public void <B>reverseSortByDescription</B>()</PRE> +<DL> +<DD>Reverse sorts the table content by their description texts. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<HR> + +<A NAME="reverseSortByPlace()"><!-- --></A><H3> +reverseSortByPlace</H3> +<PRE> +public void <B>reverseSortByPlace</B>()</PRE> +<DL> +<DD>Reverse sorts the table content by their places. +<P> +<DD><DL> +</DL> +</DD> +</DL> +<!-- ========= END OF CLASS DATA ========= --> +<HR> + + +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<A NAME="navbar_bottom"><!-- --></A> +<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_bottom_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CalendarTableModel.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../client/CalendarTableCellRenderer.html" title="class in client"><B>PREV CLASS</B></A> + <A HREF="../client/NetCalendarClient.html" title="class in client"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../index.html" target="_top"><B>FRAMES</B></A> + <A HREF="CalendarTableModel.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_bottom"></A> +<!-- ======== END OF BOTTOM NAVBAR ======= --> + +<HR> + +</BODY> +</HTML> |
