|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.label.WebMultiLineLabelUI.SegmentCache
protected static final class WebMultiLineLabelUI.SegmentCache
Static singleton Segment
cache.
SegmentCache
Method Summary | |
---|---|
static javax.swing.text.Segment |
getSegment()
Returns a Segment . |
static void |
releaseSegment(javax.swing.text.Segment segment)
Releases a Segment . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static javax.swing.text.Segment getSegment()
Segment
. When done, the Segment
should be recycled by invoking releaseSegment(Segment)
.
Segment
.public static void releaseSegment(javax.swing.text.Segment segment)
Segment
. A segment should not be used after it is released, and a segment should never be released more
than once.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |