![JAR search and dependency download from the Maven repository](/logo.png)
com.netopyr.reduxfx.component.command.IntegerChangedCommand Maven / Gradle / Ivy
package com.netopyr.reduxfx.component.command;
import com.netopyr.reduxfx.updater.Command;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public final class IntegerChangedCommand implements Command {
private final String propertyName;
private final int newValue;
public IntegerChangedCommand(String propertyName, int newValue) {
this.propertyName = propertyName;
this.newValue = newValue;
}
public String getPropertyName() {
return propertyName;
}
public int getNewValue() {
return newValue;
}
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE)
.append("propertyName", propertyName)
.append("newValue", newValue)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy