/**
  * Builds a panel based on the given legend.
  *
  * @param lc LegendContext
  * @param legend Legend
  */
 public PnlProportionalPointSE(LegendContext lc, ProportionalPoint legend) {
   super(lc);
   this.proportionalPoint = legend;
   this.geometryType = lc.getGeometryType();
   initPreview();
   buildUI();
 }
示例#2
0
 /**
  * Obtains the DataSource attached to the LegendContext's layer.
  *
  * @param lc LegendContext from which to obtain the DataSource.
  */
 public PnlProportional(LegendContext lc) {
   this.ds = lc.getLayer().getDataSource();
 }