PageRenderTime 140ms CodeModel.GetById 111ms app.highlight 22ms RepoModel.GetById 0ms app.codeStats 1ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/syntax/DisplayTokenHandler.html

#
HTML | 386 lines | 329 code | 43 blank | 14 comment | 0 complexity | ee57ce6458a3e02f1373b847996f3811 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:13 GMT-08:00 2008 -->
  6<TITLE>
  7DisplayTokenHandler (jEdit API)
  8</TITLE>
  9
 10<META NAME="keywords" CONTENT="org.gjt.sp.jedit.syntax.DisplayTokenHandler 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/DisplayTokenHandler.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/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
 51&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/DummyTokenHandler.html" title="class in org.gjt.sp.jedit.syntax"><B>NEXT CLASS</B></A></FONT></TD>
 52<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 53  <A HREF="../../../../../index.html?org/gjt/sp/jedit/syntax/DisplayTokenHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 54&nbsp;<A HREF="DisplayTokenHandler.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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.jedit.syntax</FONT>
 78<BR>
 79Class DisplayTokenHandler</H2>
 80<PRE>
 81java.lang.Object
 82  <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax">org.gjt.sp.jedit.syntax.DefaultTokenHandler</A>
 83      <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.gjt.sp.jedit.syntax.DisplayTokenHandler</B>
 84</PRE>
 85<DL>
 86<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html" title="interface in org.gjt.sp.jedit.syntax">TokenHandler</A></DD>
 87</DL>
 88<HR>
 89<DL>
 90<DT><PRE>public class <B>DisplayTokenHandler</B><DT>extends <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax">DefaultTokenHandler</A></DL>
 91</PRE>
 92
 93<P>
 94Creates <A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax"><CODE>Chunk</CODE></A> objects that can be painted on screen.
 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<TR BGCOLOR="white" CLASS="TableRowColor">
