Gridarta Editor
src
textedit
src
main
java
net
sf
gridarta
textedit
textarea
TextAreaBrackets.java
Go to the documentation of this file.
1
/*
2
* Gridarta MMORPG map editor for Crossfire, Daimonin and similar games.
3
* Copyright (C) 2000-2023 The Gridarta Developers.
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*/
19
20
package
net.sf.gridarta.textedit.textarea;
21
25
public
class
TextAreaBrackets
{
26
30
private
int
bracketPosition
= -1;
31
35
private
int
bracketLine
= -1;
36
43
public
int
getBracketPosition
() {
44
return
bracketPosition
;
45
}
46
52
public
int
getBracketLine
() {
53
return
bracketLine
;
54
}
55
59
public
void
clear
() {
60
bracketPosition
= -1;
61
bracketLine
= -1;
62
}
63
69
public
void
set
(
final
int
bracketPosition
,
final
int
bracketLine
) {
70
this.bracketPosition =
bracketPosition
;
71
this.bracketLine =
bracketLine
;
72
}
73
74
}
net.sf.gridarta.textedit.textarea.TextAreaBrackets.getBracketLine
int getBracketLine()
Definition:
TextAreaBrackets.java:52
net.sf.gridarta.textedit.textarea.TextAreaBrackets
Definition:
TextAreaBrackets.java:25
net.sf.gridarta.textedit.textarea.TextAreaBrackets.bracketLine
int bracketLine
Definition:
TextAreaBrackets.java:35
net.sf.gridarta.textedit.textarea.TextAreaBrackets.clear
void clear()
Definition:
TextAreaBrackets.java:59
net.sf.gridarta.textedit.textarea.TextAreaBrackets.bracketPosition
int bracketPosition
Definition:
TextAreaBrackets.java:30
net.sf.gridarta.textedit.textarea.TextAreaBrackets.getBracketPosition
int getBracketPosition()
Definition:
TextAreaBrackets.java:43
Generated by
1.8.17