⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jtextcomponent.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;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>&nbsp;t,            int&nbsp;p0,            int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;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>&nbsp;t,            int&nbsp;p0,            int&nbsp;p1,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;firstBias,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;secondBias)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 &nbsp;<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>&nbsp;t)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches a View with the allocation of the associated text component (i.e.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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 &nbsp;<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the text component associated with this UI implementation.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;tc,            int&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tc,            int&nbsp;pos,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;bias)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tc,            <A HREF="../../../../java/awt/Point.html">Point</A>&nbsp;pt)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tc,            <A HREF="../../../../java/awt/Point.html">Point</A>&nbsp;pt,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasReturn)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;t,                          int&nbsp;pos,                          <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b,                          int&nbsp;direction,                          <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>[]&nbsp;biasRet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tc,            int&nbsp;p0,            int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;t,            int&nbsp;p0,            int&nbsp;p1,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;p0Bias,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;p1Bias)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the EditorKit for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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>&nbsp;tc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the EditorKit for the UI.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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>&nbsp;tc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the EditorKit for the UI.</TD></TR></TABLE>&nbsp;<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>&nbsp;<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>&nbsp;<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>&nbsp;a,            int&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;t,            int&nbsp;pos,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;bias)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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 + -