| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.editor.language.StyledFragment
public final class StyledFragment
A StyledFragment just associates a BaseStyle with
 a region of text.  Data members are public for convenience.  Note
 that fragments may span multiple lines.
| Field Summary | |
|---|---|
 int | 
endOffset
The ending offset for this fragment (exclusive).  | 
 int | 
startOffset
The starting offset for this fragment.  | 
 java.lang.String | 
styleName
The name of the style to use for rendering this fragment.  | 
| Constructor Summary | |
|---|---|
StyledFragment(java.lang.String styleName,
               int startOffset,
               int endOffset)
Constructs a new StyledFragment.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
toString()
Fetches a string representation of this fragment.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public java.lang.String styleName
public int startOffset
public int endOffset
| Constructor Detail | 
|---|
public StyledFragment(java.lang.String styleName,
                      int startOffset,
                      int endOffset)
styleName - the name of the style to usestartOffset - starting offsetendOffset - ending offset (exclusive)| Method Detail | 
|---|
public java.lang.String toString()
toString in class java.lang.Object
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||