use of org.knime.base.node.viz.pie.datamodel.PieVizModel in project knime-core by knime.
the class PiePlotter method selectClickedElement.
/**
* {@inheritDoc}
*/
@Override
public void selectClickedElement(final Point clicked) {
final PieVizModel vizModel = getVizModel();
if (vizModel == null) {
return;
}
vizModel.selectElement(clicked);
if (vizModel.explodeSelectedSections()) {
updatePaintModel();
}
final P properties = getPropertiesPanel();
if (properties != null) {
properties.updateHTMLDetailsPanel(vizModel.getHTMLDetailData());
}
repaint();
}
Aggregations