public class ScaleBar extends Object
Java class for ScaleBar complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ScaleBar">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="align" type="{http://www.mapserver.org/mapserver}alignEnum"/>
<element name="backgroundColor" type="{http://www.mapserver.org/mapserver}rgbColorType" minOccurs="0"/>
<element name="color" type="{http://www.mapserver.org/mapserver}rgbColorType" minOccurs="0"/>
<element name="imageColor" type="{http://www.mapserver.org/mapserver}rgbColorType" minOccurs="0"/>
<element name="intervals" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
<element name="Label" type="{http://www.mapserver.org/mapserver}Label" minOccurs="0"/>
<element name="outlineColor" type="{http://www.mapserver.org/mapserver}rgbColorType"/>
<element name="position" type="{http://www.mapserver.org/mapserver}positionEnum" minOccurs="0"/>
<element name="postLabelCache" type="{http://www.mapserver.org/mapserver}booleanEnum" minOccurs="0"/>
<element name="size" type="{http://www.mapserver.org/mapserver}sizeType" minOccurs="0"/>
<element name="style" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<minInclusive value="0"/>
<maxInclusive value="1"/>
</restriction>
</simpleType>
</element>
<element name="transparent" type="{http://www.mapserver.org/mapserver}stateEnum" minOccurs="0"/>
<element name="units" type="{http://www.mapserver.org/mapserver}unitType" minOccurs="0"/>
</sequence>
<attribute name="status" type="{http://www.mapserver.org/mapserver}stateEnumUnion" default="OFF" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AlignEnum |
align |
protected RgbColorType |
backgroundColor |
protected RgbColorType |
color |
protected RgbColorType |
imageColor |
protected BigInteger |
intervals |
protected Label |
label |
protected RgbColorType |
outlineColor |
protected PositionEnum |
position |
protected BooleanEnum |
postLabelCache |
protected SizeType |
size |
protected String |
status |
protected Integer |
style |
protected StateEnum |
transparent |
protected UnitType |
units |
| Constructor and Description |
|---|
ScaleBar() |
| Modifier and Type | Method and Description |
|---|---|
AlignEnum |
getAlign()
Gets the value of the align property.
|
RgbColorType |
getBackgroundColor()
Gets the value of the backgroundColor property.
|
RgbColorType |
getColor()
Gets the value of the color property.
|
RgbColorType |
getImageColor()
Gets the value of the imageColor property.
|
BigInteger |
getIntervals()
Gets the value of the intervals property.
|
Label |
getLabel()
Gets the value of the label property.
|
RgbColorType |
getOutlineColor()
Gets the value of the outlineColor property.
|
PositionEnum |
getPosition()
Gets the value of the position property.
|
BooleanEnum |
getPostLabelCache()
Gets the value of the postLabelCache property.
|
SizeType |
getSize()
Gets the value of the size property.
|
String |
getStatus()
Gets the value of the status property.
|
Integer |
getStyle()
Gets the value of the style property.
|
StateEnum |
getTransparent()
Gets the value of the transparent property.
|
UnitType |
getUnits()
Gets the value of the units property.
|
void |
setAlign(AlignEnum value)
Sets the value of the align property.
|
void |
setBackgroundColor(RgbColorType value)
Sets the value of the backgroundColor property.
|
void |
setColor(RgbColorType value)
Sets the value of the color property.
|
void |
setImageColor(RgbColorType value)
Sets the value of the imageColor property.
|
void |
setIntervals(BigInteger value)
Sets the value of the intervals property.
|
void |
setLabel(Label value)
Sets the value of the label property.
|
void |
setOutlineColor(RgbColorType value)
Sets the value of the outlineColor property.
|
void |
setPosition(PositionEnum value)
Sets the value of the position property.
|
void |
setPostLabelCache(BooleanEnum value)
Sets the value of the postLabelCache property.
|
void |
setSize(SizeType value)
Sets the value of the size property.
|
void |
setStatus(String value)
Sets the value of the status property.
|
void |
setStyle(Integer value)
Sets the value of the style property.
|
void |
setTransparent(StateEnum value)
Sets the value of the transparent property.
|
void |
setUnits(UnitType value)
Sets the value of the units property.
|
protected AlignEnum align
protected RgbColorType backgroundColor
protected RgbColorType color
protected RgbColorType imageColor
protected BigInteger intervals
protected Label label
protected RgbColorType outlineColor
protected PositionEnum position
protected BooleanEnum postLabelCache
protected SizeType size
protected Integer style
protected StateEnum transparent
protected UnitType units
protected String status
public AlignEnum getAlign()
AlignEnumpublic void setAlign(AlignEnum value)
value - allowed object is
AlignEnumpublic RgbColorType getBackgroundColor()
RgbColorTypepublic void setBackgroundColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic RgbColorType getColor()
RgbColorTypepublic void setColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic RgbColorType getImageColor()
RgbColorTypepublic void setImageColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic BigInteger getIntervals()
BigIntegerpublic void setIntervals(BigInteger value)
value - allowed object is
BigIntegerpublic Label getLabel()
Labelpublic void setLabel(Label value)
value - allowed object is
Labelpublic RgbColorType getOutlineColor()
RgbColorTypepublic void setOutlineColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic PositionEnum getPosition()
PositionEnumpublic void setPosition(PositionEnum value)
value - allowed object is
PositionEnumpublic BooleanEnum getPostLabelCache()
BooleanEnumpublic void setPostLabelCache(BooleanEnum value)
value - allowed object is
BooleanEnumpublic SizeType getSize()
SizeTypepublic void setSize(SizeType value)
value - allowed object is
SizeTypepublic Integer getStyle()
Integerpublic void setStyle(Integer value)
value - allowed object is
Integerpublic StateEnum getTransparent()
StateEnumpublic void setTransparent(StateEnum value)
value - allowed object is
StateEnumpublic UnitType getUnits()
UnitTypepublic void setUnits(UnitType value)
value - allowed object is
UnitTypepublic String getStatus()
String