textareapainter.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 1,661 行 · 第 1/5 页

HTML
1,661
字号
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the font for this component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setInvalidLinesPainted(boolean)">setInvalidLinesPainted</A></B>(boolean&nbsp;paintInvalid)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets if invalid lines are to be painted as red tildes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setLineHighlightColor(java.awt.Color)">setLineHighlightColor</A></B>(java.awt.Color&nbsp;lineHighlightColor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the line highlight color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setLineHighlightEnabled(boolean)">setLineHighlightEnabled</A></B>(boolean&nbsp;lineHighlight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables current line highlighting.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setSelectionColor(java.awt.Color)">setSelectionColor</A></B>(java.awt.Color&nbsp;selectionColor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the selection color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.html#setStyles(com.rapidminer.gui.tools.syntax.SyntaxStyle[])">setStyles</A></B>(<A HREF="../../../../../com/rapidminer/gui/tools/syntax/SyntaxStyle.html" title="class in com.rapidminer.gui.tools.syntax">SyntaxStyle</A>[]&nbsp;styles)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the syntax styles used to paint colorized text.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.swing.JComponent</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></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.awt.Container</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree</CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></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.awt.Component</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle</CODE></TD></TR></TABLE>&nbsp;<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, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="textArea"><!-- --></A><H3>textArea</H3><PRE>protected <A HREF="../../../../../com/rapidminer/gui/tools/syntax/JEditTextArea.html" title="class in com.rapidminer.gui.tools.syntax">JEditTextArea</A> <B>textArea</B></PRE><DL><DL></DL></DL><HR><A NAME="styles"><!-- --></A><H3>styles</H3><PRE>protected transient <A HREF="../../../../../com/rapidminer/gui/tools/syntax/SyntaxStyle.html" title="class in com.rapidminer.gui.tools.syntax">SyntaxStyle</A>[] <B>styles</B></PRE><DL><DL></DL></DL><HR><A NAME="caretColor"><!-- --></A><H3>caretColor</H3><PRE>protected java.awt.Color <B>caretColor</B></PRE><DL><DL></DL></DL><HR><A NAME="selectionColor"><!-- --></A><H3>selectionColor</H3><PRE>protected java.awt.Color <B>selectionColor</B></PRE><DL><DL></DL></DL><HR><A NAME="lineHighlightColor"><!-- --></A><H3>lineHighlightColor</H3><PRE>protected java.awt.Color <B>lineHighlightColor</B></PRE><DL><DL></DL></DL><HR><A NAME="bracketHighlightColor"><!-- --></A><H3>bracketHighlightColor</H3><PRE>protected java.awt.Color <B>bracketHighlightColor</B></PRE><DL><DL></DL></DL><HR><A NAME="eolMarkerColor"><!-- --></A><H3>eolMarkerColor</H3><PRE>protected java.awt.Color <B>eolMarkerColor</B></PRE><DL><DL></DL></DL><HR><A NAME="blockCaret"><!-- --></A><H3>blockCaret</H3><PRE>protected boolean <B>blockCaret</B></PRE><DL><DL></DL></DL><HR><A NAME="lineHighlight"><!-- --></A><H3>lineHighlight</H3><PRE>protected boolean <B>lineHighlight</B></PRE><DL><DL></DL></DL><HR><A NAME="bracketHighlight"><!-- --></A><H3>bracketHighlight</H3><PRE>protected boolean <B>bracketHighlight</B></PRE><DL><DL></DL></DL><HR><A NAME="paintInvalid"><!-- --></A><H3>paintInvalid</H3><PRE>protected boolean <B>paintInvalid</B></PRE><DL><DL></DL></DL><HR><A NAME="eolMarkers"><!-- --></A><H3>eolMarkers</H3><PRE>protected boolean <B>eolMarkers</B></PRE><DL><DL></DL></DL><HR><A NAME="cols"><!-- --></A><H3>cols</H3><PRE>protected int <B>cols</B></PRE><DL><DL></DL></DL><HR><A NAME="rows"><!-- --></A><H3>rows</H3><PRE>protected int <B>rows</B></PRE><DL><DL></DL></DL><HR><A NAME="tabSize"><!-- --></A><H3>tabSize</H3><PRE>protected int <B>tabSize</B></PRE><DL><DL></DL></DL><HR><A NAME="fm"><!-- --></A><H3>fm</H3><PRE>protected java.awt.FontMetrics <B>fm</B></PRE><DL><DL></DL></DL><HR><A NAME="highlights"><!-- --></A><H3>highlights</H3><PRE>protected transient <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaPainter.Highlight.html" title="interface in com.rapidminer.gui.tools.syntax">TextAreaPainter.Highlight</A> <B>highlights</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="TextAreaPainter(com.rapidminer.gui.tools.syntax.JEditTextArea, com.rapidminer.gui.tools.syntax.TextAreaDefaults)"><!-- --></A><H3>TextAreaPainter</H3><PRE>public <B>TextAreaPainter</B>(<A HREF="../../../../../com/rapidminer/gui/tools/syntax/JEditTextArea.html" title="class in com.rapidminer.gui.tools.syntax">JEditTextArea</A>&nbsp;textArea,                       <A HREF="../../../../../com/rapidminer/gui/tools/syntax/TextAreaDefaults.html" title="class in com.rapidminer.gui.tools.syntax">TextAreaDefaults</A>&nbsp;defaults)</PRE><DL><DD>Creates a new repaint manager. This should be not be called directly.<P></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="readResolve()"><!-- --></A><H3>readResolve</H3><PRE>protected java.lang.Object <B>readResolve</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getStyles()"><!-- --></A><H3>getStyles</H3><PRE>public final <A HREF="../../../../../com/rapidminer/gui/tools/syntax/SyntaxStyle.html" title="class in com.rapidminer.gui.tools.syntax">SyntaxStyle</A>[] <B>getStyles</B>()</PRE><DL><DD>Returns the syntax styles used to paint colorized text. Entry <i>n</i> will be used to paint tokens with id = <i>n</i>.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setStyles(com.rapidminer.gui.tools.syntax.SyntaxStyle[])"><!-- --></A><H3>setStyles</H3><PRE>public final void <B>setStyles</B>(<A HREF="../../../../../com/rapidminer/gui/tools/syntax/SyntaxStyle.html" title="class in com.rapidminer.gui.tools.syntax">SyntaxStyle</A>[]&nbsp;styles)</PRE><DL><DD>Sets the syntax styles used to paint colorized text. Entry <i>n</i> will be used to paint tokens with id = <i>n</i>.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>styles</CODE> - The syntax styles</DL>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?