/// <summary>
 /// Adds the specified popup menu to the component.
 /// </summary>
 public void add(PopupMenu @popup)
 {
 }
Exemple #2
0
 /// <summary>
 /// Adds the specified popup menu to the component.
 /// </summary>
 public void add(PopupMenu @popup)
 {
 }
Exemple #3
0
 public AccessibleAWTPopupMenu(PopupMenu outerInstance) : base(outerInstance)
 {
     this.OuterInstance = outerInstance;
 }
Exemple #4
0
 public virtual bool IsTrayIconPopup(PopupMenu popupMenu)
 {
     return(popupMenu.IsTrayIconPopup);
 }
Exemple #5
0
 /// <summary>
 /// Creates a <code>TrayIcon</code> with the specified image,
 /// tooltip and popup menu.
 /// </summary>
 /// <param name="image"> the <code>Image</code> to be used </param>
 /// <param name="tooltip"> the string to be used as tooltip text; if the
 /// value is <code>null</code> no tooltip is shown </param>
 /// <param name="popup"> the menu to be used for the tray icon's popup
 /// menu; if the value is <code>null</code> no popup menu is shown </param>
 /// <exception cref="IllegalArgumentException"> if <code>image</code> is <code>null</code> </exception>
 /// <exception cref="UnsupportedOperationException"> if the system tray isn't
 /// supported by the current platform </exception>
 /// <exception cref="HeadlessException"> if
 /// {@code GraphicsEnvironment.isHeadless()} returns {@code true} </exception>
 /// <exception cref="SecurityException"> if {@code accessSystemTray} permission
 /// is not granted </exception>
 /// <seealso cref= SystemTray#add(TrayIcon) </seealso>
 /// <seealso cref= TrayIcon#TrayIcon(Image, String) </seealso>
 /// <seealso cref= TrayIcon#TrayIcon(Image) </seealso>
 /// <seealso cref= PopupMenu </seealso>
 /// <seealso cref= MouseListener </seealso>
 /// <seealso cref= #addMouseListener(MouseListener) </seealso>
 /// <seealso cref= SecurityManager#checkPermission </seealso>
 /// <seealso cref= AWTPermission </seealso>
 public TrayIcon(Image image, String tooltip, PopupMenu popup) : this(image, tooltip)
 {
     PopupMenu = popup;
 }