public class Hyperlink extends HotSpot
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 |
fillCharBackground(Graphics g,
int xPos,
int yPos,
int x,
int y,
int cx,
int cy)
Gets the background for drawing on the screen of the hot spot.
|
void |
initialize(String setup,
boolean active)
Performs initialization from the setup data.
|
void |
setTextColor(Graphics g,
int xPos,
int yPos,
int x,
int y,
int cx,
int cy)
Sets the color to use for the text (character) using g.setColor(nnn).
|
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 fillCharBackground(Graphics g, int xPos, int yPos, int x, int y, int cx, int cy)
fillCharBackground
in class HotSpot
g
- graphic resourcexPos
- yPos
- x
- y
- cx
- cy
- public void setTextColor(Graphics g, int xPos, int yPos, int x, int y, int cx, int cy)
setTextColor
in class HotSpot
g
- graphic resourcexPos
- yPos
- x
- y
- cx
- cy
- public void activate(TerminalWindow tw)
iizi® is a registered trademark of Mindus SARL. © Copyright 2019 Mindus SARL. All rights reserved.