Searched refs:BadLocationException (Results 26 - 50 of 92) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DAbstractDocument.java578 * @exception BadLocationException the given remove position is not a valid
582 public void remove(int offs, int len) throws BadLocationException {
602 void handleRemove(int offs, int len) throws BadLocationException {
605 throw new BadLocationException("Invalid remove",
648 * @exception BadLocationException the given position is not a valid
653 AttributeSet attrs) throws BadLocationException {
692 * @exception BadLocationException the given insert position is not a valid
696 public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
720 throws BadLocationException {
764 * @exception BadLocationException th
[all...]
H A DPasswordView.java63 * @exception BadLocationException if p0 or p1 are out of range
66 int p0, int p1) throws BadLocationException {
102 * @exception BadLocationException if p0 or p1 are out of range
105 int y, int p0, int p1) throws BadLocationException {
148 * @exception BadLocationException if the given position does not
152 public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException {
H A DUtilities.java494 * @exception BadLocationException if the offset is out of range
496 public static final int getRowStart(JTextComponent c, int offs) throws BadLocationException {
524 * @exception BadLocationException if the offset is out of range
526 public static final int getRowEnd(JTextComponent c, int offs) throws BadLocationException {
556 * @exception BadLocationException if the offset is out of range
558 public static final int getPositionAbove(JTextComponent c, int offs, int x) throws BadLocationException {
593 * @exception BadLocationException if the offset is out of range
595 public static final int getPositionBelow(JTextComponent c, int offs, int x) throws BadLocationException {
627 * @exception BadLocationException if the offset is out of range
629 public static final int getWordStart(JTextComponent c, int offs) throws BadLocationException {
[all...]
H A DDefaultHighlighter.java113 * @exception BadLocationException if the specified location is invalid
115 public Object addHighlight(int p0, int p1, Highlighter.HighlightPainter p) throws BadLocationException {
117 throw new BadLocationException("Invalid start offset", p0);
121 throw new BadLocationException("Invalid end offset", p1);
195 } catch (BadLocationException e) {}
212 } catch (BadLocationException e) {}
225 * @exception BadLocationException if the specified location is invalid
227 public void changeHighlight(Object tag, int p0, int p1) throws BadLocationException {
229 throw new BadLocationException("Invalid beginning of the range", p0);
233 throw new BadLocationException("Invali
[all...]
H A DDateFormatter.java131 BadLocationException, ParseException {
H A DDefaultFormatter.java504 throws BadLocationException {
549 AttributeSet attrs) throws BadLocationException {
565 boolean replace(ReplaceHolder rh) throws BadLocationException {
706 throws BadLocationException {
726 BadLocationException {
738 BadLocationException {
751 BadLocationException {
H A DJTextComponent.java1392 } catch (BadLocationException e) {
1405 * @exception BadLocationException if the offset or length are invalid
1407 public String getText(int offs, int len) throws BadLocationException {
1423 * @exception BadLocationException if the given position does not
1427 public Rectangle modelToView(int pos) throws BadLocationException {
1628 } catch (BadLocationException e) {
1645 } catch (BadLocationException e) {
1724 } catch (BadLocationException e) {
1747 } catch (BadLocationException e) {
1771 } catch (BadLocationException
[all...]
H A DView.java493 * @exception BadLocationException
499 throws BadLocationException {
502 throw new BadLocationException("Invalid position", pos);
581 * @exception BadLocationException if the specified position does
587 public abstract Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException;
611 * @exception BadLocationException if the given position does
618 public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a) throws BadLocationException {
624 } catch (BadLocationException ble) {
1312 * @exception BadLocationException if the given position does
1318 public Shape modelToView(int pos, Shape a) throws BadLocationException {
[all...]
H A DDefaultEditorKit.java145 * @exception BadLocationException if pos represents an invalid
149 throws IOException, BadLocationException {
164 * @exception BadLocationException if pos represents an invalid
168 throws IOException, BadLocationException {
196 * @exception BadLocationException if pos represents an invalid
200 throws IOException, BadLocationException {
306 * @exception BadLocationException if pos is not within 0 and
310 throws IOException, BadLocationException {
313 throw new BadLocationException("DefaultEditorKit.write", pos);
1074 } catch (BadLocationException b
[all...]
H A DNumberFormatter.java347 String string, AttributeSet attr) throws BadLocationException {
363 BadLocationException {
448 BadLocationException, ParseException {
H A DPlainView.java91 } catch (BadLocationException e) {
96 private int drawElement(int lineIndex, Element elem, Graphics g, int x, int y) throws BadLocationException {
146 * @exception BadLocationException if the range is invalid
149 int p0, int p1) throws BadLocationException {
171 * @exception BadLocationException if the range is invalid
174 int y, int p0, int p1) throws BadLocationException {
338 * @exception BadLocationException if the given position does not
342 public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException {
433 } catch (BadLocationException e) {
670 } catch (BadLocationException bl
[all...]
H A DWrappedPlainView.java123 } catch (BadLocationException e) {
128 private int drawText(Element elem, int p0, int p1, Graphics g, int x, int y) throws BadLocationException {
173 * @exception BadLocationException if the range is invalid
176 int p0, int p1) throws BadLocationException {
198 * @exception BadLocationException if the range is invalid
201 int y, int p0, int p1) throws BadLocationException {
310 } catch (BadLocationException bl) {
615 * @exception BadLocationException if the given position does not represent a
620 throws BadLocationException {
627 throw new BadLocationException("Positio
[all...]
H A DDefaultCaret.java666 } catch (BadLocationException e) {
864 } catch (BadLocationException bl) {
974 } catch (BadLocationException badloc) {
1124 } catch (BadLocationException e) {
1248 catch (BadLocationException ble) {}
1312 } catch (BadLocationException e) {
1654 } catch (BadLocationException ble) {
1681 } catch (BadLocationException e1) {
1716 } catch (BadLocationException ble) {
1762 } catch (BadLocationException e
[all...]
H A DInternationalFormatter.java517 } catch (BadLocationException ble) {
594 AttributeSet attrs) throws BadLocationException {
688 boolean replace(ReplaceHolder rh) throws BadLocationException {
904 BadLocationException, ParseException {
923 void resetValue(Object value) throws BadLocationException, ParseException {
1048 catch (BadLocationException ble) { }
H A DAbstractWriter.java264 abstract protected void write() throws IOException, BadLocationException;
269 * leaf element. Throws a BadLocationException
273 * @exception BadLocationException if pos represents an invalid
277 protected String getText(Element elem) throws BadLocationException {
290 * @exception BadLocationException if pos represents an invalid
293 protected void text(Element elem) throws BadLocationException,
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DCommandProcessorPanel.java97 catch (BadLocationException ble) {
170 catch (BadLocationException e) {
198 catch (BadLocationException ex) {
H A DDebuggerConsolePanel.java158 catch (BadLocationException e) {
181 catch (BadLocationException e) {
204 catch (BadLocationException ex) {
H A DSAEditorPane.java78 } catch (BadLocationException ex) {
H A DSourceCodePanel.java33 import javax.swing.text.BadLocationException;
151 } catch (BadLocationException e) {
249 } catch (BadLocationException e) {
263 } catch (BadLocationException e) {
H A DFindPanel.java97 catch (BadLocationException e) {
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/com/sun/demo/scripting/jconsole/
H A DScriptShellPanel.java199 } catch (BadLocationException e) {
209 } catch (BadLocationException e) {
250 } catch (BadLocationException ex) {
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJLabel.java1209 } catch (BadLocationException e) {
1266 } catch (BadLocationException e) {
1276 } catch (BadLocationException e) {
1287 } catch (BadLocationException e) {
1316 } catch (BadLocationException e) {
1333 } catch (BadLocationException e) {
1351 } catch (BadLocationException e) {
1380 } catch (BadLocationException e) {
1395 } catch (BadLocationException e) {
1411 } catch (BadLocationException
[all...]
/openjdk7/jdk/test/javax/swing/JTextArea/4697612/
H A Dbug4697612.java37 import javax.swing.text.BadLocationException;
165 } catch (BadLocationException ex) {
/openjdk7/jdk/src/share/classes/javax/swing/plaf/multi/
H A DMultiTextUI.java33 import javax.swing.text.BadLocationException;
100 throws BadLocationException {
116 throws BadLocationException {
162 throws BadLocationException {
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DMinimalHTMLWriter.java132 * @exception BadLocationException if pos represents an invalid
136 public void write() throws IOException, BadLocationException {
183 protected void text(Element elem) throws IOException, BadLocationException {
289 protected void writeBody() throws IOException, BadLocationException {
424 * @exception BadLocationException if pos represents an invalid
428 throws IOException, BadLocationException {

Completed in 95 milliseconds

1234