xworker.javafx.control.CellActions Maven / Gradle / Ivy
package xworker.javafx.control;
import javafx.scene.control.Cell;
import org.xmeta.ActionContext;
import org.xmeta.Thing;
import xworker.javafx.beans.property.PropertyFactory;
import xworker.javafx.util.JavaFXUtils;
public class CellActions {
static{
PropertyFactory.regist(Cell.class, "itemProperty", o -> {
Cell obj = (Cell) o;
return obj.itemProperty();
});
PropertyFactory.regist(Cell.class, "editableProperty", o -> {
Cell obj = (Cell) o;
return obj.editableProperty();
});
}
public static void init(Cell