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)
Creates a menu notification with the specified description.

Method Summary
public String getCommand()
Returns the menu item ID (from the CATMenuModel) that triggered this notification.
public Object getContext()
Returns the source context object that triggered this notification.


Field Detail

Constructor Detail

CATMenuNotification

    CATMenuNotification(String description)

Creates a menu notification with the specified description.

Parameters:
description
The notification description.

Method Detail

getCommand

    public String getCommand()

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

Return:
The menu item ID.

getContext

    public Object getContext()

Returns the source context object that triggered this notification.

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

Return:
The context object.


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