📄 jtextcomponent.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>TextUI.</B><B><A HREF="../../../../javax/swing/plaf/TextUI.html#damageRange(javax.swing.text.JTextComponent, int, int)">damageRange</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t, int p0, int p1)</CODE><BR> Causes the portion of the view responsible for the given part of the model to be repainted.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>TextUI.</B><B><A HREF="../../../../javax/swing/plaf/TextUI.html#damageRange(javax.swing.text.JTextComponent, int, int, javax.swing.text.Position.Bias, javax.swing.text.Position.Bias)">damageRange</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t, int p0, int p1, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> firstBias, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> secondBias)</CODE><BR> Causes the portion of the view responsible for the given part of the model to be repainted.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></FONT></TD><TD><CODE><B>TextUI.</B><B><A HREF="../../../../javax/swing/plaf/TextUI.html#getEditorKit(javax.swing.text.JTextComponent)">getEditorKit</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t)</CODE><BR> Fetches the binding of services that set a policy for the type of document being edited.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../javax/swing/text/View.html">View</A></CODE></FONT></TD><TD><CODE><B>TextUI.</B><B><A HREF="../../../../javax/swing/plaf/TextUI.html#getRootView(javax.swing.text.JTextComponent)">getRootView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t)</CODE><BR> Fetches a View with the allocation of the associated text component (i.e.</TD></TR></TABLE> <P><A NAME="javax.swing.plaf.basic"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> in <A HREF="../../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A> that return <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A></CODE></FONT></TD><TD><CODE><B>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#getComponent()">getComponent</A></B>()</CODE><BR> Fetches the text component associated with this UI implementation.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../javax/swing/plaf/basic/package-summary.html">javax.swing.plaf.basic</A> with parameters of type <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#modelToView(javax.swing.text.JTextComponent, int)">modelToView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc, int pos)</CODE><BR> Converts the given location in the model to a place in the view coordinate system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#modelToView(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias)">modelToView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc, int pos, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> bias)</CODE><BR> Converts the given location in the model to a place in the view coordinate system.</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>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#viewToModel(javax.swing.text.JTextComponent, java.awt.Point)">viewToModel</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc, <A HREF="../../../../java/awt/Point.html">Point</A> pt)</CODE><BR> Converts the given place in the view coordinate system to the nearest representative location in the model.</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>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#viewToModel(javax.swing.text.JTextComponent, java.awt.Point, javax.swing.text.Position.Bias[])">viewToModel</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc, <A HREF="../../../../java/awt/Point.html">Point</A> pt, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[] biasReturn)</CODE><BR> Converts the given place in the view coordinate system to the nearest representative location in the model.</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>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#getNextVisualPositionFrom(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias[])">getNextVisualPositionFrom</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t, int pos, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b, int direction, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[] biasRet)</CODE><BR> Provides a way to determine the next visually represented model location that one might place a caret.</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>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#damageRange(javax.swing.text.JTextComponent, int, int)">damageRange</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc, int p0, int p1)</CODE><BR> Causes the portion of the view responsible for the given part of the model to be repainted.</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>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#damageRange(javax.swing.text.JTextComponent, int, int, javax.swing.text.Position.Bias, javax.swing.text.Position.Bias)">damageRange</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t, int p0, int p1, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> p0Bias, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> p1Bias)</CODE><BR> Causes the portion of the view responsible for the given part of the model to be repainted.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></FONT></TD><TD><CODE><B>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#getEditorKit(javax.swing.text.JTextComponent)">getEditorKit</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc)</CODE><BR> Fetches the EditorKit for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/text/View.html">View</A></CODE></FONT></TD><TD><CODE><B>BasicTextUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextUI.html#getRootView(javax.swing.text.JTextComponent)">getRootView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc)</CODE><BR> Fetches a View with the allocation of the associated text component (i.e.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></FONT></TD><TD><CODE><B>BasicEditorPaneUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicEditorPaneUI.html#getEditorKit(javax.swing.text.JTextComponent)">getEditorKit</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc)</CODE><BR> Fetches the EditorKit for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../javax/swing/text/EditorKit.html">EditorKit</A></CODE></FONT></TD><TD><CODE><B>BasicTextPaneUI.</B><B><A HREF="../../../../javax/swing/plaf/basic/BasicTextPaneUI.html#getEditorKit(javax.swing.text.JTextComponent)">getEditorKit</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> tc)</CODE><BR> Fetches the EditorKit for the UI.</TD></TR></TABLE> <P><A NAME="javax.swing.plaf.multi"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> in <A HREF="../../../../javax/swing/plaf/multi/package-summary.html">javax.swing.plaf.multi</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../javax/swing/plaf/multi/package-summary.html">javax.swing.plaf.multi</A> with parameters of type <A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B>MultiTextUI.</B><B><A HREF="../../../../javax/swing/plaf/multi/MultiTextUI.html#modelToView(javax.swing.text.JTextComponent, int)">modelToView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> a, int b)</CODE><BR> Call modelToView on each UI handled by this MultiUI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../java/awt/Rectangle.html">Rectangle</A></CODE></FONT></TD><TD><CODE><B>MultiTextUI.</B><B><A HREF="../../../../javax/swing/plaf/multi/MultiTextUI.html#modelToView(javax.swing.text.JTextComponent, int, javax.swing.text.Position.Bias)">modelToView</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A> t, int pos, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> bias)</CODE><BR> Converts the given location in the model to a place in the view coordinate system.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -