|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The GutterMark
is used by the Gutter
interface and implementations to mark a specific column and line in
the Gutter
with an Icon
. If the mark was
created with tracking requested, the getLine()
method
may be called to determine the current line of the mark.
It is possible the underlying buffer may be reloaded from disk (or persistent storage), such as on an application switch, if the buffer was modified externally. In such cases, rather than removing all gutter marks (which in the case of a debugger, would mean removing all breakpoints), we will leave all gutter marks as they are (i.e., not moved) except in the case that the buffer gets shorter, in which case we will remove tracking breakpoints beyond the length of the buffer.
Gutter
,
GutterTrackingListener
Method Summary | |
java.lang.String |
getColumnName()
Fetches the name of gutter column that this mark was created in. |
Gutter |
getGutter()
Fetches the Gutter that this mark has been created in. |
HighlightStyle |
getHighlightStyle()
Fetches the HighlightStyle associated with this GutterMark when it was created. |
javax.swing.Icon |
getIcon()
Fetches the Icon that was associated with this GutterMark when it was created. |
int |
getLine()
Fetches the line that this GutterMark is currently located on. |
boolean |
isTracking()
Fetches whether this mark performs line tracking. |
Method Detail |
public java.lang.String getColumnName()
public Gutter getGutter()
public javax.swing.Icon getIcon()
public HighlightStyle getHighlightStyle()
public int getLine()
public boolean isTracking()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.