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

📄 badlocationexception.html

📁 API資料大全
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/swing/text/Position.html">Position</A></CODE></FONT></TD><TD><CODE><B>StringContent.</B><B><A HREF="../../../../javax/swing/text/StringContent.html#createPosition(int)">createPosition</A></B>(int&nbsp;offset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a position within the content that will track change as the content is mutated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>PasswordView.</B><B><A HREF="../../../../javax/swing/text/PasswordView.html#drawUnselectedText(java.awt.Graphics, int, int, int, int)">drawUnselectedText</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                   int&nbsp;x,                   int&nbsp;y,                   int&nbsp;p0,                   int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the given range in the model as normal unselected text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>PasswordView.</B><B><A HREF="../../../../javax/swing/text/PasswordView.html#drawSelectedText(java.awt.Graphics, int, int, int, int)">drawSelectedText</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                 int&nbsp;x,                 int&nbsp;y,                 int&nbsp;p0,                 int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the given range in the model as selected text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B>PasswordView.</B><B><A HREF="../../../../javax/swing/text/PasswordView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A></B>(int&nbsp;pos,            <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B>AsyncBoxView.</B><B><A HREF="../../../../javax/swing/text/AsyncBoxView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A></B>(int&nbsp;pos,            <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract &nbsp;<A HREF="../../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B>GlyphView.GlyphPainter.</B><B><A HREF="../../../../javax/swing/text/GlyphView.GlyphPainter.html#modelToView(javax.swing.text.GlyphView, int, javax.swing.text.Position.Bias, java.awt.Shape)">modelToView</A></B>(<A HREF="../../../../javax/swing/text/GlyphView.html">GlyphView</A>&nbsp;v,            int&nbsp;pos,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;bias,            <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.</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>GlyphView.GlyphPainter.</B><B><A HREF="../../../../javax/swing/text/GlyphView.GlyphPainter.html#getNextVisualPositionFrom(javax.swing.text.GlyphView, int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])">getNextVisualPositionFrom</A></B>(<A HREF="../../../../javax/swing/text/GlyphView.html">GlyphView</A>&nbsp;v,                          int&nbsp;pos,                          <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b,                          <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,                          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;<A HREF="../../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A></CODE></FONT></TD><TD><CODE><B>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#insertString(int, java.lang.String)">insertString</A></B>(int&nbsp;where,             <A HREF="../../../../java/lang/String.html">String</A>&nbsp;str)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts a string into the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/swing/undo/UndoableEdit.html">UndoableEdit</A></CODE></FONT></TD><TD><CODE><B>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#remove(int, int)">remove</A></B>(int&nbsp;where,       int&nbsp;nitems)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes part of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#getString(int, int)">getString</A></B>(int&nbsp;where,          int&nbsp;len)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a portion of the content.</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>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#getChars(int, int, javax.swing.text.Segment)">getChars</A></B>(int&nbsp;where,         int&nbsp;len,         <A HREF="../../../../javax/swing/text/Segment.html">Segment</A>&nbsp;chars)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves a portion of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../javax/swing/text/Position.html">Position</A></CODE></FONT></TD><TD><CODE><B>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#createPosition(int)">createPosition</A></B>(int&nbsp;offset)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a position within the content that will track change as the content is mutated.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B>ComponentView.</B><B><A HREF="../../../../javax/swing/text/ComponentView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A></B>(int&nbsp;pos,            <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the coordinate space of the model to that of the view.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../java/awt/Shape.html">Shape</A></CODE></FONT></TD><TD><CODE><B>IconView.</B><B><A HREF="../../../../javax/swing/text/IconView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A></B>(int&nbsp;pos,            <A HREF="../../../../java/awt/Shape.html">Shape</A>&nbsp;a,            <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A>&nbsp;b)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Provides a mapping from the document model coordinate space to the coordinate space of the view mapped to it.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>WrappedPlainView.</B><B><A HREF="../../../../javax/swing/text/WrappedPlainView.html#drawUnselectedText(java.awt.Graphics, int, int, int, int)">drawUnselectedText</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                   int&nbsp;x,                   int&nbsp;y,                   int&nbsp;p0,                   int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the given range in the model as normal unselected text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B>WrappedPlainView.</B><B><A HREF="../../../../javax/swing/text/WrappedPlainView.html#drawSelectedText(java.awt.Graphics, int, int, int, int)">drawSelectedText</A></B>(<A HREF="../../../../java/awt/Graphics.html">Graphics</A>&nbsp;g,                 int&nbsp;x,                 int&nbsp;y,                 int&nbsp;p0,                 int&nbsp;p1)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renders the given range in the model as selected text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../javax/swing/text/Utilities.html#getRowStart(javax.swing.text.JTextComponent, int)">getRowStart</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;c,            int&nbsp;offs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the starting row model position of the row that contains the specified model position.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../javax/swing/text/Utilities.html#getRowEnd(javax.swing.text.JTextComponent, int)">getRowEnd</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;c,          int&nbsp;offs)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the ending row model position of the row that contains the specified model position.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../javax/swing/text/Utilities.html#getPositionAbove(javax.swing.text.JTextComponent, int, int)">getPositionAbove</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;c,                 int&nbsp;offs,                 int&nbsp;x)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the position in the model that is closest to the given  view location in the row above.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../javax/swing/text/Utilities.html#getPositionBelow(javax.swing.text.JTextComponent, int, int)">getPositionBelow</A></B>(<A HREF="../../../../javax/swing/text/JTextComponent.html">JTextComponent</A>&nbsp;c,                 int&nbsp;offs,                 int&nbsp;x)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the position in the model that is closest to the given  view location in the row below.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../jav

⌨️ 快捷键说明

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