public class KeyHotSpot extends HotSpot
| Modifier and Type | Field and Description |
|---|---|
protected int |
sendKey
The send key for newly created hot spots.
|
| Constructor and Description |
|---|
KeyHotSpot() |
| 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 |
onCreate(HotSpot parent)
Called when a new hot spot has been instantiated.
|
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 HotSpotpublic void onCreate(HotSpot parent)
public 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 HotSpotpublic void setTextColor(Graphics g, int xPos, int yPos, int x, int y, int cx, int cy)
setTextColor in class HotSpotpublic void activate(TerminalWindow tw)
Phantom® and NetPhantom® are registered trademarks of Nexum Technologies SARL.
© Copyright Nexum Technologies SARL, 2011. All rights reserved.