📄 coordinatetablemodel.html
字号:
<PRE>public int <B>getColumnCount</B>()</PRE><DL><DD>Returns the number of columns.<P><DD><DL></DL></DD></DL><HR><A NAME="getColumnName(int)"><!-- --></A><H3>getColumnName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getColumnName</B>(int columnIndex)</PRE><DL><DD>Returns the name for the specified column. The default implementation returns the name of the corresponding axis in the table CRS.<P><DD><DL></DL></DD></DL><HR><A NAME="getColumnClass(int)"><!-- --></A><H3>getColumnClass</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Class.html" title="class or interface in java.lang">Class</A> <B>getColumnClass</B>(int columnIndex)</PRE><DL><DD>Returns tye type of data for the specified column. For coordinate table, this is always .<P><DD><DL></DL></DD></DL><HR><A NAME="add(org.opengis.spatialschema.geometry.DirectPosition)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(DirectPosition newPosition)</PRE><DL><DD>Adds a direct position to this table. The position is not cloned. Any cell edited in this table will write its change directly into the corresponding object.<P><DD><DL></DL></DD></DL><HR><A NAME="add(java.util.Collection)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Collection.html" title="class or interface in java.util">Collection</A> newPositions)</PRE><DL><DD>Adds a collection of direct positions to this table. The position is not cloned. Any cell edited in this table will write its change directly into the corresponding object.<P><DD><DL></DL></DD></DL><HR><A NAME="getValueAt(int, int)"><!-- --></A><H3>getValueAt</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getValueAt</B>(int rowIndex, int columnIndex)</PRE><DL><DD>Returns the value in the table at the specified postion.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rowIndex</CODE> - Cell row number.<DD><CODE>columnIndex</CODE> - Cell column number.<DT><B>Returns:</B><DD>The ordinate value, or if no value is available for the specified cell.</DL></DD></DL><HR><A NAME="setValueAt(java.lang.Object, int, int)"><!-- --></A><H3>setValueAt</H3><PRE>public void <B>setValueAt</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> value, int rowIndex, int columnIndex)</PRE><DL><DD>Sets the value for the specified cell.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - The new value for the cell.<DD><CODE>rowIndex</CODE> - Row number of the cell modified.<DD><CODE>columnIndex</CODE> - Column number of the cell modified.</DL></DD></DL><HR><A NAME="isCellEditable(int, int)"><!-- --></A><H3>isCellEditable</H3><PRE>public boolean <B>isCellEditable</B>(int rowIndex, int colIndex)</PRE><DL><DD>Specifies that the user can fill all rows in the table.<P><DD><DL></DL></DD></DL><HR><A NAME="isValidCoordinate(int)"><!-- --></A><H3>isValidCoordinate</H3><PRE>public boolean <B>isValidCoordinate</B>(int rowIndex)</PRE><DL><DD>Returns if the position at the specified row is inside the CRS valid area. This method is invoked by <A HREF="../../../../../org/geotools/gui/swing/referencing/CoordinateTableModel.CellRenderer.html" title="class in org.geotools.gui.swing.referencing"><CODE>CoordinateTableModel.CellRenderer</CODE></A> in order to determine if this row should be colorized.<P><DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string representation of this table. The default implementation list all coordinates.<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/CoordinateTableModel.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-all.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="../../../../../org/geotools/gui/swing/referencing/CoordinateChooser.html" title="class in org.geotools.gui.swing.referencing"><B>PREV CLASS</B></A> <A HREF="../../../../../org/geotools/gui/swing/referencing/CoordinateTableModel.CellRenderer.html" title="class in org.geotools.gui.swing.referencing"><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="CoordinateTableModel.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_AbstractTableModel">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: FIELD | <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>Copyright © 1996-2007 <a href="http://www.geotools.org">Geotools</a>. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -