org.apache.pivot.wtk
Class PromptListener.Adapter

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

public static class PromptListener.Adapter
extends Object
implements PromptListener

Prompt listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.PromptListener
PromptListener.Adapter
 
Constructor Summary
PromptListener.Adapter()
           
 
Method Summary
 void bodyChanged(Prompt prompt, Component previousBody)
          Called when a prompt's body has changed.
 void messageChanged(Prompt prompt, String previousMessage)
          Called when a prompt's message has changed.
 void messageTypeChanged(Prompt prompt, MessageType previousMessageType)
          Called when a prompt's message type has changed.
 void optionInserted(Prompt prompt, int index)
          Called when an option has been inserted into a prompt's option sequence.
 void optionsRemoved(Prompt prompt, int index, Sequence<?> removed)
          Called when options have been removed from a prompt's option sequence.
 void selectedOptionChanged(Prompt prompt, int previousSelectedOption)
          Called when a prompt'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

PromptListener.Adapter

public PromptListener.Adapter()
Method Detail

messageTypeChanged

public void messageTypeChanged(Prompt prompt,
                               MessageType previousMessageType)
Description copied from interface: PromptListener
Called when a prompt's message type has changed.

Specified by:
messageTypeChanged in interface PromptListener

messageChanged

public void messageChanged(Prompt prompt,
                           String previousMessage)
Description copied from interface: PromptListener
Called when a prompt's message has changed.

Specified by:
messageChanged in interface PromptListener

bodyChanged

public void bodyChanged(Prompt prompt,
                        Component previousBody)
Description copied from interface: PromptListener
Called when a prompt's body has changed.

Specified by:
bodyChanged in interface PromptListener

optionInserted

public void optionInserted(Prompt prompt,
                           int index)
Description copied from interface: PromptListener
Called when an option has been inserted into a prompt's option sequence.

Specified by:
optionInserted in interface PromptListener

optionsRemoved

public void optionsRemoved(Prompt prompt,
                           int index,
                           Sequence<?> removed)
Description copied from interface: PromptListener
Called when options have been removed from a prompt's option sequence.

Specified by:
optionsRemoved in interface PromptListener

selectedOptionChanged

public void selectedOptionChanged(Prompt prompt,
                                  int previousSelectedOption)
Description copied from interface: PromptListener
Called when a prompt's selected option has changed.

Specified by:
selectedOptionChanged in interface PromptListener