public static class AlertListener.Adapter extends Object implements AlertListener
AlertListener.Adapter
Constructor and Description |
---|
AlertListener.Adapter() |
Modifier and Type | Method and Description |
---|---|
void |
bodyChanged(Alert alert,
Component previousBody)
Called when an alert's body has changed.
|
void |
messageChanged(Alert alert,
String previousMessage)
Called when an alert's message has changed.
|
void |
messageTypeChanged(Alert alert,
MessageType previousMessageType)
Called when an alert's message type has changed.
|
void |
optionInserted(Alert alert,
int index)
Called when an option has been inserted into an alert's option sequence.
|
void |
optionsRemoved(Alert alert,
int index,
Sequence<?> removed)
Called when options have been removed from an alert's option sequence.
|
void |
selectedOptionChanged(Alert alert,
int previousSelectedOption)
Called when an alert's selected option has changed.
|
public void messageTypeChanged(Alert alert, MessageType previousMessageType)
AlertListener
messageTypeChanged
in interface AlertListener
public void messageChanged(Alert alert, String previousMessage)
AlertListener
messageChanged
in interface AlertListener
public void bodyChanged(Alert alert, Component previousBody)
AlertListener
bodyChanged
in interface AlertListener
public void optionInserted(Alert alert, int index)
AlertListener
optionInserted
in interface AlertListener
public void optionsRemoved(Alert alert, int index, Sequence<?> removed)
AlertListener
optionsRemoved
in interface AlertListener
public void selectedOptionChanged(Alert alert, int previousSelectedOption)
AlertListener
selectedOptionChanged
in interface AlertListener