aicas logo Jamaica 3.4 release 8

java.awt
Interface MenuContainer

All Known Implementing Classes:
Applet, Button, Canvas, Checkbox, Choice, Component, Container, Dialog, FileDialog, Frame, Label, List, Menu, MenuBar, Panel, PopupMenu, Scrollbar, ScrollPane, TextArea, TextComponent, TextField, Window

public interface MenuContainer

This interface is a container for menu components.

Since:
1.0
Status:
updated to 1.4

Method Summary
 Font getFont()
          Returns the font in use by this container.
 boolean postEvent(Event event)
          Deprecated. use MenuComponent.dispatchEvent(AWTEvent) instead
 void remove(MenuComponent component)
          Removes the specified menu component from the menu.
 

Method Detail

getFont

Font getFont()
Returns the font in use by this container.

Returns:
the menu font

remove

void remove(MenuComponent component)
Removes the specified menu component from the menu.

Parameters:
component - the menu component to remove

postEvent

boolean postEvent(Event event)
Deprecated. use MenuComponent.dispatchEvent(AWTEvent) instead

Posts an event to the listeners.

Parameters:
event - the event to dispatch

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.