public static class SuggestedNameInfo.Delegate extends SuggestedNameInfo
SuggestedNameInfo.Delegate
names, NULL_INFO, SUGGESTED_NAME_INFO_KEY
Constructor and Description |
---|
Delegate(java.lang.String [] names,
SuggestedNameInfo delegate) |
Modifier and Type | Method and Description |
---|---|
void |
nameChosen(java.lang.String name)
Should be called when one of the suggested names has been chosen by the user, to
update the statistics on name usage.
|
public Delegate(java.lang.String [] names, SuggestedNameInfo delegate)
public void nameChosen(java.lang.String name)
SuggestedNameInfo
Should be called when one of the suggested names has been chosen by the user, to update the statistics on name usage.
Note to implementers: do not leave this method non-overridden as it going to be abstract.
nameChosen
in class SuggestedNameInfo
name
- the accepted suggestion.