|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A Name Generator generates unique names of the datatype string. This is useful to automatically generate unique names for GridFaces so they can be distingusched mere easily and conveniently from each other.
| Method Summary | |
String |
get()
Creates a unique name |
String |
get(String prefix,
String postfix)
Creates a unique name and puts it between prefix and postfix. |
void |
setPostfix(String postfix)
Appends a sting postfix every time the get method is called. |
void |
setPrefix(String prefix)
Sets a prefix that will be added every time the get method is called. |
| Method Detail |
public String get(String prefix,
String postfix)
prefix - a String that is included at the beginning.postfix - a String that is appended.
String that is unique.public String get()
String that is uniquepublic void setPrefix(String prefix)
prefix - a String the string to be included.public void setPostfix(String postfix)
postfix - a String value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||