|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.rover.RoverIcon
public class RoverIcon
An icon used to represent RoverPoint entities on a map display. This consists of an image to use, plus a derived rectangular bitmask representing the "hot spot", or clickable area, for that image - generally the non-transparent pixels.
| Field Summary | |
|---|---|
FontSpecification |
fontSpecification
Public for speed. |
int |
height
Public for speed. |
boolean[][] |
hotMask
Public for speed. |
java.awt.Image |
icon
Public for speed. |
int |
offsetX
Public for speed. |
int |
offsetY
Public for speed. |
float |
rotation
|
java.lang.String |
symbolText
Public for speed. |
static FixedColorFilter |
toBlackFilter
|
static FixedColorFilter |
toWhiteFilter
|
int |
width
Public for speed. |
| Constructor Summary | |
|---|---|
RoverIcon(FontSpecification spec,
java.lang.String symbolText)
|
|
RoverIcon(java.awt.Image icon)
|
|
RoverIcon(java.lang.String iconName)
|
|
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D g,
int x,
int y)
|
void |
drawAsBlack(java.awt.Graphics2D g,
int x,
int y)
|
void |
drawAsWhite(java.awt.Graphics2D g,
int x,
int y)
|
void |
drawInverted(java.awt.Graphics2D g,
int x,
int y)
|
void |
drawSelected(java.awt.Graphics2D g,
int x,
int y)
|
static ImageFactory |
factorySingleton()
|
static RoverIcon |
getTextHandleIcon()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final FixedColorFilter toBlackFilter
public static final FixedColorFilter toWhiteFilter
public java.awt.Image icon
public boolean[][] hotMask
public int offsetX
public int offsetY
public int width
public int height
public FontSpecification fontSpecification
public java.lang.String symbolText
public float rotation
| Constructor Detail |
|---|
public RoverIcon(FontSpecification spec,
java.lang.String symbolText)
public RoverIcon(java.lang.String iconName)
public RoverIcon(java.awt.Image icon)
| Method Detail |
|---|
public static ImageFactory factorySingleton()
public static RoverIcon getTextHandleIcon()
public void draw(java.awt.Graphics2D g,
int x,
int y)
public void drawSelected(java.awt.Graphics2D g,
int x,
int y)
public void drawAsBlack(java.awt.Graphics2D g,
int x,
int y)
public void drawAsWhite(java.awt.Graphics2D g,
int x,
int y)
public void drawInverted(java.awt.Graphics2D g,
int x,
int y)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||