Skip to content

Commit

Permalink
Merge pull request #336 from JellevanAbbema/master-11
Browse files Browse the repository at this point in the history
Added getStyleSheets Fucntion
  • Loading branch information
dlemmermann committed Jun 15, 2021
2 parents 47ab6aa + 3d9223b commit e8e4666
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion preferencesfx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.dlsc.preferencesfx</groupId>
<artifactId>preferencesfx-core</artifactId>
. <version>11.8.0</version>
<version>11.8.0</version>
<packaging>jar</packaging>

<name>PreferencesFX</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.dlsc.preferencesfx.view.PreferencesFxPresenter;
import com.dlsc.preferencesfx.view.PreferencesFxView;
import com.dlsc.preferencesfx.view.UndoRedoBox;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
import javafx.event.EventType;
import javafx.scene.image.Image;
Expand Down Expand Up @@ -308,5 +309,13 @@ public PreferencesFx dialogIcon(Image image) {
preferencesFxDialog.setDialogIcon(image);
return this;
}


/**
* Return the stylesheets of the PreferenceFxDialog.
*
* @return the stylesheets List of the PreferenceFxDialog
*/
public ObservableList<String> getStylesheets() {
return preferencesFxDialog.getStylesheets();
}
}

0 comments on commit e8e4666

Please sign in to comment.