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, nonPositiveDataIgnoredFields inherited from class com.kheops.jmap.client.thematic.Thematic
attribStats, attributeIndexes, baseLayerStyle, description, elemCount, enabled, name, nullValueCategorized, outOfSampleDataIgnored, primitiveType, subTitle, title, userDefined -
Constructor Summary
ConstructorsConstructorDescriptionProportionalSymbol(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 voidvoiddrawThematicElement(K2DElement elem, GraphicsRef gr, K2DTransform t) Draws the geometry with the appropriate style based on the attribute values of the specified element.booleanvoidsetMaxStyle(Style maxStyle) voidsetMinStyle(Style minStyle) Methods inherited from class com.kheops.jmap.client.thematic.ProportionalQuantities
getLegendTitles, getLegendTitles, isDrawable, removeTranslationsOtherThan, setLegendTitles, setLegendTitlesMethods 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, setTitleMethods inherited from class com.kheops.jmap.metadata.LocalizedObject
getAvailableLocales, getTranslation, isTranslationExists, setTranslation, updateTranslationsMethods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:OverlayDraws the geometry with the appropriate style based on the attribute values of the specified element.- Specified by:
drawThematicElementin 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:
equalsin classProportionalQuantities
-
clone
Description copied from class:ThematicConstructs a clone of this theme. -
clone
- Overrides:
clonein classProportionalQuantities
-