|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.OGCWebServiceRequest_Impl
org.deegree_impl.services.wms.protocol.WMSGetScaleBarRequest_Impl
class for the deegree specific WMS request: GetScaleBar
Field Summary | |
private java.awt.Color |
allgColor
|
private java.awt.Color |
barColor
|
private int |
barSize
|
private java.lang.String |
barStyle
|
private int |
bottomLabel
|
private java.awt.Font |
font
|
private java.lang.String |
format
|
private java.awt.Color |
labelColor
|
private double |
scale
|
private int |
scaleDenominator
|
private int |
topLabel
|
private java.lang.String |
units
|
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
id, request, service, vendorSpecificParameter, version |
Fields inherited from interface org.deegree.services.wms.protocol.WMSGetScaleBarRequest |
L_NONE, L_SCALE, L_SIZE |
Constructor Summary | |
WMSGetScaleBarRequest_Impl(java.lang.String version,
java.lang.String id,
java.util.HashMap vendorSpecificParameter,
java.lang.String units,
int topLabel,
int bottomLabel,
java.awt.Color labelColor,
java.awt.Font font,
java.lang.String barStyle,
java.awt.Color barColor,
java.awt.Color bgColor,
int size,
double scale,
int scaleDenominator,
java.lang.String format)
Constructor |
Method Summary | |
int |
getBarSize()
return the size of the scale bar in pixel |
java.awt.Color |
getBGColor()
returns the background color of the scale bar |
int |
getBottomLabel()
get the label type that shall be displayed below the scale bar. |
java.awt.Color |
getColor()
returns the color will be painted or null if the scale bar hasn't a unique color (depends on the style) |
java.awt.Font |
getFont()
returns the font to be used for drawing the labels |
java.lang.String |
getFormat()
returns the image format (MIME Type) the scale bar will be produced in. |
java.awt.Color |
getLabelColor()
returns the color the scale bars label will be painted |
double |
getPixelSize()
returns the pixel size in milli meter. |
java.lang.String |
getRequestParameter()
returns the URI of a HTTP GET request. |
double |
getScale()
|
int |
getScaleDenominator()
|
int |
getSize()
returns the size of the scale bar in pixel |
java.lang.String |
getStyle()
returns the name of the style the scale bar should be drawed. beside 'default' and 'ALTERNATE' the available styles depends on the implementation. |
int |
getTopLabel()
get the label type that shall be displayed above the scale bar. |
java.lang.String |
getUnits()
returns the name of the units the scale bar should use for measuring |
void |
setBarSize(int barSize)
sets the size of the scale bar in pixel |
void |
setBGColor(java.awt.Color bgColor)
sets the background color of the scale bar |
void |
setBottomLabel(int bLabel)
set the label type that shall be displayed below the scale bar. |
void |
setColor(java.awt.Color bColor)
sets the color will be painted or null if the scale bar hasn't a unique color (depends on the style) |
void |
setFont(java.awt.Font font)
sets the font to be used for drawing the labels |
void |
setFormat(java.lang.String format)
sets the image format (MIME Type) the scale bar will be produced in. |
void |
setLabelColor(java.awt.Color lColor)
sets the color the scale bars label will be painted |
void |
setScale(double s)
|
void |
setScaleDenominator(int sd)
|
void |
setSize(int size)
sets the size of the scale bar in pixel |
void |
setStyle(java.lang.String bStyle)
sets the name of the style the scale bar should be drawed. beside 'default' and 'ALTERNATE' the available styles depends on the implementation. |
void |
setTopLabel(int topLabel)
set the label type that shall be displayed above the scale bar. |
void |
setUnits(java.lang.String uName)
sets the name of the units the scale bar should use for measuring |
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
getId, getRequest, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter, setVersion, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.services.OGCWebServiceRequest |
getId, getRequest, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion |
Field Detail |
private java.awt.Color allgColor
private java.awt.Color barColor
private java.awt.Color labelColor
private java.awt.Font font
private java.lang.String barStyle
private java.lang.String units
private java.lang.String format
private double scale
private int scaleDenominator
private int barSize
private int bottomLabel
private int topLabel
Constructor Detail |
public WMSGetScaleBarRequest_Impl(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, java.lang.String units, int topLabel, int bottomLabel, java.awt.Color labelColor, java.awt.Font font, java.lang.String barStyle, java.awt.Color barColor, java.awt.Color bgColor, int size, double scale, int scaleDenominator, java.lang.String format)
version
- id
- vendorSpecificParameter
- topLabel
- bottomLabel
- scale
- scaleDenominator
- units
- labelColor
- barColor
- bgColor
- barStyle
- font
- Method Detail |
public void setTopLabel(int topLabel)
topLabel
- type of label to display above the scale barpublic int getTopLabel()
getTopLabel
in interface WMSGetScaleBarRequest
public void setBottomLabel(int bLabel)
bLabel
- type of label to display below the scale barpublic int getBottomLabel()
getBottomLabel
in interface WMSGetScaleBarRequest
public void setScale(double s)
s
- public double getScale()
getScale
in interface WMSGetScaleBarRequest
public void setScaleDenominator(int sd)
sd
- public int getScaleDenominator()
getScaleDenominator
in interface WMSGetScaleBarRequest
public void setUnits(java.lang.String uName)
uName
- name of the unitspublic java.lang.String getUnits()
getUnits
in interface WMSGetScaleBarRequest
public void setSize(int size)
size
- of the scale bar in pixelpublic int getSize()
getSize
in interface WMSGetScaleBarRequest
public void setColor(java.awt.Color bColor)
bColor
- color of the scale barpublic java.awt.Color getColor()
getColor
in interface WMSGetScaleBarRequest
public void setBGColor(java.awt.Color bgColor)
bgColor
- background colorpublic java.awt.Color getBGColor()
getBGColor
in interface WMSGetScaleBarRequest
public void setLabelColor(java.awt.Color lColor)
lColor
- color of the labelspublic java.awt.Color getLabelColor()
getLabelColor
in interface WMSGetScaleBarRequest
public java.lang.String getStyle()
getStyle
in interface WMSGetScaleBarRequest
public void setStyle(java.lang.String bStyle)
bStyle
- style of the scale barpublic java.lang.String getFormat()
getFormat
in interface WMSGetScaleBarRequest
public void setFormat(java.lang.String format)
format
- public double getPixelSize()
getPixelSize
in interface WMSGetScaleBarRequest
public java.lang.String getRequestParameter() throws WebServiceException
OGCWebServiceRequest
getRequestParameter
in interface OGCWebServiceRequest
getRequestParameter
in class OGCWebServiceRequest_Impl
WebServiceException
public int getBarSize()
getBarSize
in interface WMSGetScaleBarRequest
public void setBarSize(int barSize)
barSize
- public java.awt.Font getFont()
getFont
in interface WMSGetScaleBarRequest
public void setFont(java.awt.Font font)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |