All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.visuals
Interface MessageBoxSource

All Known Implementing Classes:
  ColorDialog, FontDialog, MessageBox

    public interface MessageBoxSource

Define a type (interface) for an object which emits com.sas.visuals.MessageBoxEvent events. This interface provides methods to add and remove listeners for that event.

See Also:
  `MessageBoxEvent`, `MessageBoxListener`

Method Summary
`abstract void` | `addMessageBoxListener(MessageBoxListener listener)` Add a listener for the com.sas.visuals.MessageBoxEvent event.
`abstract void` | `removeMessageBoxListener(MessageBoxListener listener)` Remove a listener for the com.sas.visuals.MessageBoxEvent event.

Method Detail

### addMessageBoxListener

    void addMessageBoxListener(MessageBoxListener listener)

  Add a listener for the com.sas.visuals.MessageBoxEvent event.

  Parameters:
    `listener` - an object which handles MessageBoxEvent events the listener is not added a second time if it already exists in the list of listeners for this event.

### removeMessageBoxListener

    void removeMessageBoxListener(MessageBoxListener listener)

  Remove a listener for the com.sas.visuals.MessageBoxEvent event. Nothing happens if the listener is not in the list of listeners for this event.

  Parameters:
    `listener` - an object which handles MessageBoxEvent events

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.