ch.elexis.text
Class DecoratedStyleRange
java.lang.Object
ch.rgw.tools.GenericRange
ch.elexis.text.DecoratedStyleRange
public class DecoratedStyleRange
- extends GenericRange
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoratedStyleRange
public DecoratedStyleRange(StyleRange sr)
getSSDRange
public SSDRange getSSDRange()
getStyleRange
public StyleRange getStyleRange()
splitOverlay
public void splitOverlay(TextPresentation tp,
DecoratedStyleRange inner)
- If this GenericRange ist larger and on bottom, another shorter GenericRange is laid on top.
Then we create three Ranges: Leading, Middle, Trailing, while leading and trailing are the
splitted original range and middle is a the inner Range with overlaid styles
- Parameters:
inner
- th inner range
intersectOverlay
public void intersectOverlay(TextPresentation tp,
DecoratedStyleRange over)
- The other Range overlaps us at the beginning (i.e. begins befor or at our start and ends
within us)
- Parameters:
tp
- over
-
Copyright 2005-2011 by Gerry Weirich, Elexis