Package org.fife.ui.rsyntaxtextarea
Class ActiveLineRangeEvent
java.lang.Object
java.util.EventObject
org.fife.ui.rsyntaxtextarea.ActiveLineRangeEvent
- All Implemented Interfaces:
Serializable
The event fired by
RSyntaxTextArea
s when the active line range
changes.- Version:
- 1.0
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
min
private int min -
max
private int max
-
-
Constructor Details
-
ActiveLineRangeEvent
Constructor.- Parameters:
source
- The text area.min
- The first line in the active line range, or-1
if the line range is being cleared.max
- The last line in the active line range, or-1
if the line range is being cleared.
-
-
Method Details
-
getMax
public int getMax()Returns the last line in the active line range.- Returns:
- The last line, or
-1
if the range is being cleared. - See Also:
-
getMin
public int getMin()Returns the first line in the active line range.- Returns:
- The first line, or
-1
if the range is being cleared. - See Also:
-