public class Hyperlink extends HotSpot
Definition is encoded in a string: List of patterns separated by ,
Constructor and Description |
---|
Hyperlink() |
Modifier and Type | Method and Description |
---|---|
void |
activate(TerminalWindow tw)
Called when the hot spot is activated.
|
int |
check(char[] line,
List<HotSpot> hotSpots,
int begin,
int end)
Checks if a hot spot is found.
|
boolean |
continueChecking(char[] line,
char ch,
int begin,
int end)
Checks if it is OK to keep on checking.
|
void |
initialize(String setup,
boolean active)
Performs initialization from the setup data.
|
addHotSpot, equals, fillCharBackground, isInside, onCreate, parse, postPaint, setTextColor
public void initialize(String setup, boolean active)
initialize
in class HotSpot
setup
- encoded definitionsactive
- initial status of the functionpublic boolean continueChecking(char[] line, char ch, int begin, int end)
continueChecking
in class HotSpot
public int check(char[] line, List<HotSpot> hotSpots, int begin, int end)
public void activate(TerminalWindow tw)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.