
de.lessvoid.nifty.examples.defaultcontrolsxml.RadiobuttonExample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nifty-examples Show documentation
Show all versions of nifty-examples Show documentation
Lots of Nifty example code! You can find the source for nearly all demos/tutorials in here.
package de.lessvoid.nifty.examples.defaultcontrolsxml;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.examples.NiftyExample;
import javax.annotation.Nonnull;
/**
* This class defines the default controls example for the Radiobutton control.
*
* @author Martin Karing <[email protected]>
*/
public class RadiobuttonExample implements NiftyExample {
@Nonnull
@Override
public String getStartScreen() {
return "start";
}
@Nonnull
@Override
public String getMainXML() {
return "defaultcontrolsxml/09-radiobutton.xml";
}
@Nonnull
@Override
public String getTitle() {
return "Nifty default controls examples - Radiobutton Control";
}
@Override
public void prepareStart(final Nifty nifty) {
// nothing to do
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy