Package com.kheops.jmap.client.thematic
Class ProportionalSymbol
java.lang.Object
com.kheops.jmap.metadata.LocalizedObject
com.kheops.jmap.client.thematic.Thematic
com.kheops.jmap.client.thematic.ProportionalQuantities
com.kheops.jmap.client.thematic.ProportionalSymbol
- All Implemented Interfaces:
Overlay
,Serializable
,Cloneable
This is a subclass of the abstract class ProportionnalQuantities.
- See Also:
-
Field Summary
Fields inherited from class com.kheops.jmap.client.thematic.ProportionalQuantities
legendTitles, nonPositiveDataIgnored
Fields inherited from class com.kheops.jmap.client.thematic.Thematic
attribStats, attributeIndexes, baseLayerStyle, description, elemCount, enabled, name, nullValueCategorized, outOfSampleDataIgnored, primitiveType, subTitle, title, userDefined
-
Constructor Summary
ConstructorDescriptionProportionalSymbol
(String name, String description, Style minStyle, Style maxStyle, AbstractThematicLegendPanel legend, AttributeStat[] stats, int[] attributeIndexes) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Constructs a clone of this theme.protected void
void
drawThematicElement
(K2DElement elem, GraphicsRef gr, K2DTransform t) Draws the geometry with the appropriate style based on the attribute values of the specified element.boolean
void
setMaxStyle
(Style maxStyle) void
setMinStyle
(Style minStyle) Methods inherited from class com.kheops.jmap.client.thematic.ProportionalQuantities
getLegendTitles, getLegendTitles, isDrawable, removeTranslationsOtherThan, setLegendTitles, setLegendTitles
Methods inherited from class com.kheops.jmap.client.thematic.Thematic
getAttribStats, getAttributeIndexes, getDescription, getDescription, getName, getName, getNullThematicCategory, getSubTitle, getSubTitle, getTitle, getTitle, isNamed, isNullValueCategorized, setAttribStats, setAttributeIndexes, setDescription, setDescription, setName, setName, setNullThematicCategory, setNullValueCategorized, setSubTitle, setSubTitle, setTitle, setTitle
Methods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslations
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.kheops.jmap.client.thematic.Overlay
isDrawable
-
Constructor Details
-
ProportionalSymbol
public ProportionalSymbol() -
ProportionalSymbol
public ProportionalSymbol(String name, String description, Style minStyle, Style maxStyle, AbstractThematicLegendPanel legend, AttributeStat[] stats, int[] attributeIndexes) - Parameters:
name
- the thematic namedescription
- the thematic description nameminStyle
- the style applied to the minimum valuemaxStyle
- the style applied to the maximum valuelegend
- the legendstats
- the attributeStat instance that keep different information on the values used to separate the categories.attributeIndexes
- the indexes of the attributes in the table (only one here, represents the attribute needed to mahe the thematic)
-
-
Method Details
-
getMaxStyle
- Returns:
- Returns the maxStyle.
-
setMaxStyle
- Parameters:
maxStyle
- The maxStyle to set.
-
getMinStyle
- Returns:
- Returns the minStyle.
-
setMinStyle
- Parameters:
minStyle
- The minStyle to set.
-
drawThematicElement
Description copied from interface:Overlay
Draws the geometry with the appropriate style based on the attribute values of the specified element.- Specified by:
drawThematicElement
in interfaceOverlay
- Parameters:
elem
- the element on which the thematic is appliedgr
- the graphics reference object to be used to drawt
- the 2D transformation to be used
-
equals
- Overrides:
equals
in classProportionalQuantities
-
clone
Description copied from class:Thematic
Constructs a clone of this theme. -
clone
- Overrides:
clone
in classProportionalQuantities
-