|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmain.MapComponent
public abstract class MapComponent
The MapComponent
class contains information necessary for
drawing a map component. In particular it contains properties that are
attributed to the color and size of the component on the map. These values do
not directly correspond to color and size on the map. The
DrawingParameters
class specifies how they will be drawn based on the
map component's values.
Field Summary | |
---|---|
private java.lang.Double |
weightColor
|
private java.lang.Double |
weightSize
|
Constructor Summary | |
---|---|
protected |
MapComponent()
Creates a new, uninitialized MapComponent . |
Method Summary | |
---|---|
protected MapComponent |
clone()
clones the object |
java.lang.Double |
getWeightColor()
Returns the value attributed to the component's color on the map. |
java.lang.Double |
getWeightSize()
Returns the value attributed to the component's size on the map. |
void |
setWeightColor(java.lang.Double weightColor)
Sets the value attributed to the component's color on the map. |
void |
setWeightSize(java.lang.Double weightSize)
Sets the value attributed to the component's size on the map. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.Double weightColor
private java.lang.Double weightSize
Constructor Detail |
---|
protected MapComponent()
MapComponent
.
Method Detail |
---|
public void setWeightColor(java.lang.Double weightColor)
weightColor
- the component's weightColorpublic void setWeightSize(java.lang.Double weightSize)
weightSize
- the component's weightSizepublic java.lang.Double getWeightColor()
public java.lang.Double getWeightSize()
protected MapComponent clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |