/** * @see org.geotools.styling.StyleVisitor#visit(org.geotools.styling.Mark) */ public void visit(Mark mark) { if (mark.getFill() != null) { mark.getFill().accept(this); } if (mark.getStroke() != null) { mark.getStroke().accept(this); } if (mark.getRotation() != null) { mark.getRotation().accept(this,null); } if (mark.getSize() != null) { mark.getSize().accept(this,null); } if(mark.getWellKnownName() != null) mark.getWellKnownName().accept(this,null); }
if (mark.getRotation() != null) { rotationCopy = (Expression) mark.getRotation().accept(this, null);
public void setEdited(Mark mk) { this.mark = mk; if (mark != null) { guiFill.setEdited(mark.getFill()); guiRotation.setExpression(mark.getRotation()); guiSize.setExpression(mark.getSize()); guiStroke.setEdited(mark.getStroke()); guiWKN.setExpression(mark.getWellKnownName()); } }
if (mark.getRotation() != null) { rotationCopy = (Expression) mark.getRotation().accept(copyFilter,null);