Package com.dassault_systemes.catjdialog

   
Class CATMenuNotification

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catjdialog.CATNotification
        |
        +-com.dassault_systemes.catjdialog.CATMenuNotification
Class Location

Framework : CATJDialog

Module : CATJDialog

Class Description

public class CATMenuNotification

The menu notification class.

This notification type is sent by any component supporting menus (CATTree, CATTable, ...).

See Also:
com.dassault_systemes.catjdialog.CATTree#getCommandNotification()
com.dassault_systemes.catjdialog.CATTable#getMenuNotification()
Field Summary

Constructor Summary
CATMenuNotification(String description)

Method Summary
String getCommand()
Object getContext()


Field Detail

Constructor Detail

CATMenuNotification

    CATMenuNotification(String description)

Creates a menu notification with the specified description.

Parameters:
description
The notification description.

Method Detail

getCommand

    String getCommand()

Returns the menu item ID (from the CATMenuModel) that triggered this notification.

Returns:
The menu item ID.

getContext

    Object getContext()

Returns the source context object that triggered this notification.

Depends on who manages the menu (see related doc).

Returns:
The context object.


Copyright © 2000, Dassault Systèmes. All rights reserved