|
|
@@ -14,9 +14,9 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
* They provide a default label (which is only added if the label text is set).
|
|
|
* They provide the abstract method onChange for executing code when the RadioButton is altered by the user.
|
|
|
|
|
|
-Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.+
|
|
|
-+
|
|
|
-*Constructor 1:*+
|
|
|
+Again, the same three options for constructor are available as show in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
|
|
|
+
|
|
|
+*Constructor 1:*
|
|
|
|
|
|
[source,java]
|
|
|
----
|
|
|
@@ -31,7 +31,7 @@ RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15));
|
|
|
|
|
|
----
|
|
|
|
|
|
-*Constructor 2:*+
|
|
|
+*Constructor 2:*
|
|
|
|
|
|
[source,java]
|
|
|
----
|
|
|
@@ -45,7 +45,7 @@ RadioButton rb = new RadioButton(screen, “rb”, new Vector2f(15, 15),
|
|
|
|
|
|
----
|
|
|
|
|
|
-*Constructor 3:*+
|
|
|
+*Constructor 3:*
|
|
|
|
|
|
[source,java]
|
|
|
----
|