|
@@ -10,11 +10,11 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
|
|
|
|
|
== Password Class
|
|
== Password Class
|
|
|
|
|
|
|
|
-The password class extends TextField and adds the ability to set a mask character.+
|
|
|
|
|
-+
|
|
|
|
|
-It uses the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.+
|
|
|
|
|
-+
|
|
|
|
|
-*Constructor 1:*+
|
|
|
|
|
|
|
+The password class extends TextField and adds the ability to set a mask character.
|
|
|
|
|
+
|
|
|
|
|
+It uses the standard 3 constructors as shown in the <<jme3/contributions/tonegodgui/quickstart#,Quick Start Guide>>.
|
|
|
|
|
+
|
|
|
|
|
+*Constructor 1:*
|
|
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|
|
|
----
|
|
----
|
|
@@ -29,7 +29,7 @@ Password pw = new Password(screen, “password”, new Vector2f(15, 15));
|
|
|
|
|
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
-*Constructor 2:*+
|
|
|
|
|
|
|
+*Constructor 2:*
|
|
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|
|
|
----
|
|
----
|
|
@@ -43,7 +43,7 @@ Password pw = new Password(screen, “password”, new Vector2f(15, 15),
|
|
|
|
|
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
-*Constructor 3:*+
|
|
|
|
|
|
|
+*Constructor 3:*
|
|
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|
|
|
----
|
|
----
|
|
@@ -61,6 +61,7 @@ Password pw = new Password(screen, “password”, new Vector2f(15, 15), new Vec
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
=== Password specific methods:
|
|
=== Password specific methods:
|
|
|
|
|
|
|
|
[source,java]
|
|
[source,java]
|