本文整理汇总了Java中javafx.beans.property.SimpleMapProperty类的典型用法代码示例。如果您正苦于以下问题:Java SimpleMapProperty类的具体用法?Java SimpleMapProperty怎么用?Java SimpleMapProperty使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SimpleMapProperty类属于javafx.beans.property包,在下文中一共展示了SimpleMapProperty类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: Profile
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
public Profile() {
this.idProperty = new SimpleLongProperty();
this.targetUrlProperty = new SimpleStringProperty();
this.actionProperty = new SimpleStringProperty();
this.parameterProperty = new SimpleMapProperty<String, String>();
this.nameProperty = new SimpleStringProperty();
}
示例2: createProperty
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
@NotNull
@Override
protected MapProperty<K, V> createProperty(ObservableMap<K, V> deserializedValue) {
return new SimpleMapProperty<>(deserializedValue);
}
示例3: WithMapIntProp
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
WithMapIntProp(ObservableMap<Integer, CustomObject> value) {
this.prop = new SimpleMapProperty<>(value);
}
示例4: WithMapStrProp
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
WithMapStrProp(ObservableMap<String, CustomObject> value) {
this.prop = new SimpleMapProperty<>(value);
}
示例5: SubnetServer
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
/**
* Creates a MulticastServer by given port to listen.
*/
public SubnetServer() {
mUserList = new SimpleMapProperty<>(FXCollections.observableHashMap());
}
示例6: selectionsProperty
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
public MapProperty<Variable<Number>, TopsoilDataColumn> selectionsProperty() {
if (selectionsProperty == null) {
selectionsProperty = new SimpleMapProperty<>(FXCollections.observableHashMap());
}
return selectionsProperty;
}
示例7: userListProperty
import javafx.beans.property.SimpleMapProperty; //导入依赖的package包/类
/**
* Gets the read-only user list property.
* <p>
* You can bind or attach listener to this property, but since it is
* readonly, you can not change the values.</p>
*
* @return
*/
public SimpleMapProperty<Integer, Client> userListProperty() {
return mUserList;
}