PageRenderTime 154ms CodeModel.GetById 126ms app.highlight 21ms RepoModel.GetById 1ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/util/SegmentBuffer.html

#
HTML | 299 lines | 251 code | 35 blank | 13 comment | 0 complexity | 6517ade3a53f5b62ba417ea5990f4d4f MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2<!--NewPage-->
  3<HTML>
  4<HEAD>
  5<!-- Generated by javadoc (build 1.5.0_14) on Tue Jul 22 07:14:16 GMT-08:00 2008 -->
  6<TITLE>
  7SegmentBuffer (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.util.SegmentBuffer class">
 11
 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
 13
 14
 15<NOSCRIPT>
 16</NOSCRIPT>
 17
 18</HEAD>
 19
 20<BODY BGCOLOR="white" >
 21
 22
 23<!-- ========= START OF TOP NAVBAR ======= -->
 24<A NAME="navbar_top"><!-- --></A>
 25<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 26<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 27<TR>
 28<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 29<A NAME="navbar_top_firstrow"><!-- --></A>
 30<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 31  <TR ALIGN="center" VALIGN="top">
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SegmentBuffer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 39  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 40  </TR>
 41</TABLE>
 42</TD>
 43<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 44</EM>
 45</TD>
 46</TR>
 47
 48<TR>
 49<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 50&nbsp;<A HREF="../../../../org/gjt/sp/util/ReverseCharSequence.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../org/gjt/sp/util/SegmentCharSequence.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../index.html?org/gjt/sp/util/SegmentBuffer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="SegmentBuffer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 55&nbsp;
 56<NOSCRIPT>
 57  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
 58</NOSCRIPT>
 59
 60
 61</FONT></TD>
 62</TR>
 63<TR>
 64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.Segment">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 67DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 68</TR>
 69</TABLE>
 70<A NAME="skip-navbar_top"></A>
 71<!-- ========= END OF TOP NAVBAR ========= -->
 72
 73<HR>
 74<!-- ======== START OF CLASS DATA ======== -->
 75<H2>
 76<FONT SIZE="-1">
 77org.gjt.sp.util</FONT>
 78<BR>
 79Class SegmentBuffer</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">javax.swing.text.Segment
 83      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.util.SegmentBuffer</B>
 84</PRE>
 85<DL>
 86<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, java.text.CharacterIterator</DD>
 87</DL>
 88<HR>
 89<DL>
 90<DT><PRE>public class <B>SegmentBuffer</B><DT>extends javax.swing.text.Segment</DL>
 91</PRE>
 92
 93<P>
 94An extended segment that you can append text to.
 95<P>
 96
 97<P>
 98<HR>
 99
100<P>
101<!-- =========== FIELD SUMMARY =========== -->
102
103<A NAME="field_summary"><!-- --></A>
104<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
105<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
106<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
107<B>Field Summary</B></FONT></TH>
108</TR>
109</TABLE>
110&nbsp;<A NAME="fields_inherited_from_class_javax.swing.text.Segment"><!-- --></A>
111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
113<TH ALIGN="left"><B>Fields inherited from class javax.swing.text.Segment</B></TH>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD><CODE>array, count, offset</CODE></TD>
117</TR>
118</TABLE>
119&nbsp;<A NAME="fields_inherited_from_class_java.text.CharacterIterator"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
122<TH ALIGN="left"><B>Fields inherited from interface java.text.CharacterIterator</B></TH>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD><CODE>DONE</CODE></TD>
126</TR>
127</TABLE>
128&nbsp;
129<!-- ======== CONSTRUCTOR SUMMARY ======== -->
130
131<A NAME="constructor_summary"><!-- --></A>
132<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
133<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
134<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
135<B>Constructor Summary</B></FONT></TH>
136</TR>
137<TR BGCOLOR="white" CLASS="TableRowColor">
138<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/SegmentBuffer.html#SegmentBuffer(int)">SegmentBuffer</A></B>(int&nbsp;capacity)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142</TR>
143</TABLE>
144&nbsp;
145<!-- ========== METHOD SUMMARY =========== -->
146
147<A NAME="method_summary"><!-- --></A>
148<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
151<B>Method Summary</B></FONT></TH>
152</TR>
153<TR BGCOLOR="white" CLASS="TableRowColor">
154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155<CODE>&nbsp;void</CODE></FONT></TD>
156<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/SegmentBuffer.html#append(char)">append</A></B>(char&nbsp;ch)</CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
160</TR>
161<TR BGCOLOR="white" CLASS="TableRowColor">
162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163<CODE>&nbsp;void</CODE></FONT></TD>
164<TD><CODE><B><A HREF="../../../../org/gjt/sp/util/SegmentBuffer.html#append(char[], int, int)">append</A></B>(char[]&nbsp;text,
165       int&nbsp;off,
166       int&nbsp;len)</CODE>
167
168<BR>
169&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170</TR>
171</TABLE>
172&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.Segment"><!-- --></A>
173<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
174<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
175<TH ALIGN="left"><B>Methods inherited from class javax.swing.text.Segment</B></TH>
176</TR>
177<TR BGCOLOR="white" CLASS="TableRowColor">
178<TD><CODE>clone, current, first, getBeginIndex, getEndIndex, getIndex, isPartialReturn, last, next, previous, setIndex, setPartialReturn, toString</CODE></TD>
179</TR>
180</TABLE>
181&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
182<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
183<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
184<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
188</TR>
189</TABLE>
190&nbsp;
191<P>
192
193<!-- ========= CONSTRUCTOR DETAIL ======== -->
194
195<A NAME="constructor_detail"><!-- --></A>
196<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
198<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
199<B>Constructor Detail</B></FONT></TH>
200</TR>
201</TABLE>
202
203<A NAME="SegmentBuffer(int)"><!-- --></A><H3>
204SegmentBuffer</H3>
205<PRE>
206public <B>SegmentBuffer</B>(int&nbsp;capacity)</PRE>
207<DL>
208</DL>
209
210<!-- ============ METHOD DETAIL ========== -->
211
212<A NAME="method_detail"><!-- --></A>
213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
215<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
216<B>Method Detail</B></FONT></TH>
217</TR>
218</TABLE>
219
220<A NAME="append(char)"><!-- --></A><H3>
221append</H3>
222<PRE>
223public void <B>append</B>(char&nbsp;ch)</PRE>
224<DL>
225<DD><DL>
226</DL>
227</DD>
228</DL>
229<HR>
230
231<A NAME="append(char[], int, int)"><!-- --></A><H3>
232append</H3>
233<PRE>
234public void <B>append</B>(char[]&nbsp;text,
235                   int&nbsp;off,
236                   int&nbsp;len)</PRE>
237<DL>
238<DD><DL>
239</DL>
240</DD>
241</DL>
242<!-- ========= END OF CLASS DATA ========= -->
243<HR>
244
245
246<!-- ======= START OF BOTTOM NAVBAR ====== -->
247<A NAME="navbar_bottom"><!-- --></A>
248<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
249<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
250<TR>
251<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
252<A NAME="navbar_bottom_firstrow"><!-- --></A>
253<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
254  <TR ALIGN="center" VALIGN="top">
255  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
256  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
257  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
258  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SegmentBuffer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
259  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
260  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
261  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
262  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
263  </TR>
264</TABLE>
265</TD>
266<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
267</EM>
268</TD>
269</TR>
270
271<TR>
272<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
273&nbsp;<A HREF="../../../../org/gjt/sp/util/ReverseCharSequence.html" title="class in org.gjt.sp.util"><B>PREV CLASS</B></A>&nbsp;
274&nbsp;<A HREF="../../../../org/gjt/sp/util/SegmentCharSequence.html" title="class in org.gjt.sp.util"><B>NEXT CLASS</B></A></FONT></TD>
275<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
276  <A HREF="../../../../index.html?org/gjt/sp/util/SegmentBuffer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
277&nbsp;<A HREF="SegmentBuffer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
278&nbsp;
279<NOSCRIPT>
280  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
281</NOSCRIPT>
282
283
284</FONT></TD>
285</TR>
286<TR>
287<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
288  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.Segment">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
289<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
290DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
291</TR>
292</TABLE>
293<A NAME="skip-navbar_bottom"></A>
294<!-- ======== END OF BOTTOM NAVBAR ======= -->
295
296<HR>
297
298</BODY>
299</HTML>