public interface ChoiceReceiver
private void chooseMyEntity() {
MyChooser myChooser = MyChooser(); // Instance of SimpleDataListFrame
myChooser.setReceiver(new ChoiceReceiver() {
public void receiveChoice(Identifier identifier) {
// set text in text field
// load additional data
toFront();
}
});
myChooser.show();
}
Modifier and Type | Method and Description |
---|---|
void |
receiveChoice(Identifier identifier)
Receive the entry choosen by user and do things you like depending on the choice.
|
void receiveChoice(Identifier identifier)
identifier
- the identifier of the choosen entryCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de