📄 badlocationexception.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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 offset)</CODE><BR> 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 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> g, int x, int y, int p0, int p1)</CODE><BR> 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 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> g, int x, int y, int p0, int p1)</CODE><BR> 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> <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 pos, <A HREF="../../../../java/awt/Shape.html">Shape</A> a, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b)</CODE><BR> 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> <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 pos, <A HREF="../../../../java/awt/Shape.html">Shape</A> a, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b)</CODE><BR> 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 <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> v, int pos, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> bias, <A HREF="../../../../java/awt/Shape.html">Shape</A> a)</CODE><BR> 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> 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> v, int pos, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b, <A HREF="../../../../java/awt/Shape.html">Shape</A> a, 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> <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 where, <A HREF="../../../../java/lang/String.html">String</A> str)</CODE><BR> Inserts a string into the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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 where, int nitems)</CODE><BR> Removes part of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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 where, int len)</CODE><BR> Retrieves a portion of the content.</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>GapContent.</B><B><A HREF="../../../../javax/swing/text/GapContent.html#getChars(int, int, javax.swing.text.Segment)">getChars</A></B>(int where, int len, <A HREF="../../../../javax/swing/text/Segment.html">Segment</A> chars)</CODE><BR> Retrieves a portion of the content.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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 offset)</CODE><BR> 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> <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 pos, <A HREF="../../../../java/awt/Shape.html">Shape</A> a, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b)</CODE><BR> 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> <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 pos, <A HREF="../../../../java/awt/Shape.html">Shape</A> a, <A HREF="../../../../javax/swing/text/Position.Bias.html">Position.Bias</A> b)</CODE><BR> 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 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> g, int x, int y, int p0, int p1)</CODE><BR> 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 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> g, int x, int y, int p0, int p1)</CODE><BR> 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 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> c, int offs)</CODE><BR> 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 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> c, int offs)</CODE><BR> 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 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> c, int offs, int x)</CODE><BR> 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 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> c, int offs, int x)</CODE><BR> 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 int</CODE></FONT></TD><TD><CODE><B>Utilities.</B><B><A HREF="../../../../jav
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -