facets.core.app
Class HtmlContent.HtmlSelected
java.lang.Object
facets.core.app.HtmlContent.HtmlSelected
- All Implemented Interfaces:
- Fonted, Shaded
- Enclosing class:
- HtmlContent
public static class HtmlContent.HtmlSelected
- extends java.lang.Object
- implements Fonted
Defines start and end of text selection in rendering and source.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
renderStart
public final int renderStart
renderStop
public final int renderStop
codeStart
public final int codeStart
codeStop
public final int codeStop
HtmlContent.HtmlSelected
public HtmlContent.HtmlSelected(int renderStart,
int renderStop,
int codeStart,
int codeStop)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
shade
public Shade shade()
- Description copied from interface:
Shaded
- The current colour of the object as a
Shade
.
- Specified by:
shade
in interface Shaded
setShade
public void setShade(Shade shade)
- Description copied from interface:
Shaded
- Set the current colour of the object as a
Shade
.
- Specified by:
setShade
in interface Shaded
- Parameters:
shade
- must be non-null
(to preserve contract semantics)
fontFace
public java.lang.String fontFace()
- Specified by:
fontFace
in interface Fonted
fontSize
public int fontSize()
- Specified by:
fontSize
in interface Fonted
fontIsBold
public boolean fontIsBold()
- Specified by:
fontIsBold
in interface Fonted
fontIsItalic
public boolean fontIsItalic()
- Specified by:
fontIsItalic
in interface Fonted
setFontFace
public void setFontFace(java.lang.String fontFace)
- Specified by:
setFontFace
in interface Fonted
setFontSize
public void setFontSize(int fontSize)
- Specified by:
setFontSize
in interface Fonted
setFontBold
public void setFontBold(boolean bold)
- Specified by:
setFontBold
in interface Fonted
setFontItalic
public void setFontItalic(boolean italic)
- Specified by:
setFontItalic
in interface Fonted