PageRenderTime 13ms CodeModel.GetById 2ms app.highlight 7ms RepoModel.GetById 2ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/api/org/gjt/sp/jedit/syntax/class-use/Chunk.html

#
HTML | 238 lines | 202 code | 30 blank | 6 comment | 0 complexity | 61b3f37d0dcca442b3349b75a3ac58fb 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:21 GMT-08:00 2008 -->
  6<TITLE>
  7Uses of Class org.gjt.sp.jedit.syntax.Chunk (jEdit API)
  8</TITLE>
  9
 10
 11<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
 12
 13
 14<NOSCRIPT>
 15</NOSCRIPT>
 16
 17</HEAD>
 18
 19<BODY BGCOLOR="white" >
 20
 21
 22<!-- ========= START OF TOP NAVBAR ======= -->
 23<A NAME="navbar_top"><!-- --></A>
 24<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 25<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 26<TR>
 27<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 28<A NAME="navbar_top_firstrow"><!-- --></A>
 29<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 30  <TR ALIGN="center" VALIGN="top">
 31  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
 34  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
 35  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 36  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 37  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 38  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 39  </TR>
 40</TABLE>
 41</TD>
 42<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 43</EM>
 44</TD>
 45</TR>
 46
 47<TR>
 48<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 49&nbsp;PREV&nbsp;
 50&nbsp;NEXT</FONT></TD>
 51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 52  <A HREF="../../../../../../index.html?org/gjt/sp/jedit/syntax/class-use/Chunk.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 53&nbsp;<A HREF="Chunk.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 54&nbsp;
 55<NOSCRIPT>
 56  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
 57</NOSCRIPT>
 58
 59
 60</FONT></TD>
 61</TR>
 62</TABLE>
 63<A NAME="skip-navbar_top"></A>
 64<!-- ========= END OF TOP NAVBAR ========= -->
 65
 66<HR>
 67<CENTER>
 68<H2>
 69<B>Uses of Class<br>org.gjt.sp.jedit.syntax.Chunk</B></H2>
 70</CENTER>
 71
 72<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 73<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 74<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 75Packages that use <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A></FONT></TH>
 76</TR>
 77<TR BGCOLOR="white" CLASS="TableRowColor">
 78<TD><A HREF="#org.gjt.sp.jedit.syntax"><B>org.gjt.sp.jedit.syntax</B></A></TD>
 79<TD>The jEdit syntax highlighting engine.&nbsp;</TD>
 80</TR>
 81</TABLE>
 82&nbsp;
 83<P>
 84<A NAME="org.gjt.sp.jedit.syntax"><!-- --></A>
 85<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 86<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 87<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 88Uses of <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A> in <A HREF="../../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A></FONT></TH>
 89</TR>
 90</TABLE>
 91&nbsp;
 92<P>
 93
 94<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 95<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
 96<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A> that return types with arguments of type <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A></FONT></TH>
 97</TR>
 98<TR BGCOLOR="white" CLASS="TableRowColor">
 99<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
100<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>
101<TD><CODE><B>DisplayTokenHandler.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/syntax/DisplayTokenHandler.html#getChunkList()">getChunkList</A></B>()</CODE>
102
103<BR>
104&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the list of chunks.</TD>
105</TR>
106</TABLE>
107&nbsp;
108<P>
109
110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
112<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A> with parameters of type <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A></FONT></TH>
113</TR>
114<TR BGCOLOR="white" CLASS="TableRowColor">
115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
116<CODE>protected &nbsp;void</CODE></FONT></TD>
117<TD><CODE><B>DisplayTokenHandler.</B><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,
118          javax.swing.text.Segment&nbsp;seg)</CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>static&nbsp;float</CODE></FONT></TD>
126<TD><CODE><B>Chunk.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html#offsetToX(org.gjt.sp.jedit.syntax.Chunk, int)">offsetToX</A></B>(<A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunks,
127          int&nbsp;offset)</CODE>
128
129<BR>
130&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts an offset in a chunk list into an x co-ordinate.</TD>
131</TR>
132<TR BGCOLOR="white" CLASS="TableRowColor">
133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134<CODE>static&nbsp;float</CODE></FONT></TD>
135<TD><CODE><B>Chunk.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html#paintChunkBackgrounds(org.gjt.sp.jedit.syntax.Chunk, java.awt.Graphics2D, float, float)">paintChunkBackgrounds</A></B>(<A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunks,
136                      java.awt.Graphics2D&nbsp;gfx,
137                      float&nbsp;x,
138                      float&nbsp;y)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints the background highlights of a chunk list.</TD>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145<CODE>static&nbsp;float</CODE></FONT></TD>
146<TD><CODE><B>Chunk.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html#paintChunkList(org.gjt.sp.jedit.syntax.Chunk, java.awt.Graphics2D, float, float, boolean)">paintChunkList</A></B>(<A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunks,
147               java.awt.Graphics2D&nbsp;gfx,
148               float&nbsp;x,
149               float&nbsp;y,
150               boolean&nbsp;glyphVector)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paints a chunk list.</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157<CODE>static&nbsp;int</CODE></FONT></TD>
158<TD><CODE><B>Chunk.</B><B><A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html#xToOffset(org.gjt.sp.jedit.syntax.Chunk, float, boolean)">xToOffset</A></B>(<A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A>&nbsp;chunks,
159          float&nbsp;x,
160          boolean&nbsp;round)</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts an x co-ordinate in a chunk list into an offset.</TD>
164</TR>
165</TABLE>
166&nbsp;
167<P>
168
169<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
171<TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../../../org/gjt/sp/jedit/syntax/package-summary.html">org.gjt.sp.jedit.syntax</A> with type arguments of type <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax">Chunk</A></FONT></TH>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;void</CODE></FONT></TD>
176<TD><CODE><B>DisplayTokenHandler.</B><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,
177     java.awt.font.FontRenderContext&nbsp;fontRenderContext,
178     javax.swing.text.TabExpander&nbsp;expander,
179     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,
180     float&nbsp;wrapMargin)</CODE>
181
182<BR>
183&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Init some variables that will be used when marking tokens.</TD>
184</TR>
185</TABLE>
186&nbsp;
187<P>
188<HR>
189
190
191<!-- ======= START OF BOTTOM NAVBAR ====== -->
192<A NAME="navbar_bottom"><!-- --></A>
193<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
194<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
195<TR>
196<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
197<A NAME="navbar_bottom_firstrow"><!-- --></A>
198<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
199  <TR ALIGN="center" VALIGN="top">
200  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
201  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
202  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../org/gjt/sp/jedit/syntax/Chunk.html" title="class in org.gjt.sp.jedit.syntax"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
203  <TD BGCOLOR="#00008B" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
204  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
205  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
206  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
207  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
208  </TR>
209</TABLE>
210</TD>
211<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
212</EM>
213</TD>
214</TR>
215
216<TR>
217<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
218&nbsp;PREV&nbsp;
219&nbsp;NEXT</FONT></TD>
220<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
221  <A HREF="../../../../../../index.html?org/gjt/sp/jedit/syntax/class-use/Chunk.html" target="_top"><B>FRAMES</B></A>  &nbsp;
222&nbsp;<A HREF="Chunk.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
223&nbsp;
224<NOSCRIPT>
225  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
226</NOSCRIPT>
227
228
229</FONT></TD>
230</TR>
231</TABLE>
232<A NAME="skip-navbar_bottom"></A>
233<!-- ======== END OF BOTTOM NAVBAR ======= -->
234
235<HR>
236
237</BODY>
238</HTML>