public void setLineColor(Color c) { lineColorChooser.setColor(c); String attribute = CommonAttributes.LINE_SHADER + "." + CommonAttributes.DIFFUSE_COLOR; getAppearance().setAttribute(attribute, c); }
public void setFaceColor(Color c) { faceColorChooser.setColor(c); String attribute = CommonAttributes.POLYGON_SHADER + "." + CommonAttributes.DIFFUSE_COLOR; getAppearance().setAttribute(attribute, c); }
public void setPointColor(Color c) { pointColorChooser.setColor(c); String attribute = CommonAttributes.POINT_SHADER + "." + CommonAttributes.DIFFUSE_COLOR; getAppearance().setAttribute(attribute, c); }