use of com.kyj.fx.voeditor.visual.momory.SkinManager in project Gargoyle by callakrsos.
the class SkinConfigView method applyStyling.
private void applyStyling(String selectedItem) {
SkinManager instance = SkinManager.getInstance();
if (instance.existSkinFullPath(selectedItem)) {
Stage stage = (Stage) this.getScene().getWindow();
ObservableList<String> stylesheets = stage.getScene().getStylesheets();
stylesheets.clear();
instance.registSkinFullPathn(selectedItem);
instance.resetSkin();
}
}
Aggregations