Instances of classes that implement the
LineListener
interface can register to
receive events when a line's status changes.
Informs the listener that a line's state has changed. The listener can then invoke
LineEvent
methods to obtain information about the event.