MCPcopy Index your code
hub / github.com/benfry/processing4 / valueChanged

Method valueChanged

java/src/processing/mode/java/tweak/Handle.java:253–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251
252
253 public boolean valueChanged() {
254 if ("int".equals(type)) {
255 return (value.intValue() != newValue.intValue());
256 } else if ("hex".equals(type)) {
257 return (value.intValue() != newValue.intValue());
258 } else if ("webcolor".equals(type)) {
259 return (value.intValue() != newValue.intValue());
260 } else {
261 return (value.floatValue() != newValue.floatValue());
262 }
263 }
264
265
266 public void setColorBox(ColorControlBox box) {

Callers 1

getTweakedTabsMethod · 0.80

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected