org.apache.pivot.wtk
Class AlertListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.AlertListener.Adapter
All Implemented Interfaces:
AlertListener
Enclosing interface:
AlertListener

public static class AlertListener.Adapter
extends Object
implements AlertListener

Alert listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.AlertListener
AlertListener.Adapter
 
Constructor Summary
AlertListener.Adapter()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertListener.Adapter

public AlertListener.Adapter()
Method Detail

messageTypeChanged

public void messageTypeChanged(Alert alert,
                               MessageType previousMessageType)
Description copied from interface: AlertListener
Called when an alert's message type has changed.

Specified by:
messageTypeChanged in interface AlertListener

messageChanged

public void messageChanged(Alert alert,
                           String previousMessage)
Description copied from interface: AlertListener
Called when an alert's message has changed.

Specified by:
messageChanged in interface AlertListener

bodyChanged

public void bodyChanged(Alert alert,
                        Component previousBody)
Description copied from interface: AlertListener
Called when an alert's body has changed.

Specified by:
bodyChanged in interface AlertListener

optionInserted

public void optionInserted(Alert alert,
                           int index)
Description copied from interface: AlertListener
Called when an option has been inserted into an alert's option sequence.

Specified by:
optionInserted in interface AlertListener

optionsRemoved

public void optionsRemoved(Alert alert,
                           int index,
                           Sequence<?> removed)
Description copied from interface: AlertListener
Called when options have been removed from an alert's option sequence.

Specified by:
optionsRemoved in interface AlertListener

selectedOptionChanged

public void selectedOptionChanged(Alert alert,
                                  int previousSelectedOption)
Description copied from interface: AlertListener
Called when an alert's selected option has changed.

Specified by:
selectedOptionChanged in interface AlertListener