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 |
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 HotSpotsetup - encoded definitionsactive - initial status of the functionpublic boolean continueChecking(char[] line,
char ch,
int begin,
int end)
continueChecking in class HotSpotpublic 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 HotSpotg - 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 HotSpotg - graphic resourcexPos - yPos - x - y - cx - cy - public void activate(TerminalWindow tw)
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.