public static class AttributedString.AttributedInterval
extends java.lang.Object
Constructor and Description |
---|
AttributedInterval(int startOffset,
int endOffset,
TextAttribute attribute,
java.lang.Object value)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TextAttribute |
getAttribute() |
int |
getEndOffset() |
int |
getStartOffset() |
java.lang.Object |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public AttributedInterval(int startOffset, int endOffset, TextAttribute attribute, java.lang.Object value)
startOffset
- The start offsetendOffset
- The end offsetattribute
- The attribute keyvalue
- The attribute valuepublic int getStartOffset()
public int getEndOffset()
public TextAttribute getAttribute()
public java.lang.Object getValue()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.