Skip to content

Commit

Permalink
GuiScreenController: remove the {en/dis}ableSlider() methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 4, 2018
1 parent 16d4a4f commit 064a384
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions nifty/src/main/java/jme3utilities/nifty/GuiScreenController.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,30 +76,6 @@ public GuiScreenController(String screenId, String xmlAssetPath,
// *************************************************************************
// new methods exposed

/**
* Disable the named Nifty slider.
*
* @param name unique id prefix of the slider to disable (not null)
*/
public void disableSlider(String name) {
Validate.nonNull(name, "name");

Slider slider = getSlider(name);
slider.disable();
}

/**
* Enable the named Nifty slider.
*
* @param name unique id prefix of the slider to enable (not null)
*/
public void enableSlider(String name) {
Validate.nonNull(name, "name");

Slider slider = getSlider(name);
slider.enable();
}

/**
* Access the named Nifty button. This assumes a naming convention where the
* Nifty id of every button ends with "Button".
Expand Down

0 comments on commit 064a384

Please sign in to comment.