Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.controller
Interface MenuFilter


public interface MenuFilter

A MenuFilter can accept or reject menu components.

Since:
11.0

Method Summary
 boolean accept(java.awt.Component component)
          Determines whether this filter accepts the specified menu component.
 

Method Detail

accept

boolean accept(java.awt.Component component)
Determines whether this filter accepts the specified menu component. If the filter accepts the component it should return true.

Parameters:
component - a menu component. Usually an instance of JMenu or JMenuItem.
Returns:
true if the menu component is accepted by the filter.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.