List of usage examples for javafx.beans.property SimpleObjectProperty SimpleObjectProperty
public SimpleObjectProperty(Object bean, String name, T initialValue)
From source file:org.kordamp.javatrove.example04.model.AppModel.java
public ObjectProperty<State> stateProperty() { if (state == null) { state = new SimpleObjectProperty<>(this, "state", READY); }/*from w ww . j a v a 2 s . com*/ return state; }
From source file:com.github.naoghuman.abclist.model.LinkMapping.java
public ObjectProperty parentTypeProperty() { if (parentTypeProperty == null) { parentTypeProperty = new SimpleObjectProperty(this, LINK_MAPPING__COLUMN_NAME__PARENT_TYPE, _parentType);/* w w w . j a v a 2s .c o m*/ } return parentTypeProperty; }
From source file:de.pro.dbw.file.reflection.api.ReflectionModel.java
public ObjectProperty reflectionCommentModelsProperty() { if (reflectionCommentModelsProperty == null) { reflectionCommentModelsProperty = new SimpleObjectProperty(this, REFLECTION_MODEL__COLUMN_NAME__REFLECTION_COMMENT, _reflectionCommentModels); }/*from www.j ava2 s.c om*/ return reflectionCommentModelsProperty; }
From source file:com.github.naoghuman.abclist.model.LinkMapping.java
public ObjectProperty childTypeProperty() { if (childTypeProperty == null) { childTypeProperty = new SimpleObjectProperty(this, LINK_MAPPING__COLUMN_NAME__CHILD_TYPE, _childType); }/* w w w. j a v a 2 s .c om*/ return childTypeProperty; }
From source file:org.ihtsdo.otf.tcc.ddo.TimeReference.java
public SimpleObjectProperty<FastDateFormat> formatterProperty() { if (formatterProperty == null) { formatterProperty = new SimpleObjectProperty<>(this, "formatterProperty", getFormatter()); timeTextBinding = new StringBinding() { {/*from ww w . j a va 2 s . c om*/ super.bind(timeProperty(), formatterProperty); } @Override protected String computeValue() { return TimeHelper.formatDate(timeProperty.get(), formatterProperty.get()); } }; } return formatterProperty; }