|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ViewFragment
Interface describing a view being fragment of some original view.
It provides information that the fragment usually has to know anyway
but that it's not available through
the View
class that the fragment is instance of.
The instances of this interface are created once fragments
of a view have to created e.g. for line-wrapping purposes.
If the returned fragment does not implement this interface
a default wrapper gets created.
Method Summary | |
---|---|
View |
getOriginalView()
Return original view for which this wrapper is being created. |
int |
getRelativeEndOffset()
Return relative ending offset against the starting offset of the original view. |
int |
getRelativeStartOffset()
Return relative starting offset against the starting offset of the original view. |
Method Detail |
---|
View getOriginalView()
int getRelativeStartOffset()
int getRelativeEndOffset()
|
org.netbeans.modules.editor.lib/1 1.14.0 3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |