public class RpfSubframe
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
RpfSubframe.BitsAndColors
Indexed colormodel implementation.
|
class |
RpfSubframe.ImageCreator |
class |
RpfSubframe.Pixels
Direct colormodel implementation.
|
Modifier and Type | Field and Description |
---|---|
protected DataBounds |
bounds |
protected java.lang.String |
data
The actual attribute information.
|
protected RpfSubframe.ImageCreator |
imageCreator
The object that creates the image from either pixels or bytes and colors.
|
int |
nextSubframe
The pointers to the surrounding subframes in the cache.
|
protected int |
opaqueness
The opaqueness of the image.
|
static int |
PIXEL_EDGE_SIZE
The original pixel size of RPF Subframes.
|
int |
prevSubframe
The pointers to the surrounding subframes in the cache.
|
byte |
version
The version of the subframe, used by the cache for marking how recently
used the subframe was.
|
Constructor and Description |
---|
RpfSubframe() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeText()
getAttributeText retrieves the text that would be displayed as attribute
information about the subframe.
|
OMGraphic |
getImage(Projection proj) |
void |
setAttributeText(java.lang.String text)
setScalingTo has to be called after this for the changes to take place,
or else you need to call the information.setData() methods directly.
|
void |
setBitsAndColors(byte[] bits,
java.awt.Color[] colors) |
void |
setLocation(double ulat,
double wlon,
double llat,
double elon)
Set the lat/lon of the frame and attribute text.
|
void |
setPixels(int[] pixels) |
void |
setTransparent(int opaqueness) |
public byte version
public int nextSubframe
public int prevSubframe
public static final int PIXEL_EDGE_SIZE
protected java.lang.String data
protected int opaqueness
protected DataBounds bounds
protected RpfSubframe.ImageCreator imageCreator
public void setLocation(double ulat, double wlon, double llat, double elon)
ulat
- latitude of upper left point, in decimal degrees.wlon
- longitude of upper left point, in decimal degrees.llat
- latitude of lower right point, in decimal degrees.elon
- longitude of lower right point, in decimal degrees.public void setAttributeText(java.lang.String text)
public java.lang.String getAttributeText()
public void setPixels(int[] pixels)
public void setBitsAndColors(byte[] bits, java.awt.Color[] colors)
public void setTransparent(int opaqueness)
public OMGraphic getImage(Projection proj)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details