/** * Builds a new {@code ProportionalPoint}. It has default {@code MarkGraphic} parameters except * for the {@code ViewBox}, of course. */ public ProportionalPoint() { super(); markGraphic = new ProportionalWKNLegend(); PointSymbolizer ps = (PointSymbolizer) getSymbolizer(); ps.getGraphicCollection().delGraphic(0); ps.getGraphicCollection().addGraphic(markGraphic.getMarkGraphic()); }
@Override public double getSecondValue() throws ParameterException { return markGraphic.getSecondValue(); }
@Override public void setSecondValue(double d) { markGraphic.setSecondValue(d); }
@Override public void setSecondData(double d) { markGraphic.setSecondData(d); }
@Override public void setFirstValue(double d) { markGraphic.setFirstValue(d); }
@Override public void setFirstData(double d) { markGraphic.setFirstData(d); }
@Override public double getSecondData() { return markGraphic.getSecondData(); }
@Override public void setLookupFieldName(String name) { markGraphic.setLookupFieldName(name); }
@Override public double getFirstData() { return markGraphic.getFirstData(); }
@Override public String getLookupFieldName() { return markGraphic.getLookupFieldName(); }
/** * Sets the analysis associated to the inner {@code PenStroke}. * * @param cpsl */ @Override public void setPenStroke(ConstantPenStroke cpsl) { markGraphic.setPenStroke(cpsl); }
/** * Gets the analysis associated to the inner {@code PenStroke}. * * @return */ @Override public ConstantPenStroke getPenStroke() { return markGraphic.getPenStroke(); }
/** * Sets the Fill analysis embedded in this {@code IUniqueSymbolArea}. * * @param csf */ @Override public void setFillLegend(ConstantSolidFill csf) { markGraphic.setFillLegend(csf); }
/** * Gets the Fill analysis embedded in this {@code IUniqueSymbolArea}. * * @return */ @Override public ConstantSolidFill getFillLegend() { return markGraphic.getSolidFill(); }