com.vividsolutions.jump.workbench.ui.renderer.style.attributeclassifications
Class QuantileColorThemingState

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.attributeclassifications.QuantileColorThemingState
All Implemented Interfaces:
ColorThemingStylePanel.State

public class QuantileColorThemingState
extends java.lang.Object
implements ColorThemingStylePanel.State


Constructor Summary
QuantileColorThemingState(ColorThemingStylePanel stylePanel)
           
 
Method Summary
 void activate()
           
 void applyColorScheme(ColorScheme colorScheme)
           
 void deactivate()
           
 java.util.Collection filterAttributeValues(java.util.SortedSet attributeValues)
          Returns a Collection with double values that are corresponding to the class breaks.
 ColorScheme filterColorScheme(ColorScheme colorScheme)
           
 java.util.Map fromExternalFormat(java.util.Map attributeValueToObjectMap)
           
 java.lang.String getAllOtherValuesDescription()
           
 java.lang.String getAttributeValueColumnTitle()
           
 java.util.Collection getColorSchemeNames()
           
 javax.swing.JComponent getPanel()
           
 java.util.Map toExternalFormat(java.util.Map attributeValueToObjectMap)
          Performs any necessary modifications to the map before applying it to the layer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuantileColorThemingState

public QuantileColorThemingState(ColorThemingStylePanel stylePanel)
Method Detail

getAllOtherValuesDescription

public java.lang.String getAllOtherValuesDescription()
Specified by:
getAllOtherValuesDescription in interface ColorThemingStylePanel.State

getAttributeValueColumnTitle

public java.lang.String getAttributeValueColumnTitle()
Specified by:
getAttributeValueColumnTitle in interface ColorThemingStylePanel.State

filterAttributeValues

public java.util.Collection filterAttributeValues(java.util.SortedSet attributeValues)
Returns a Collection with double values that are corresponding to the class breaks. Note: the smallest number is equal to the minValue of all attributes.

Specified by:
filterAttributeValues in interface ColorThemingStylePanel.State

getPanel

public javax.swing.JComponent getPanel()
Specified by:
getPanel in interface ColorThemingStylePanel.State

fromExternalFormat

public java.util.Map fromExternalFormat(java.util.Map attributeValueToObjectMap)
Specified by:
fromExternalFormat in interface ColorThemingStylePanel.State

toExternalFormat

public java.util.Map toExternalFormat(java.util.Map attributeValueToObjectMap)
Description copied from interface: ColorThemingStylePanel.State
Performs any necessary modifications to the map before applying it to the layer.

Specified by:
toExternalFormat in interface ColorThemingStylePanel.State

applyColorScheme

public void applyColorScheme(ColorScheme colorScheme)
Specified by:
applyColorScheme in interface ColorThemingStylePanel.State

getColorSchemeNames

public java.util.Collection getColorSchemeNames()
Specified by:
getColorSchemeNames in interface ColorThemingStylePanel.State

activate

public void activate()
Specified by:
activate in interface ColorThemingStylePanel.State

deactivate

public void deactivate()
Specified by:
deactivate in interface ColorThemingStylePanel.State

filterColorScheme

public ColorScheme filterColorScheme(ColorScheme colorScheme)
Specified by:
filterColorScheme in interface ColorThemingStylePanel.State