Package ro.sync.exml.view.graphics
Class AttributedString.AttributedInterval
java.lang.Object
ro.sync.exml.view.graphics.AttributedString.AttributedInterval
- Enclosing class:
- AttributedString
A text interval from the string, with a specific attribute.
-
Constructor Summary
ConstructorsConstructorDescriptionAttributedInterval
(int startOffset, int endOffset, TextAttribute attribute, Object value) Constructor. -
Method Summary
-
Constructor Details
-
AttributedInterval
Constructor.- Parameters:
startOffset
- The start offsetendOffset
- The end offsetattribute
- The attribute keyvalue
- The attribute value
-
-
Method Details
-
getStartOffset
public int getStartOffset()- Returns:
- Returns the index of the first character of the range.
-
getEndOffset
public int getEndOffset()- Returns:
- Returns the Index of the character following the last character.
-
getAttribute
- Returns:
- Returns the attribute.
-
getValue
- Returns:
- Returns the value.
-
toString
-
hashCode
public int hashCode() -
equals
-