110<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
111<CODE>static&nbsp;int</CODE></FONT></TD>
112<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#MAX_CHUNK_LEN">MAX_CHUNK_LEN</A></B></CODE>
113
114<BR>
115&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
116</TR>
117</TABLE>
118&nbsp;<A NAME="fields_inherited_from_class_org.gjt.sp.jedit.syntax.DefaultTokenHandler"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
121<TH ALIGN="left"><B>Fields inherited from class org.gjt.sp.jedit.syntax.<A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax">DefaultTokenHandler</A></B></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#firstToken">firstToken</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#lastToken">lastToken</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#lineContext">lineContext</A></CODE></TD>
125</TR>
126</TABLE>
127&nbsp;
128<!-- ======== CONSTRUCTOR SUMMARY ======== -->
129
130<A NAME="constructor_summary"><!-- --></A>
131<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134<B>Constructor Summary</B></FONT></TH>
135</TR>
136<TR BGCOLOR="white" CLASS="TableRowColor">
137<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#DisplayTokenHandler()">DisplayTokenHandler</A></B>()</CODE>
138
139<BR>
140&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
141</TR>
142</TABLE>
143&nbsp;
144<!-- ========== METHOD SUMMARY =========== -->
145
146<A NAME="method_summary"><!-- --></A>
147<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
150<B>Method Summary</B></FONT></TH>
151</TR>
152<TR BGCOLOR="white" CLASS="TableRowColor">
153<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&gt;</CODE></FONT></TD>
155<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#getChunkList()">getChunkList</A></B>()</CODE>
156
157<BR>
158&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of chunks.</TD>
159</TR>
160<TR BGCOLOR="white" CLASS="TableRowColor">
161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162<CODE>&nbsp;void</CODE></FONT></TD>
163<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#handleToken(javax.swing.text.Segment, byte, int, int, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">handleToken</A></B>(javax.swing.text.Segment&nbsp;seg,
164            byte&nbsp;id,
165            int&nbsp;offset,
166            int&nbsp;length,
167            <A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenMarker.LineContext.html" title="class in org.gjt.sp.jedit.syntax">TokenMarker.LineContext</A>&nbsp;context)</CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Called by the token marker when a syntax token has been parsed.</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;void</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#init(org.gjt.sp.jedit.syntax.SyntaxStyle[], java.awt.font.FontRenderContext, javax.swing.text.TabExpander, java.util.List, float)">init</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]&nbsp;styles,
176     java.awt.font.FontRenderContext&nbsp;fontRenderContext,
177     javax.swing.text.TabExpander&nbsp;expander,
178     java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&gt;&nbsp;out,
179     float&nbsp;wrapMargin)</CODE>
180
181<BR>
182&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Init some variables that will be used when marking tokens.</TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>protected &nbsp;void</CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#initChunk(org.gjt.sp.jedit.syntax.Chunk, javax.swing.text.Segment)">initChunk</A></B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunk,
188          javax.swing.text.Segment&nbsp;seg)</CODE>
189
190<BR>
191&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
192</TR>
193</TABLE>
194&nbsp;<A NAME="methods_inherited_from_class_org.gjt.sp.jedit.syntax.DefaultTokenHandler"><!-- --></A>
195<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
196<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
197<TH ALIGN="left"><B>Methods inherited from class org.gjt.sp.jedit.syntax.<A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax">DefaultTokenHandler</A></B></TH>
198</TR>
199<TR BGCOLOR="white" CLASS="TableRowColor">
200<TD><CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#addToken(org.gjt.sp.jedit.syntax.Token, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">addToken</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#createToken(byte, int, int, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">createToken</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#getLineContext()">getLineContext</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#getParserRuleSet(org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">getParserRuleSet</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#getTokens()">getTokens</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#init()">init</A>, <A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#setLineContext(org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">setLineContext</A></CODE></TD>
201</TR>
202</TABLE>
203&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
204<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
205<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
206<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
207</TR>
208<TR BGCOLOR="white" CLASS="TableRowColor">
209<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
210</TR>
211</TABLE>
212&nbsp;
213<P>
214
215<!-- ============ FIELD DETAIL =========== -->
216
217<A NAME="field_detail"><!-- --></A>
218<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
219<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
220<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
221<B>Field Detail</B></FONT></TH>
222</TR>
223</TABLE>
224
225<A NAME="MAX_CHUNK_LEN"><!-- --></A><H3>
226MAX_CHUNK_LEN</H3>
227<PRE>
228public static final int <B>MAX_CHUNK_LEN</B></PRE>
229<DL>
230<DL>
231<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.gjt.sp.jedit.syntax.DisplayTokenHandler.MAX_CHUNK_LEN">Constant Field Values</A></DL>
232</DL>
233
234<!-- ========= CONSTRUCTOR DETAIL ======== -->
235
236<A NAME="constructor_detail"><!-- --></A>
237<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
238<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
239<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
240<B>Constructor Detail</B></FONT></TH>
241</TR>
242</TABLE>
243
244<A NAME="DisplayTokenHandler()"><!-- --></A><H3>
245DisplayTokenHandler</H3>
246<PRE>
247public <B>DisplayTokenHandler</B>()</PRE>
248<DL>
249</DL>
250
251<!-- ============ METHOD DETAIL ========== -->
252
253<A NAME="method_detail"><!-- --></A>
254<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
257<B>Method Detail</B></FONT></TH>
258</TR>
259</TABLE>
260
261<A NAME="init(org.gjt.sp.jedit.syntax.SyntaxStyle[], java.awt.font.FontRenderContext, javax.swing.text.TabExpander, java.util.List, float)"><!-- --></A><H3>
262init</H3>
263<PRE>
264public void <B>init</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/SyntaxStyle.html" title="class in org.gjt.sp.jedit.syntax">SyntaxStyle</A>[]&nbsp;styles,
265                 java.awt.font.FontRenderContext&nbsp;fontRenderContext,
266                 javax.swing.text.TabExpander&nbsp;expander,
267                 java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&gt;&nbsp;out,
268                 float&nbsp;wrapMargin)</PRE>
269<DL>
270<DD>Init some variables that will be used when marking tokens.
271 This is called before <A HREF="../../../../../org/gjt/sp/jedit/buffer/JEditBuffer.html#markTokens(int, org.gjt.sp.jedit.syntax.TokenHandler)"><CODE>JEditBuffer.markTokens(int, TokenHandler)</CODE></A>
272 to store some data that will be required and that we don't want
273 to put in the parameters
274<P>
275<DD><DL>
276<DT><B>Parameters:</B><DD><CODE>styles</CODE> - <DD><CODE>fontRenderContext</CODE> - <DD><CODE>expander</CODE> - <DD><CODE>out</CODE> - <DD><CODE>wrapMargin</CODE> - </DL>
277</DD>
278</DL>
279<HR>
280
281<A NAME="getChunkList()"><!-- --></A><H3>
282getChunkList</H3>
283<PRE>
284public java.util.List&lt;<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&gt; <B>getChunkList</B>()</PRE>
285<DL>
286<DD>Returns the list of chunks.
287<P>
288<DD><DL>
289<DT><B>Since:</B></DT>
290  <DD>jEdit 4.1pre7</DD>
291</DL>
292</DD>
293</DL>
294<HR>
295
296<A NAME="handleToken(javax.swing.text.Segment, byte, int, int, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)"><!-- --></A><H3>
297handleToken</H3>
298<PRE>
299public void <B>handleToken</B>(javax.swing.text.Segment&nbsp;seg,
300                        byte&nbsp;id,
301                        int&nbsp;offset,
302                        int&nbsp;length,
303                        <A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenMarker.LineContext.html" title="class in org.gjt.sp.jedit.syntax">TokenMarker.LineContext</A>&nbsp;context)</PRE>
304<DL>
305<DD>Called by the token marker when a syntax token has been parsed.
306<P>
307<DD><DL>
308<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html#handleToken(javax.swing.text.Segment, byte, int, int, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">handleToken</A></CODE> in interface <CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/TokenHandler.html" title="interface in org.gjt.sp.jedit.syntax">TokenHandler</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html#handleToken(javax.swing.text.Segment, byte, int, int, org.gjt.sp.jedit.syntax.TokenMarker.LineContext)">handleToken</A></CODE> in class <CODE><A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax">DefaultTokenHandler</A></CODE></DL>
309</DD>
310<DD><DL>
311<DT><B>Parameters:</B><DD><CODE>seg</CODE> - The segment containing the text<DD><CODE>id</CODE> - The token type (one of the constants in the
312 <A HREF="../../../../../org/gjt/sp/jedit/syntax/Token.html" title="class in org.gjt.sp.jedit.syntax"><CODE>Token</CODE></A> class).<DD><CODE>offset</CODE> - The start offset of the token<DD><CODE>length</CODE> - The number of characters in the token<DD><CODE>context</CODE> - The line context<DT><B>Since:</B></DT>
313  <DD>jEdit 4.2pre3</DD>
314</DL>
315</DD>
316</DL>
317<HR>
318
319<A NAME="initChunk(org.gjt.sp.jedit.syntax.Chunk, javax.swing.text.Segment)"><!-- --></A><H3>
320initChunk</H3>
321<PRE>
322protected void <B>initChunk</B>(<A HREF="../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunk,
323                         javax.swing.text.Segment&nbsp;seg)</PRE>
324<DL>
325<DD><DL>
326</DL>
327</DD>
328</DL>
329<!-- ========= END OF CLASS DATA ========= -->
330<HR>
331
332
333<!-- ======= START OF BOTTOM NAVBAR ====== -->
334<A NAME="navbar_bottom"><!-- --></A>
335<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
336<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
337<TR>
338<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
339<A NAME="navbar_bottom_firstrow"><!-- --></A>
340<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
341  <TR ALIGN="center" VALIGN="top">
342  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
343  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
344  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
345  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DisplayTokenHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
346  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
347  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
348  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
349  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
350  </TR>
351</TABLE>
352</TD>
353<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
354</EM>
355</TD>
356</TR>
357
358<TR>
359<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
360&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/DefaultTokenHandler.html" title="class in org.gjt.sp.jedit.syntax"><B>PREV CLASS</B></A>&nbsp;
361&nbsp;<A HREF="../../../../../org/gjt/sp/jedit/syntax/DummyTokenHandler.html" title="class in org.gjt.sp.jedit.syntax"><B>NEXT CLASS</B></A></FONT></TD>
362<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
363  <A HREF="../../../../../index.html?org/gjt/sp/jedit/syntax/DisplayTokenHandler.html" target="_top"><B>FRAMES</B></A>  &nbsp;
364&nbsp;<A HREF="DisplayTokenHandler.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
365&nbsp;
366<NOSCRIPT>
367  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
368</NOSCRIPT>
369
370
371</FONT></TD>
372</TR>
373<TR>
374<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
375  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
376<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
377DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
378</TR>
379</TABLE>
380<A NAME="skip-navbar_bottom"></A>
381<!-- ======== END OF BOTTOM NAVBAR ======= -->
382
383<HR>
384
385</BODY>
386</HTML>