public class HotSpot extends TextFormatter
The hyperlink that the HotSpot refers to is stored in the "data" member variable as a String. If this String starts with '!' then it is a book mark in the document that other hyperlinks will refer to. If it does not start with '!' then it is a clickable hyperlink to another location or document.
Modifier and Type | Field and Description |
---|---|
static Color |
hotColor |
backgroundColor, borderWidth, CIRCLE, color, cursor, data, DIAMOND, endCharacter, FONT_CHANGE, FONT_FREEZE, fontFlags, fontName, fontSize, fontSizeChange, groupID, groupIndex, hSpace, image, imageChar, imageLine, imageX, imageY, label, leftMarginShift, LINE_ADD_FIRST_LINE_HEADER, LINE_ALIGN_NOW, LINE_BACKGROUND_COLOR_CHANGE, LINE_CANCEL_ALIGNMENTS, LINE_CENTERED, LINE_DRAW_RULE, LINE_HEADER_RIGHT_ALIGN, LINE_LEFT_MARGIN_SHIFT_IS_CHARACTERS, LINE_RESPLIT, LINE_RIGHT_ALIGNED, lineFlags, linkedTo, newFont, notUsed, numLines, resplitWidthChange, SOLID_CIRCLE, startCharacter, startLine, toolTip, vSpace
Constructor and Description |
---|
HotSpot() |
HotSpot(int line,
int character,
int length) |
Modifier and Type | Method and Description |
---|---|
boolean |
applyBefore()
Returns if this need to be applied at the start or during the line.
|
applyAfter, applySpecialFormat, creatingFor, drawSpecialFormat, getBrokenImage, getCharRange, getEndFormatter, getFont, getFontMetrics, getStartFormatter, getToolTip, getUnknownImage, isOnImage, rangeToString, repaint, replace, resplit, toString
_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNew
public static Color hotColor
public HotSpot()
public HotSpot(int line, int character, int length)
public boolean applyBefore()
applyBefore
in class TextFormatter