Package repast.simphony.gis.styleEditor
Class ByRangePanelMediator
- java.lang.Object
-
- repast.simphony.gis.styleEditor.ByRangePanelMediator
-
public class ByRangePanelMediator extends Object
Mediates between the different components in ByRangePanel.- Author:
- Nick Collier, Eric Tatara
-
-
Constructor Summary
Constructors Constructor Description ByRangePanelMediator(org.opengis.feature.type.FeatureType featureType, org.geotools.styling.Rule rule)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attributeChanged()
void
classesChanged(int classes)
Called whenever the classes count changesDefaultComboBoxModel
getAttributeModel()
DefaultComboBoxModel
getClassifcationTypeModel()
org.geotools.styling.Rule
getDefaultRule()
org.geotools.styling.FeatureTypeStyle
getFeatureTypeStyle()
ComboBoxModel
getMarkModel()
double
getMax()
double
getMin()
ComboBoxModel
getPaletteModel()
TableModel
getPreviewTableModel()
void
init(List<org.geotools.styling.Rule> rules, String attributeName)
void
maxChanged(double max)
void
minChanged(double min)
void
paletteChanged()
void
replaceRule(org.geotools.styling.Rule oldRule, org.geotools.styling.Rule newRule)
void
setDefaultRule(org.geotools.styling.Rule defaultRule)
void
typeChanged()
-
-
-
Method Detail
-
getMin
public double getMin()
-
getMax
public double getMax()
-
getDefaultRule
public org.geotools.styling.Rule getDefaultRule()
-
setDefaultRule
public void setDefaultRule(org.geotools.styling.Rule defaultRule)
-
getPaletteModel
public ComboBoxModel getPaletteModel()
-
getClassifcationTypeModel
public DefaultComboBoxModel getClassifcationTypeModel()
-
getAttributeModel
public DefaultComboBoxModel getAttributeModel()
-
getPreviewTableModel
public TableModel getPreviewTableModel()
-
getMarkModel
public ComboBoxModel getMarkModel()
-
classesChanged
public void classesChanged(int classes)
Called whenever the classes count changes- Parameters:
classes
- the new number of classes
-
paletteChanged
public void paletteChanged()
-
minChanged
public void minChanged(double min)
-
maxChanged
public void maxChanged(double max)
-
typeChanged
public void typeChanged()
-
attributeChanged
public void attributeChanged()
-
replaceRule
public void replaceRule(org.geotools.styling.Rule oldRule, org.geotools.styling.Rule newRule)
-
getFeatureTypeStyle
public org.geotools.styling.FeatureTypeStyle getFeatureTypeStyle()
-
-