de.rpgframework.jfx.section.ComplexDataItemGridSection Maven / Gradle / Ivy
package de.rpgframework.jfx.section;
import java.util.List;
import java.util.function.BiFunction;
import de.rpgframework.genericrpg.data.Choice;
import de.rpgframework.genericrpg.data.ComplexDataItem;
import de.rpgframework.genericrpg.data.ComplexDataItemValue;
import de.rpgframework.genericrpg.data.Decision;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
/**
* @author Stefan Prelle
*
*/
public abstract class ComplexDataItemGridSection> extends GridSection {
private ObjectProperty, Decision[]>> optionCallbackProperty = new SimpleObjectProperty<>();
//-------------------------------------------------------------------
public ComplexDataItemGridSection(String title) {
super(title);
}
//-------------------------------------------------------------------
public ObjectProperty, Decision[]>> optionCallbackProperty() { return optionCallbackProperty; }
public BiFunction, Decision[]> getOptionCallback() { return optionCallbackProperty.get(); }
public void setOptionCallback(BiFunction, Decision[]> value) { optionCallbackProperty.setValue(value); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy