textareapainter.html
来自「数据挖掘方面最新软件」· HTML 代码 · 共 1,661 行 · 第 1/5 页
HTML
1,661 行
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</CODE></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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#TextAreaPainter(com.rapidminer.gui.tools.syntax.JEditTextArea, com.rapidminer.gui.tools.syntax.TextAreaDefaults)">TextAreaPainter</A></B>(<A HREF="../../../../../com/rapidminer/gui/tools/syntax/JEditTextArea.html" title="class in com.rapidminer.gui.tools.syntax">JEditTextArea</A> textArea, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaDefaults.html" title="class in com.rapidminer.gui.tools.syntax">TextAreaDefaults</A> defaults)</CODE><BR> Creates a new repaint manager.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#addCustomHighlight(com.rapidminer.gui.tools.syntax.TextAreaPainter.Highlight)">addCustomHighlight</A></B>(<A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.Highlight.html" title="interface in com.rapidminer.gui.tools.syntax">TextAreaPainter.Highlight</A> highlight)</CODE><BR> Adds a custom highlight painter.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Color</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getBracketHighlightColor()">getBracketHighlightColor</A></B>()</CODE><BR> Returns the bracket highlight color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Color</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getCaretColor()">getCaretColor</A></B>()</CODE><BR> Returns the caret color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Color</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getEOLMarkerColor()">getEOLMarkerColor</A></B>()</CODE><BR> Returns the EOL marker color.</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/TextAreaPainter.html#getEOLMarkersPainted()">getEOLMarkersPainted</A></B>()</CODE><BR> Returns true if EOL markers are drawn, false otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.FontMetrics</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getFontMetrics()">getFontMetrics</A></B>()</CODE><BR> Returns the font metrics used by this component.</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/TextAreaPainter.html#getInvalidLinesPainted()">getInvalidLinesPainted</A></B>()</CODE><BR> Returns true if invalid lines are painted as red tildes (~), false otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Color</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getLineHighlightColor()">getLineHighlightColor</A></B>()</CODE><BR> Returns the line highlight color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Dimension</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getPreferredSize()">getPreferredSize</A></B>()</CODE><BR> Returns the painter's preferred size.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.Color</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getSelectionColor()">getSelectionColor</A></B>()</CODE><BR> Returns the selection color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/rapidminer/gui/tools/syntax/SyntaxStyle.html" title="class in com.rapidminer.gui.tools.syntax">SyntaxStyle</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getStyles()">getStyles</A></B>()</CODE><BR> Returns the syntax styles used to paint colorized text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#getToolTipText(java.awt.event.MouseEvent)">getToolTipText</A></B>(java.awt.event.MouseEvent evt)</CODE><BR> Returns the tool tip to display at the specified location.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#invalidateLine(int)">invalidateLine</A></B>(int line)</CODE><BR> Marks a line as needing a repaint.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#invalidateLineRange(int, int)">invalidateLineRange</A></B>(int firstLine, int lastLine)</CODE><BR> Marks a range of lines as needing a repaint.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#invalidateSelectedLines()">invalidateSelectedLines</A></B>()</CODE><BR> Repaints the lines containing the selection.</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/TextAreaPainter.html#isBlockCaretEnabled()">isBlockCaretEnabled</A></B>()</CODE><BR> Returns true if the caret should be drawn as a block, false otherwise.</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/TextAreaPainter.html#isBracketHighlightEnabled()">isBracketHighlightEnabled</A></B>()</CODE><BR> Returns true if bracket highlighting is enabled, false otherwise.</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/TextAreaPainter.html#isLineHighlightEnabled()">isLineHighlightEnabled</A></B>()</CODE><BR> Returns true if line highlight is enabled, false otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#nextTabStop(float, int)">nextTabStop</A></B>(float x, int tabOffset)</CODE><BR> Implementation of TabExpander interface.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paint(java.awt.Graphics)">paint</A></B>(java.awt.Graphics gfx)</CODE><BR> Repaints the text.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintBracketHighlight(java.awt.Graphics, int, int)">paintBracketHighlight</A></B>(java.awt.Graphics gfx, int line, int y)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintCaret(java.awt.Graphics, int, int)">paintCaret</A></B>(java.awt.Graphics gfx, int line, int y)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintHighlight(java.awt.Graphics, int, int)">paintHighlight</A></B>(java.awt.Graphics gfx, int line, int y)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintLine(java.awt.Graphics, com.rapidminer.gui.tools.syntax.TokenMarker, int, int)">paintLine</A></B>(java.awt.Graphics gfx, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax">TokenMarker</A> tokenMarker, int line, int x)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintLineHighlight(java.awt.Graphics, int, int)">paintLineHighlight</A></B>(java.awt.Graphics gfx, int line, int y)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintPlainLine(java.awt.Graphics, int, java.awt.Font, java.awt.Color, int, int)">paintPlainLine</A></B>(java.awt.Graphics gfx, int line, java.awt.Font defaultFont, java.awt.Color defaultColor, int x, int y)</CODE><BR> </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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#paintSyntaxLine(java.awt.Graphics, com.rapidminer.gui.tools.syntax.TokenMarker, int, java.awt.Font, java.awt.Color, int, int)">paintSyntaxLine</A></B>(java.awt.Graphics gfx, <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TokenMarker.html" title="class in com.rapidminer.gui.tools.syntax">TokenMarker</A> tokenMarker, int line, java.awt.Font defaultFont, java.awt.Color defaultColor, int x, int y)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#readResolve()">readResolve</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setBlockCaretEnabled(boolean)">setBlockCaretEnabled</A></B>(boolean blockCaret)</CODE><BR> Sets if the caret should be drawn as a block, false otherwise.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setBracketHighlightColor(java.awt.Color)">setBracketHighlightColor</A></B>(java.awt.Color bracketHighlightColor)</CODE><BR> Sets the bracket highlight color.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setBracketHighlightEnabled(boolean)">setBracketHighlightEnabled</A></B>(boolean bracketHighlight)</CODE><BR> Enables or disables bracket highlighting.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setCaretColor(java.awt.Color)">setCaretColor</A></B>(java.awt.Color caretColor)</CODE><BR> Sets the caret color.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setEOLMarkerColor(java.awt.Color)">setEOLMarkerColor</A></B>(java.awt.Color eolMarkerColor)</CODE><BR> Sets the EOL marker color.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setEOLMarkersPainted(boolean)">setEOLMarkersPainted</A></B>(boolean eolMarkers)</CODE><BR> Sets if EOL markers are to be drawn.</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="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setFont(java.awt.Font)">setFont</A></B>(java.awt.Font font)</CODE><BR>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?