added YUI and YUI-ext
fixed the resizable text area with IE problem fixed the ad space with IE problem merged the 7.2.0 and 7.1.4 change logs
This commit is contained in:
parent
6bf329d68d
commit
4f68a0933c
1026 changed files with 331404 additions and 60 deletions
865
www/extras/yui-ext/docs/YAHOO.ext.grid.AbstractDataModel.html
Normal file
865
www/extras/yui-ext/docs/YAHOO.ext.grid.AbstractDataModel.html
Normal file
|
|
@ -0,0 +1,865 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<!--NewPage-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>
|
||||
YAHOO.ext.grid.AbstractDataModel
|
||||
</TITLE>
|
||||
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
|
||||
</HEAD>
|
||||
<SCRIPT>
|
||||
function asd()
|
||||
{
|
||||
parent.document.title="YAHOO.ext.grid.AbstractDataModel";
|
||||
}
|
||||
</SCRIPT>
|
||||
<BODY BGCOLOR="white" onload="asd();" style="margin:15px;">
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<H2>Class YAHOO.ext.grid.AbstractDataModel</H2>
|
||||
<PRE>Object
|
||||
|
|
||||
+--<b>YAHOO.ext.grid.AbstractDataModel</b>
|
||||
</PRE>
|
||||
|
||||
<DL>
|
||||
<DT>
|
||||
<B>Direct Known Subclasses:</B>
|
||||
<DD>
|
||||
<a href="YAHOO.ext.grid.DefaultDataModel.html">YAHOO.ext.grid.DefaultDataModel</a>
|
||||
</DD>
|
||||
</DL>
|
||||
|
||||
|
||||
<HR>
|
||||
<DL>
|
||||
<!-- Class definition -->
|
||||
<DT>class
|
||||
<B>YAHOO.ext.grid.AbstractDataModel</B>
|
||||
|
||||
|
||||
</DL>
|
||||
|
||||
<P>
|
||||
<BR/>This abstract class provides default implementations of the events required by the Grid.
|
||||
It takes care of the creating the CustomEvents and provides some convenient methods for firing the events. <br><br>
|
||||
<BR/><I>Defined in <a href='overview-summary-AbstractDataModel.js.html'>AbstractDataModel.js</a></I><BR/><BR/>
|
||||
</P>
|
||||
|
||||
<HR>
|
||||
|
||||
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
<!-- ======== END NESTED CLASS SUMMARY ======== -->
|
||||
|
||||
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
|
||||
<A NAME="field_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="2" class="title-cell">Field Summary</TD></TR>
|
||||
|
||||
<!-- This is one instance field summary -->
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> Object</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#addListener">addListener</A></B></CODE>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> Object</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#events">events</A></B></CODE>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> Object</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#fireEvent">fireEvent</A></B></CODE>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onCellUpdated">onCellUpdated</A></B></CODE>
|
||||
<BR>
|
||||
Fires when a cell is updated - fireDirect sig: (this, rowIndex, columnIndex)</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onRowsDeleted">onRowsDeleted</A></B></CODE>
|
||||
<BR>
|
||||
Fires when rows are deleted - fireDirect sig: (this, firstRowIndex, lastRowIndex)</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onRowsInserted">onRowsInserted</A></B></CODE>
|
||||
<BR>
|
||||
Fires when a rows are inserted - fireDirect sig: (this, firstRowIndex, lastRowIndex)</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onRowsSorted">onRowsSorted</A></B></CODE>
|
||||
<BR>
|
||||
Fires when a sort has reordered the rows - fireDirect sig: (this, sortColumnIndex,
|
||||
sortDirection = 'ASC' or 'DESC')</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onRowsUpdated">onRowsUpdated</A></B></CODE>
|
||||
<BR>
|
||||
Fires when a rows are updated - fireDirect sig: (this, firstRowIndex, lastRowIndex)</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> <a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a></CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#onTableDataChanged">onTableDataChanged</A></B></CODE>
|
||||
<BR>
|
||||
Fires when all data needs to be revalidated - fireDirect sig: (thisd)</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||||
<CODE> Object</CODE></FONT></TD>
|
||||
<TD><CODE><B><A HREF="#removeListener">removeListener</A></B></CODE>
|
||||
<BR>
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- =========== END FIELD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
<A NAME="constructor_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="2" class="title-cell">
|
||||
Constructor Summary
|
||||
</TD>
|
||||
</TR>
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD>
|
||||
<CODE>
|
||||
<B>
|
||||
<A HREF="YAHOO.ext.grid.AbstractDataModel.html#YAHOO.ext.grid.AbstractDataModel()">YAHOO.ext.grid.AbstractDataModel</A>
|
||||
</B>
|
||||
()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
|
||||
|
||||
|
||||
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
|
||||
<A NAME="method_summary"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="2" class="title-cell">
|
||||
<span style="float:left">Method Summary</span>
|
||||
<span style="float:right;font-weight:normal;font-size:8pt;">
|
||||
<i>* Parameter types in italic indicate optional parameters</i>
|
||||
</span>
|
||||
</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="#fireCellUpdated">fireCellUpdated</A></B>(row, col)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that the value of the cell at [row, col] has been updated
|
||||
</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="#fireRowsDeleted">fireRowsDeleted</A></B>(firstRow, lastRow)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been deleted
|
||||
</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="#fireRowsInserted">fireRowsInserted</A></B>(firstRow, lastRow)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been inserted
|
||||
</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="#fireRowsSorted">fireRowsSorted</A></B>(sortColumnIndex, sortDir, noRefresh)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that rows have been sorted and any indexes may be invalid
|
||||
</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="#fireRowsUpdated">fireRowsUpdated</A></B>(firstRow, lastRow)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been updated
|
||||
</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="#fireTableDataChanged">fireTableDataChanged</A></B>()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Notifies listeners that all data for the grid may have changed - use as a last resort.
|
||||
</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="#getRowCount">getRowCount</A></B>()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
</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="#getRowId">getRowId</A></B>(rowIndex)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
||||
<FONT SIZE="-1">
|
||||
<CODE> Object</CODE>
|
||||
</FONT>
|
||||
</TD>
|
||||
<TD>
|
||||
<CODE>
|
||||
<B>
|
||||
<A HREF="#getSortState">getSortState</A></B>()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Interface method to supply the view with info regarding the Grid's current sort state - if overridden,
|
||||
this should return an object like this {YAHOO.ext.grid.AbstractDataModel.prototype.column = this;.sortColumn, YAHOO.ext.grid.AbstractDataModel.prototype.direction = this;.sortDir}.
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
||||
<FONT SIZE="-1">
|
||||
<CODE> Object</CODE>
|
||||
</FONT>
|
||||
</TD>
|
||||
<TD>
|
||||
<CODE>
|
||||
<B>
|
||||
<A HREF="#getTotalRowCount">getTotalRowCount</A></B>()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method to support virtual row counts.
|
||||
</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="#getValueAt">getValueAt</A></B>(rowIndex, colIndex)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||||
<TD ALIGN="right" VALIGN="top" WIDTH="1%">
|
||||
<FONT SIZE="-1">
|
||||
<CODE> Object</CODE>
|
||||
</FONT>
|
||||
</TD>
|
||||
<TD>
|
||||
<CODE>
|
||||
<B>
|
||||
<A HREF="#isPaged">isPaged</A></B>()
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
|
||||
</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="#setValueAt">setValueAt</A></B>(value, rowIndex, colIndex)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
</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="#sort">sort</A></B>(columnModel, columnIndex, direction, suppressEvent)
|
||||
</CODE>
|
||||
<BR>
|
||||
|
||||
Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
</TD>
|
||||
</TR>
|
||||
|
||||
|
||||
</TABLE>
|
||||
|
||||
|
||||
|
||||
<P>
|
||||
<!-- ========== END METHOD SUMMARY =========== -->
|
||||
|
||||
|
||||
<!-- ============ FIELD DETAIL START =========== -->
|
||||
|
||||
<A NAME="field_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="1" class="title-cell">Field Detail</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
|
||||
<A NAME="addListener"><!-- --></A>
|
||||
<H3>addListener</H3>
|
||||
<PRE>Object <B>addListener</B></PRE>
|
||||
<UL>
|
||||
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="events"><!-- --></A>
|
||||
<H3>events</H3>
|
||||
<PRE>Object <B>events</B></PRE>
|
||||
<UL>
|
||||
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="fireEvent"><!-- --></A>
|
||||
<H3>fireEvent</H3>
|
||||
<PRE>Object <B>fireEvent</B></PRE>
|
||||
<UL>
|
||||
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onCellUpdated"><!-- --></A>
|
||||
<H3>onCellUpdated</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onCellUpdated</B></PRE>
|
||||
<UL>
|
||||
Fires when a cell is updated - fireDirect sig: (this, rowIndex, columnIndex)
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onRowsDeleted"><!-- --></A>
|
||||
<H3>onRowsDeleted</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onRowsDeleted</B></PRE>
|
||||
<UL>
|
||||
Fires when rows are deleted - fireDirect sig: (this, firstRowIndex, lastRowIndex)
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onRowsInserted"><!-- --></A>
|
||||
<H3>onRowsInserted</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onRowsInserted</B></PRE>
|
||||
<UL>
|
||||
Fires when a rows are inserted - fireDirect sig: (this, firstRowIndex, lastRowIndex)
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onRowsSorted"><!-- --></A>
|
||||
<H3>onRowsSorted</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onRowsSorted</B></PRE>
|
||||
<UL>
|
||||
Fires when a sort has reordered the rows - fireDirect sig: (this, sortColumnIndex,
|
||||
sortDirection = 'ASC' or 'DESC')
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onRowsUpdated"><!-- --></A>
|
||||
<H3>onRowsUpdated</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onRowsUpdated</B></PRE>
|
||||
<UL>
|
||||
Fires when a rows are updated - fireDirect sig: (this, firstRowIndex, lastRowIndex)
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="onTableDataChanged"><!-- --></A>
|
||||
<H3>onTableDataChanged</H3>
|
||||
<PRE><a href="YAHOO.util.CustomEvent.html">YAHOO.util.CustomEvent</a> <B>onTableDataChanged</B></PRE>
|
||||
<UL>
|
||||
Fires when all data needs to be revalidated - fireDirect sig: (thisd)
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
<A NAME="removeListener"><!-- --></A>
|
||||
<H3>removeListener</H3>
|
||||
<PRE>Object <B>removeListener</B></PRE>
|
||||
<UL>
|
||||
|
||||
|
||||
</UL>
|
||||
<HR>
|
||||
|
||||
|
||||
|
||||
<!-- ============ FIELD DETAIL END =========== -->
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL START ======== -->
|
||||
|
||||
<A NAME="constructor_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="1" class="title-cell">
|
||||
Constructor Detail
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<A NAME="YAHOO.ext.grid.AbstractDataModel()"><!-- --></A><H3>
|
||||
YAHOO.ext.grid.AbstractDataModel</H3>
|
||||
<PRE><B>YAHOO.ext.grid.AbstractDataModel</B>()</PRE>
|
||||
|
||||
|
||||
|
||||
|
||||
</UL>
|
||||
|
||||
|
||||
<!-- Constructor return value(s) -->
|
||||
|
||||
<!-- End constructor return value(s) -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES -->
|
||||
|
||||
<HR/>
|
||||
<!-- END ADDITIONAL ATTRIBUTES -->
|
||||
|
||||
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
|
||||
|
||||
|
||||
<!-- ============ METHOD DETAIL START ========== -->
|
||||
|
||||
<A NAME="method_detail"><!-- --></A>
|
||||
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
||||
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||||
<TD COLSPAN="1" class="title-cell">
|
||||
Method Detail
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
|
||||
<!-- One single method detail entry -->
|
||||
|
||||
<A NAME="fireCellUpdated"><!-- --></A>
|
||||
<H3>fireCellUpdated</H3>
|
||||
<PRE>void <B>fireCellUpdated</B>(row, col)</PRE>
|
||||
|
||||
<UL>Notifies listeners that the value of the cell at [row, col] has been updated</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="fireRowsDeleted"><!-- --></A>
|
||||
<H3>fireRowsDeleted</H3>
|
||||
<PRE>void <B>fireRowsDeleted</B>(firstRow, lastRow)</PRE>
|
||||
|
||||
<UL>Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been deleted</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="fireRowsInserted"><!-- --></A>
|
||||
<H3>fireRowsInserted</H3>
|
||||
<PRE>void <B>fireRowsInserted</B>(firstRow, lastRow)</PRE>
|
||||
|
||||
<UL>Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been inserted</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="fireRowsSorted"><!-- --></A>
|
||||
<H3>fireRowsSorted</H3>
|
||||
<PRE>void <B>fireRowsSorted</B>(sortColumnIndex, sortDir, noRefresh)</PRE>
|
||||
|
||||
<UL>Notifies listeners that rows have been sorted and any indexes may be invalid</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="fireRowsUpdated"><!-- --></A>
|
||||
<H3>fireRowsUpdated</H3>
|
||||
<PRE>void <B>fireRowsUpdated</B>(firstRow, lastRow)</PRE>
|
||||
|
||||
<UL>Notifies listeners that rows in the range [firstRow, lastRow], inclusive, have been updated</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="fireTableDataChanged"><!-- --></A>
|
||||
<H3>fireTableDataChanged</H3>
|
||||
<PRE>void <B>fireTableDataChanged</B>()</PRE>
|
||||
|
||||
<UL>Notifies listeners that all data for the grid may have changed - use as a last resort. This
|
||||
also wipes out all selections a user might have made.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="getRowCount"><!-- --></A>
|
||||
<H3>getRowCount</H3>
|
||||
<PRE>void <B>getRowCount</B>()</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
See YAHOO.ext.DefaultDataModel for an example implementation.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="getRowId"><!-- --></A>
|
||||
<H3>getRowId</H3>
|
||||
<PRE>void <B>getRowId</B>(rowIndex)</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
See YAHOO.ext.DefaultDataModel for an example implementation.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="getSortState"><!-- --></A>
|
||||
<H3>getSortState</H3>
|
||||
<PRE>Object <B>getSortState</B>()</PRE>
|
||||
|
||||
<UL>Interface method to supply the view with info regarding the Grid's current sort state - if overridden,
|
||||
this should return an object like this {YAHOO.ext.grid.AbstractDataModel.prototype.column = this;.sortColumn, YAHOO.ext.grid.AbstractDataModel.prototype.direction = this;.sortDir}.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="getTotalRowCount"><!-- --></A>
|
||||
<H3>getTotalRowCount</H3>
|
||||
<PRE>Object <B>getTotalRowCount</B>()</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method to support virtual row counts.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="getValueAt"><!-- --></A>
|
||||
<H3>getValueAt</H3>
|
||||
<PRE>void <B>getValueAt</B>(rowIndex, colIndex)</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
See YAHOO.ext.DefaultDataModel for an example implementation.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="isPaged"><!-- --></A>
|
||||
<H3>isPaged</H3>
|
||||
<PRE>Object <B>isPaged</B>()</PRE>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="setValueAt"><!-- --></A>
|
||||
<H3>setValueAt</H3>
|
||||
<PRE>void <B>setValueAt</B>(value, rowIndex, colIndex)</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
See YAHOO.ext.DefaultDataModel for an example implementation.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
<A NAME="sort"><!-- --></A>
|
||||
<H3>sort</H3>
|
||||
<PRE>void <B>sort</B>(columnModel, columnIndex, direction, suppressEvent)</PRE>
|
||||
|
||||
<UL>Empty interface method - Classes which extend AbstractDataModel should implement this method.
|
||||
See YAHOO.ext.DefaultDataModel for an example implementation.</UL>
|
||||
|
||||
|
||||
<!-- METHOD PARAMETERS START -->
|
||||
|
||||
<!-- METHOD PARAMETERS END -->
|
||||
|
||||
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES START -->
|
||||
|
||||
<!-- ADDITIONAL ATTRIBUTES END -->
|
||||
<HR>
|
||||
|
||||
|
||||
|
||||
<!-- ============ METHOD DETAIL END ========== -->
|
||||
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
|
||||
<HR>
|
||||
<FONT SIZE="-1">
|
||||
|
||||
</FONT>
|
||||
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Sat Oct 14 06:07:10 2006</div>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Loading…
Add table
Add a link
Reference in a new issue