|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.bbn.openmap.layer.rpf.RpfSubframe
The RpfSubframe is a holder for images and attributes within the cache.
| Field Summary | |
protected int |
colorModel
The color model of the image. |
protected java.lang.String |
data
The actual attribute information. |
OMScalingRaster |
image
The subframe image. |
OMText |
information
The attribute text. |
int |
nextSubframe
The pointers to the surrounding subframes in the cache. |
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. |
OMRect |
rectangle
The subframe outline. |
int |
version
The version of the subframe. |
| Constructor Summary | |
RpfSubframe()
|
|
RpfSubframe(int colormodel)
|
|
| Method Summary | |
java.lang.String |
getAttributeText()
getAttributeText retrieves the text that would be displayed as attribute information about the subframe. |
int |
getColorModel()
|
protected void |
init(int colormodel)
|
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 |
setColorModel(int colorModel)
|
void |
setLocation(float lat,
float lon)
Deprecated. use the other setLocation, with upper left and lower right coordinates. |
void |
setLocation(float ulat,
float wlon,
float llat,
float elon)
Set the lat/lon of the frame and attribute text. |
void |
setScalingTo(int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int version
public OMScalingRaster image
public OMText information
public OMRect rectangle
public int nextSubframe
public int prevSubframe
public static final int PIXEL_EDGE_SIZE
protected int colorModel
protected java.lang.String data
public int opaqueness
| Constructor Detail |
public RpfSubframe()
public RpfSubframe(int colormodel)
throws java.lang.OutOfMemoryError
| Method Detail |
protected void init(int colormodel)
public int getColorModel()
public void setColorModel(int colorModel)
public void setScalingTo(int width,
int height)
public void setLocation(float lat,
float lon)
lat - latitude of upper left point, in decimal degrees.lon - longitude of upper left point, in decimal degrees.
public void setLocation(float ulat,
float wlon,
float llat,
float 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||