Package com.macrofocus.treemap
Class TreeMapColorMapPanelModel<Color>
- java.lang.Object
-
- com.macrofocus.treemap.TreeMapColorMapPanelModel<Color>
-
- All Implemented Interfaces:
com.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
public class TreeMapColorMapPanelModel<Color> extends java.lang.Object implements com.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
-
Constructor Summary
Constructors Constructor Description TreeMapColorMapPanelModel(TreeMapModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.macrofocus.colormap.MutableColorMap<Color>getCategoricalColorMap(TreeMapField field)SingleSelection<TreeMapField>getColorSelection()com.macrofocus.colormap.MutableColorMap<Color>getCurrentColorMap(TreeMapField field)com.macrofocus.colormap.MutableColorMap<Color>getCustomColorMap(TreeMapField field)com.macrofocus.format.CPFormatgetFormat(TreeMapField field)java.lang.NumbergetNumericMax(TreeMapField field)java.lang.NumbergetNumericMin(TreeMapField field)com.macrofocus.colormap.MutableColorMap<Color>getPredefinedColorMap(TreeMapField field)java.lang.ClassgetType(TreeMapField field)voidsetCurrentColorMap(TreeMapField field, com.macrofocus.colormap.MutableColorMap<Color> colorMap)
-
-
-
Constructor Detail
-
TreeMapColorMapPanelModel
public TreeMapColorMapPanelModel(TreeMapModel model)
-
-
Method Detail
-
getColorSelection
public SingleSelection<TreeMapField> getColorSelection()
- Specified by:
getColorSelectionin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getCurrentColorMap
public com.macrofocus.colormap.MutableColorMap<Color> getCurrentColorMap(TreeMapField field)
- Specified by:
getCurrentColorMapin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
setCurrentColorMap
public void setCurrentColorMap(TreeMapField field, com.macrofocus.colormap.MutableColorMap<Color> colorMap)
- Specified by:
setCurrentColorMapin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getCategoricalColorMap
public com.macrofocus.colormap.MutableColorMap<Color> getCategoricalColorMap(TreeMapField field)
- Specified by:
getCategoricalColorMapin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getCustomColorMap
public com.macrofocus.colormap.MutableColorMap<Color> getCustomColorMap(TreeMapField field)
- Specified by:
getCustomColorMapin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getPredefinedColorMap
public com.macrofocus.colormap.MutableColorMap<Color> getPredefinedColorMap(TreeMapField field)
- Specified by:
getPredefinedColorMapin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getFormat
public com.macrofocus.format.CPFormat getFormat(TreeMapField field)
- Specified by:
getFormatin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getNumericMin
public java.lang.Number getNumericMin(TreeMapField field)
- Specified by:
getNumericMinin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getNumericMax
public java.lang.Number getNumericMax(TreeMapField field)
- Specified by:
getNumericMaxin interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
getType
public java.lang.Class getType(TreeMapField field)
- Specified by:
getTypein interfacecom.macrofocus.colormap.editor.ColorMapPanelModel<TreeMapField,Color>
-
-