@Override
public void setContents(UIWidget contents) {
super.setContents(contents);
find("mouseSensitivity", UISlider.class).bindValue(BindHelper.bindBeanProperty("mouseSensitivity", config.getInput(), Float.TYPE));
find("mouseYAxisInverted", UICheckbox.class).bindChecked(BindHelper.bindBeanProperty("mouseYAxisInverted", config.getInput(), Boolean.TYPE));
find("reset", UIButton.class).subscribe(new ActivateEventListener() {
@Override
public void onActivated(UIWidget button) {
config.getInput().reset();
}
});
find("close", UIButton.class).subscribe(new ActivateEventListener() {
@Override
public void onActivated(UIWidget button) {
getManager().popScreen();
}
});