<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.5.0) on Wed Nov 22 10:48:23 MSK 2006 --> <TITLE> Outliner </TITLE> <META NAME="keywords" CONTENT="net.sf.colorer.editor.Outliner class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Outliner"; } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_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="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="../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/colorer/editor/PairMatch.html" title="class in net.sf.colorer.editor"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/colorer/editor/Outliner.html" target="_top"><B>FRAMES</B></A> <A HREF="Outliner.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.colorer.editor</FONT> <BR> Class Outliner</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.colorer.editor.Outliner</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A>, <A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></DD> </DL> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../net/sf/colorer/eclipse/outline/WorkbenchOutliner.html" title="class in net.sf.colorer.eclipse.outline">WorkbenchOutliner</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>Outliner</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A>, <A HREF="../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A></DL> </PRE> <P> Basic outliner class, used to capture parser output and filter out only required structure elements. <P> <P> <HR> <P> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected java.util.Vector</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#outline">outline</A></B></CODE> <BR> </TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#Outliner(net.sf.colorer.Region)">Outliner</A></B>(<A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> searchRegion)</CODE> <BR> </TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </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="../../../../net/sf/colorer/editor/Outliner.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">addRegion</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</CODE> <BR> Informs handler about lexical region in line.</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="../../../../net/sf/colorer/editor/Outliner.html#attachOutliner(net.sf.colorer.editor.BaseEditor)">attachOutliner</A></B>(<A HREF="../../../../net/sf/colorer/editor/BaseEditor.html" title="interface in net.sf.colorer.editor">BaseEditor</A> be)</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="../../../../net/sf/colorer/editor/Outliner.html#clear()">clear</A></B>()</CODE> <BR> Cleans out current outline elements.</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="../../../../net/sf/colorer/editor/Outliner.html#clearLine(int, java.lang.String)">clearLine</A></B>(int lno, java.lang.String line)</CODE> <BR> Clear line event.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/colorer/editor/OutlineItem.html" title="class in net.sf.colorer.editor">OutlineItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#createItem(int, int, int, int, java.lang.String, net.sf.colorer.Region)">createItem</A></B>(int lno, int sx, int length, int curLevel, java.lang.String itemLabel, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</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="../../../../net/sf/colorer/editor/Outliner.html#detachOutliner(net.sf.colorer.editor.BaseEditor)">detachOutliner</A></B>(<A HREF="../../../../net/sf/colorer/editor/BaseEditor.html" title="interface in net.sf.colorer.editor">BaseEditor</A> be)</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="../../../../net/sf/colorer/editor/Outliner.html#endParsing(int)">endParsing</A></B>(int lno)</CODE> <BR> End of text parsing.</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="../../../../net/sf/colorer/editor/Outliner.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">enterScheme</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</CODE> <BR> Informs handler about entering into specified scheme.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#getFilter()">getFilter</A></B>()</CODE> <BR> Returns filter region, used by this handler.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/colorer/editor/OutlineItem.html" title="class in net.sf.colorer.editor">OutlineItem</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#getItem(int)">getItem</A></B>(int idx)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#isOutlined(net.sf.colorer.Region)">isOutlined</A></B>(<A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#itemCount()">itemCount</A></B>()</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="../../../../net/sf/colorer/editor/Outliner.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">leaveScheme</A></B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</CODE> <BR> Informs handler about leaveing specified scheme.</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="../../../../net/sf/colorer/editor/Outliner.html#modifyEvent(int)">modifyEvent</A></B>(int topLine)</CODE> <BR> Informs EditorListener object about text modification event.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/colorer/editor/Outliner.html#notifyUpdate()">notifyUpdate</A></B>()</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="../../../../net/sf/colorer/editor/Outliner.html#startParsing(int)">startParsing</A></B>(int lno)</CODE> <BR> Start of text parsing.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TH> </TR> </TABLE> <A NAME="outline"><!-- --></A><H3> outline</H3> <PRE> protected java.util.Vector <B>outline</B></PRE> <DL> <DL> </DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Outliner(net.sf.colorer.Region)"><!-- --></A><H3> Outliner</H3> <PRE> public <B>Outliner</B>(<A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> searchRegion)</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="attachOutliner(net.sf.colorer.editor.BaseEditor)"><!-- --></A><H3> attachOutliner</H3> <PRE> public void <B>attachOutliner</B>(<A HREF="../../../../net/sf/colorer/editor/BaseEditor.html" title="interface in net.sf.colorer.editor">BaseEditor</A> be)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="detachOutliner(net.sf.colorer.editor.BaseEditor)"><!-- --></A><H3> detachOutliner</H3> <PRE> public void <B>detachOutliner</B>(<A HREF="../../../../net/sf/colorer/editor/BaseEditor.html" title="interface in net.sf.colorer.editor">BaseEditor</A> be)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getItem(int)"><!-- --></A><H3> getItem</H3> <PRE> public <A HREF="../../../../net/sf/colorer/editor/OutlineItem.html" title="class in net.sf.colorer.editor">OutlineItem</A> <B>getItem</B>(int idx)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="itemCount()"><!-- --></A><H3> itemCount</H3> <PRE> public int <B>itemCount</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getFilter()"><!-- --></A><H3> getFilter</H3> <PRE> public <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> <B>getFilter</B>()</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#getFilter()">RegionHandler</A></CODE></B></DD> <DD>Returns filter region, used by this handler. This region is used internally to filter parser stream and speedup JNI switches. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#getFilter()">getFilter</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="isOutlined(net.sf.colorer.Region)"><!-- --></A><H3> isOutlined</H3> <PRE> public boolean <B>isOutlined</B>(<A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="clear()"><!-- --></A><H3> clear</H3> <PRE> public void <B>clear</B>()</PRE> <DL> <DD>Cleans out current outline elements. <P> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="createItem(int, int, int, int, java.lang.String, net.sf.colorer.Region)"><!-- --></A><H3> createItem</H3> <PRE> public <A HREF="../../../../net/sf/colorer/editor/OutlineItem.html" title="class in net.sf.colorer.editor">OutlineItem</A> <B>createItem</B>(int lno, int sx, int length, int curLevel, java.lang.String itemLabel, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="notifyUpdate()"><!-- --></A><H3> notifyUpdate</H3> <PRE> protected void <B>notifyUpdate</B>()</PRE> <DL> <DD><DL> </DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="modifyEvent(int)"><!-- --></A><H3> modifyEvent</H3> <PRE> public void <B>modifyEvent</B>(int topLine)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/editor/EditorListener.html#modifyEvent(int)">EditorListener</A></CODE></B></DD> <DD>Informs EditorListener object about text modification event. All the text becomes invalid after the specified line. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/editor/EditorListener.html#modifyEvent(int)">modifyEvent</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/editor/EditorListener.html" title="interface in net.sf.colorer.editor">EditorListener</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>topLine</CODE> - Topmost modified line of text.</DL> </DD> </DL> <HR> <A NAME="startParsing(int)"><!-- --></A><H3> startParsing</H3> <PRE> public void <B>startParsing</B>(int lno)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#startParsing(int)">RegionHandler</A></CODE></B></DD> <DD>Start of text parsing. Called only once, when TextParser starts parsing of the specified block of text. All other event messages comes between this call and endParsing call. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#startParsing(int)">startParsing</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Start line number</DL> </DD> </DL> <HR> <A NAME="endParsing(int)"><!-- --></A><H3> endParsing</H3> <PRE> public void <B>endParsing</B>(int lno)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#endParsing(int)">RegionHandler</A></CODE></B></DD> <DD>End of text parsing. Called only once, when TextParser stops parsing of the specified block of text. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#endParsing(int)">endParsing</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - End line number</DL> </DD> </DL> <HR> <A NAME="clearLine(int, java.lang.String)"><!-- --></A><H3> clearLine</H3> <PRE> public void <B>clearLine</B>(int lno, java.lang.String line)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#clearLine(int, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Clear line event. Called once for each parsed text line, when TextParser starts to parse specified line of text. This method is called before any of the region information passed, and used often to clear internal handler structure of this line before adding new one. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#clearLine(int, java.lang.String)">clearLine</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Line number</DL> </DD> </DL> <HR> <A NAME="addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)"><!-- --></A><H3> addRegion</H3> <PRE> public void <B>addRegion</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about lexical region in line. This is a basic method, wich transfer information from parser to application. Positions of different passed regions can be overlapped. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#addRegion(int, java.lang.String, int, int, net.sf.colorer.Region)">addRegion</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Region information</DL> </DD> </DL> <HR> <A NAME="enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)"><!-- --></A><H3> enterScheme</H3> <PRE> public void <B>enterScheme</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about entering into specified scheme. Parameter <code>region</code> is used to specify scheme background region information. If text is parsed not from the first line, this method is called with fake parameters to compensate required scheme structure. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#enterScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">enterScheme</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Scheme Region information (background)<DD><CODE>scheme</CODE> - Additional Scheme information</DL> </DD> </DL> <HR> <A NAME="leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)"><!-- --></A><H3> leaveScheme</H3> <PRE> public void <B>leaveScheme</B>(int lno, java.lang.String line, int sx, int ex, <A HREF="../../../../net/sf/colorer/Region.html" title="class in net.sf.colorer">Region</A> region, java.lang.String scheme)</PRE> <DL> <DD><B>Description copied from interface: <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">RegionHandler</A></CODE></B></DD> <DD>Informs handler about leaveing specified scheme. Parameter <code>region</code> is used to specify scheme background region information. If text parse process ends, but current schemes stack is not balanced (this can happends because of bad balanced structure of source text, or partial text parse) this method is <b>not</b> called for unbalanced levels. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html#leaveScheme(int, java.lang.String, int, int, net.sf.colorer.Region, java.lang.String)">leaveScheme</A></CODE> in interface <CODE><A HREF="../../../../net/sf/colorer/RegionHandler.html" title="interface in net.sf.colorer">RegionHandler</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>lno</CODE> - Current line number<DD><CODE>sx</CODE> - Start X position of region in line<DD><CODE>ex</CODE> - End X position of region in line<DD><CODE>region</CODE> - Scheme Region information (background)<DD><CODE>scheme</CODE> - Additional Scheme information</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=2 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="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="../../../../net/sf/colorer/editor/OutlineListener.html" title="interface in net.sf.colorer.editor"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/colorer/editor/PairMatch.html" title="class in net.sf.colorer.editor"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/colorer/editor/Outliner.html" target="_top"><B>FRAMES</B></A> <A HREF="Outliner.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: NESTED | <A HREF="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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> <i>Copyright © 2003 Cail Lomecb. All Rights Reserved.</i> </BODY> </HTML>