|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.gis.WmsSelection
public class WmsSelection
Class for controlling the display of color images.
| Field Summary | |
|---|---|
static String |
ATTR_BBOX
xml attribute name |
static String |
ATTR_FORMAT
xml attribute name |
static String |
ATTR_LAYER
xml attribute name |
static String |
ATTR_LEGENDURL
xml tag name |
static String |
ATTR_OPAQUE
xml attribute name |
static String |
ATTR_SERVER
xml tag name |
static String |
ATTR_SRS
xml attribute name |
static String |
ATTR_TITLE
xml attribute name |
static String |
ATTR_VERSION
xml attribute name |
static String |
TAG_BACKGROUNDWMS
xml tag name |
static String |
TAG_WMS
xml tag name |
| Constructor Summary | |
|---|---|
WmsSelection()
Default constructor. |
|
WmsSelection(String server,
String layer,
String title,
String srs,
String format,
String version,
GeoLocationInfo bounds)
Constructor. |
|
| Method Summary | |
|---|---|
void |
appendLayer(String layerName,
GeoLocationInfo thatBounds)
Append the given layer to our layer name. |
String |
assembleRequest(GeoLocationInfo boundsToUse,
int imageWidth,
int imageHeight)
Create the wms request |
boolean |
equals(Object o)
Overwrite |
boolean |
getAllowSubsets()
Get the AllowSubsets property. |
GeoLocationInfo |
getBounds()
Get the Bounds property. |
String |
getDescription()
Get the Description property. |
int |
getFixedHeight()
Get the FixedHeight property. |
int |
getFixedWidth()
Get the FixedWidth property. |
String |
getFormat()
Get the Format property. |
String |
getLayer()
Get the Layer property. |
String |
getLegendIcon()
Get the LegendIcon property. |
String |
getServer()
Get the Server property. |
String |
getSRS()
Get the srs property. |
List |
getTimeList()
Get the TimeList property. |
String |
getTitle()
Get the Title property. |
String |
getVersion()
Get the Version property. |
int |
hashCode()
Overwrite |
static List |
parseWmsResources(XmlResourceCollection xrc)
Process the xms xml resources |
void |
setAllowSubsets(boolean value)
Set the AllowSubsets property. |
void |
setBounds(GeoLocationInfo value)
Set the Bounds property. |
void |
setDescription(String value)
Set the Description property. |
void |
setFixedHeight(int value)
Set the FixedHeight property. |
void |
setFixedWidth(int value)
Set the FixedWidth property. |
void |
setFormat(String value)
Set the Format property. |
void |
setLayer(String value)
Set the Layer property. |
void |
setLegendIcon(String value)
Set the LegendIcon property. |
void |
setServer(String value)
Set the Server property. |
void |
setSRS(String value)
Set the srs property. |
void |
setTimeList(List value)
Set the TimeList property. |
void |
setTitle(String value)
Set the Title property. |
void |
setVersion(String value)
Set the Version property. |
String |
toString()
to string |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TAG_BACKGROUNDWMS
public static final String TAG_WMS
public static final String ATTR_SERVER
public static final String ATTR_LEGENDURL
public static final String ATTR_LAYER
public static final String ATTR_TITLE
public static final String ATTR_SRS
public static final String ATTR_FORMAT
public static final String ATTR_VERSION
public static final String ATTR_BBOX
public static final String ATTR_OPAQUE
| Constructor Detail |
|---|
public WmsSelection()
public WmsSelection(String server,
String layer,
String title,
String srs,
String format,
String version,
GeoLocationInfo bounds)
server - The serverlayer - The layertitle - The titlesrs - The srsformat - The formatversion - The versionbounds - The bounds| Method Detail |
|---|
public void appendLayer(String layerName,
GeoLocationInfo thatBounds)
layerName - layer name to appendthatBounds - its bounds
public String assembleRequest(GeoLocationInfo boundsToUse,
int imageWidth,
int imageHeight)
boundsToUse - The bounds to useimageWidth - The widthimageHeight - The height
public void setServer(String value)
value - The new value for Serverpublic String getServer()
public void setSRS(String value)
value - The new value for srspublic String getSRS()
public void setLayer(String value)
value - The new value for Layerpublic String getLayer()
public void setBounds(GeoLocationInfo value)
value - The new value for Boundspublic GeoLocationInfo getBounds()
public void setFormat(String value)
value - The new value for Formatpublic String getFormat()
public void setTitle(String value)
value - The new value for Titlepublic String getTitle()
public void setVersion(String value)
value - The new value for Versionpublic String getVersion()
public String toString()
toString in class Objectpublic static List parseWmsResources(XmlResourceCollection xrc)
xrc - The resources
public void setFixedWidth(int value)
value - The new value for FixedWidthpublic int getFixedWidth()
public void setFixedHeight(int value)
value - The new value for FixedHeightpublic int getFixedHeight()
public void setAllowSubsets(boolean value)
value - The new value for AllowSubsetspublic boolean getAllowSubsets()
public void setDescription(String value)
value - The new value for Descriptionpublic String getDescription()
public void setLegendIcon(String value)
value - The new value for LegendIconpublic String getLegendIcon()
public void setTimeList(List value)
value - The new value for TimeListpublic List getTimeList()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objecto - the object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||