|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.examples.forminput.UsPhoneNumber
public class UsPhoneNumber
Represents a US phone number. We use this instead of the direct string to trigger conversion to and from string. Conversion in general may be re-evaluated in Wicket 1.3, hopefully making this a hack from the past by then.
| Constructor Summary | |
|---|---|
UsPhoneNumber(String number)
Construct. |
|
| Method Summary | |
|---|---|
String |
getNumber()
Gets text. |
void |
setNumber(String number)
Sets text. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UsPhoneNumber(String number)
number - | Method Detail |
|---|
public String getNumber()
public void setNumber(String number)
number - textpublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||