propstokenmarker.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 376 行 · 第 1/2 页
HTML
376 行
javax.swing.text.Segment line, int lineIndex)</CODE><BR> An abstract method that splits a line up into tokens.</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="../../../../../com/rapidminer/gui/tools/syntax/PropsTokenMarker.html#supportsMultilineTokens()">supportsMultilineTokens</A></B>()</CODE><BR> Returns if the token marker supports tokens that span multiple lines.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.rapidminer.gui.tools.syntax.TokenMarker"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.rapidminer.gui.tools.syntax.<A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax">TokenMarker</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#addToken(int, byte)">addToken</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#deleteLines(int, int)">deleteLines</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#ensureCapacity(int)">ensureCapacity</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#getLineCount()">getLineCount</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#insertLines(int, int)">insertLines</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#isNextLineRequested()">isNextLineRequested</A>, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#markTokens(javax.swing.text.Segment, int)">markTokens</A></CODE></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="VALUE"><!-- --></A><H3>VALUE</H3><PRE>public static final byte <B>VALUE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.rapidminer.gui.tools.syntax.PropsTokenMarker.VALUE">Constant Field Values</A></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="PropsTokenMarker()"><!-- --></A><H3>PropsTokenMarker</H3><PRE>public <B>PropsTokenMarker</B>()</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="markTokensImpl(byte, javax.swing.text.Segment, int)"><!-- --></A><H3>markTokensImpl</H3><PRE>public byte <B>markTokensImpl</B>(byte token, javax.swing.text.Segment line, int lineIndex)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#markTokensImpl(byte, javax.swing.text.Segment, int)">TokenMarker</A></CODE></B></DD><DD>An abstract method that splits a line up into tokens. It should parse the line, and call <code>addToken()</code> to add syntax tokens to the token list. Then, it should return the initial token type for the next line. <p> For example if the current line contains the start of a multiline comment that doesn't end on that line, this method should return the comment token type so that it continues on the next line.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#markTokensImpl(byte, javax.swing.text.Segment, int)">markTokensImpl</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax">TokenMarker</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>token</CODE> - The initial token type for this line<DD><CODE>line</CODE> - The line to be tokenized<DD><CODE>lineIndex</CODE> - The index of the line in the document, starting at 0<DT><B>Returns:</B><DD>The initial token type for the next line</DL></DD></DL><HR><A NAME="supportsMultilineTokens()"><!-- --></A><H3>supportsMultilineTokens</H3><PRE>public boolean <B>supportsMultilineTokens</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#supportsMultilineTokens()">TokenMarker</A></CODE></B></DD><DD>Returns if the token marker supports tokens that span multiple lines. If this is true, the object using this token marker is required to pass all lines in the document to the <code>markTokens()</code> method (in turn). <p> The default implementation returns true; it should be overridden to return false on simpler token markers for increased speed.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html#supportsMultilineTokens()">supportsMultilineTokens</A></CODE> in class <CODE><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax">TokenMarker</A></CODE></DL></DD><DD><DL></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="class-use/PropsTokenMarker.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/rapidminer/gui/tools/syntax/PHPTokenMarker.html" title="class in com.rapidminer.gui.tools.syntax"><B>PREV CLASS</B></A> <A HREF="../../../../../com/rapidminer/gui/tools/syntax/PythonTokenMarker.html" title="class in com.rapidminer.gui.tools.syntax"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/rapidminer/gui/tools/syntax/PropsTokenMarker.html" target="_top"><B>FRAMES</B></A> <A HREF="PropsTokenMarker.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: <A HREF="#nested_classes_inherited_from_class_com.rapidminer.gui.tools.syntax.TokenMarker">NESTED</A> | <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 © 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?