new support classes added

This commit is contained in:
Daniel Collin 2015-10-20 06:56:14 +00:00
parent 9764f546da
commit 83e0196c50
21 changed files with 798 additions and 9 deletions

View file

@ -0,0 +1,27 @@
package com.coder.client.property;
import org.controlsfx.property.editor.Editors;
import org.controlsfx.property.editor.PropertyEditor;
public class CheckBoxProperty extends CoderClientProperty<Boolean> {
public CheckBoxProperty(String name, boolean defaultValue){
super(name, defaultValue);
}
@Override
public String getDescription() {
return null;
}
@Override
public Class<?> getType() {
return Boolean.class;
}
@Override
public PropertyEditor<?> getEditor() {
return Editors.createCheckEditor(this);
}
}