📄 filebasedlocationlist.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Thu Jun 13 20:23:03 CEST 2002 -->
<TITLE>
: Class FileBasedLocationList
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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="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="../../../../com/farcrown/lpws/types/DoublePreJava2.html"><B>PREV CLASS</B></A>
<A HREF="../../../../com/farcrown/lpws/types/LocationList.html"><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="FileBasedLocationList.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <A HREF="#fields_inherited_from_class_com.farcrown.lpws.types.LocationList">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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.farcrown.lpws.types</FONT>
<BR>
Class FileBasedLocationList</H2>
<PRE>
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.Vector
|
+--<A HREF="../../../../com/farcrown/lpws/types/LocationList.html">com.farcrown.lpws.types.LocationList</A>
|
+--<B>com.farcrown.lpws.types.FileBasedLocationList</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable</DD>
</DL>
<HR>
<DL>
<DT>public class <B>FileBasedLocationList</B><DT>extends <A HREF="../../../../com/farcrown/lpws/types/LocationList.html">LocationList</A><DT>implements java.io.Serializable</DL>
<P>
<DL>
<DT><B>Author: </B><DD>rch</DD>
<DT><B>See Also: </B><DD><A HREF="../../../../serialized-form.html#com.farcrown.lpws.types.FileBasedLocationList">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== INNER CLASS SUMMARY ======== -->
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="fields_inherited_from_class_com.farcrown.lpws.types.LocationList"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class com.farcrown.lpws.types.<A HREF="../../../../com/farcrown/lpws/types/LocationList.html">LocationList</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/farcrown/lpws/types/LocationList.html#APPROACHING_STRING">APPROACHING_STRING</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#LEAVING_STRING">LEAVING_STRING</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#NOTMOVING_STRING">NOTMOVING_STRING</A></CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_java.util.Vector"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class java.util.Vector</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>capacityIncrement, elementCount, elementData</CODE></TD>
</TR>
</TABLE>
<A NAME="fields_inherited_from_class_java.util.AbstractList"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Fields inherited from class java.util.AbstractList</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>modCount</CODE></TD>
</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#FileBasedLocationList()">FileBasedLocationList</A></B>()</CODE>
<BR>
Creates a new instance of FileBasedLocationList</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<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> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#add(com.farcrown.lpws.types.locationRecord)">add</A></B>(<A HREF="../../../../com/farcrown/lpws/types/locationRecord.html">locationRecord</A> lr)</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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#add(com.farcrown.lpws.types.posDecimalLatLon, java.lang.Double, java.lang.String, java.util.Date, java.lang.String)">add</A></B>(<A HREF="../../../../com/farcrown/lpws/types/posDecimalLatLon.html">posDecimalLatLon</A> pos, java.lang.Double dist, java.lang.String t, java.util.Date d, java.lang.String n)</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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#add(java.lang.String)">add</A></B>(java.lang.String ovrTxtLine)</CODE>
<BR>
Adds an item to the table model based on a single string containing all the information required</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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#clear(java.awt.Frame)">clear</A></B>(java.awt.Frame parent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#getCurrentFile()">getCurrentFile</A></B>()</CODE>
<BR>
Getter for property currentFile.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#open(java.io.File)">open</A></B>(java.io.File fn)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#open(java.awt.Frame)">open</A></B>(java.awt.Frame parent)</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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#openImport(java.awt.Frame)">openImport</A></B>(java.awt.Frame parent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#save(java.io.File)">save</A></B>(java.io.File fn)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#save(java.awt.Frame)">save</A></B>(java.awt.Frame parent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#saveAs(java.awt.Frame)">saveAs</A></B>(java.awt.Frame parent)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.io.File</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#saveDefault(java.awt.Frame)">saveDefault</A></B>(java.awt.Frame parent)</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="../../../../com/farcrown/lpws/types/FileBasedLocationList.html#setCurrentFile(java.io.File)">setCurrentFile</A></B>(java.io.File currentFile)</CODE>
<BR>
Setter for property currentFile.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.farcrown.lpws.types.LocationList"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class com.farcrown.lpws.types.<A HREF="../../../../com/farcrown/lpws/types/LocationList.html">LocationList</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/farcrown/lpws/types/LocationList.html#add(com.farcrown.lpws.types.posDecimalLatLon, java.lang.Double, java.lang.String, java.lang.String, java.lang.String)">add</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#addImport(java.lang.String)">addImport</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#checkProximity(int)">checkProximity</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#clear()">clear</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#disableAutoSorting()">disableAutoSorting</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#enableAutoSorting()">enableAutoSorting</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#getClosest()">getClosest</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#getClosestIndex()">getClosestIndex</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#isApproachingAny()">isApproachingAny</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#refresh(com.farcrown.lpws.types.posDecimalLatLon)">refresh</A>, <A HREF="../../../../com/farcrown/lpws/types/LocationList.html#sortByDistance()">sortByDistance</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.util.Vector"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.util.Vector</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -