Make SelectionModelSelectedItemProperty a util class
This commit is contained in:
@@ -19,14 +19,13 @@ package org.jackhuang.hmcl.util.javafx;
|
|||||||
|
|
||||||
import javafx.beans.property.ObjectProperty;
|
import javafx.beans.property.ObjectProperty;
|
||||||
import javafx.beans.property.Property;
|
import javafx.beans.property.Property;
|
||||||
import javafx.beans.property.SimpleObjectProperty;
|
|
||||||
import javafx.scene.control.ComboBox;
|
import javafx.scene.control.ComboBox;
|
||||||
import javafx.scene.control.SelectionModel;
|
import javafx.scene.control.SelectionModel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author yushijinhun
|
* @author yushijinhun
|
||||||
*/
|
*/
|
||||||
public final class SelectionModelSelectedItemProperty<T> extends SimpleObjectProperty<T> {
|
public final class SelectionModelSelectedItemProperty {
|
||||||
|
|
||||||
private static final String NODE_PROPERTY = SelectionModelSelectedItemProperty.class.getName() + ".instance";
|
private static final String NODE_PROPERTY = SelectionModelSelectedItemProperty.class.getName() + ".instance";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user