Usual basic methods. Username class is part of the listener package.
Listener package is full of (you guessed it) listener classes.