ewe.ui.formatted
Class HotSpot
java.lang.Object
ewe.data.DataObject
ewe.ui.formatted.TextFormatter
ewe.ui.formatted.HotSpot
- All Implemented Interfaces:
- Comparable, Copyable, DataUnit
- public class HotSpot
- extends TextFormatter
A HotSpot represents a Hyperlink to a location within this document (if the link starts with '#')
or to another document. It is also used to represent a location within a document that another
HotSpot can link to (in which case it is effectively invisible).
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.
| Fields inherited from class ewe.ui.formatted.TextFormatter |
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 Summary |
HotSpot()
|
HotSpot(int line,
int character,
int length)
|
|
Method Summary |
boolean |
applyBefore()
Returns if this need to be applied at the start or during the line. |
| Methods inherited from class ewe.ui.formatted.TextFormatter |
applyAfter, applySpecialFormat, creatingFor, drawSpecialFormat, getBrokenImage, getCharRange, getEndFormatter, getFont, getFontMetrics, getStartFormatter, getToolTip, getUnknownImage, isOnImage, rangeToString, repaint, replace, resplit, toString |
| Methods inherited from class ewe.data.DataObject |
_getSetField, appendAllFields, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew |
hotColor
public static Color hotColor
HotSpot
public HotSpot()
HotSpot
public HotSpot(int line,
int character,
int length)
applyBefore
public boolean applyBefore()
- Returns if this need to be applied at the start or during the line.
- Overrides:
applyBefore in class TextFormatter