All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.MenuView

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.MenuView

public class MenuView
extends View
This class wraps the Objective-C class NSMenuView.


Constructor Index

 o MenuView()
This default constructor is equivalent to Objective-C's [[NSMenuView alloc] init].
 o MenuView(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o MenuView(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o MenuView(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Method Index

 o attachedMenu()
A wrapper for the - attachedMenu Objective-C instance method.
 o attachedMenuView()
A wrapper for the - attachedMenuView Objective-C instance method.
 o attachSubmenuForItemAtIndex(int)
A wrapper for the - attachSubmenuForItemAtIndex: Objective-C instance method.
 o detachSubmenu()
A wrapper for the - detachSubmenu Objective-C instance method.
 o font()
A wrapper for the - font Objective-C instance method.
 o highlightedItemIndex()
A wrapper for the - highlightedItemIndex Objective-C instance method.
 o horizontalEdgePadding()
A wrapper for the - horizontalEdgePadding Objective-C instance method.
 o imageAndTitleOffset()
A wrapper for the - imageAndTitleOffset Objective-C instance method.
 o imageAndTitleWidth()
A wrapper for the - imageAndTitleWidth Objective-C instance method.
 o indexOfItemAtPoint(Point)
A wrapper for the - indexOfItemAtPoint: Objective-C instance method.
 o innerRect()
A wrapper for the - innerRect Objective-C instance method.
 o isAttached()
A wrapper for the - isAttached Objective-C instance method.
 o isHorizontal()
A wrapper for the - isHorizontal Objective-C instance method.
 o isTornOff()
A wrapper for the - isTornOff Objective-C instance method.
 o itemAdded(Notification)
A wrapper for the - itemAdded: Objective-C instance method.
 o itemChanged(Notification)
A wrapper for the - itemChanged: Objective-C instance method.
 o itemRemoved(Notification)
A wrapper for the - itemRemoved: Objective-C instance method.
 o keyEquivalentOffset()
A wrapper for the - keyEquivalentOffset Objective-C instance method.
 o keyEquivalentWidth()
A wrapper for the - keyEquivalentWidth Objective-C instance method.
 o locationForSubmenu(Menu)
A wrapper for the - locationForSubmenu: Objective-C instance method.
 o menu()
A wrapper for the - menu Objective-C instance method.
 o menuItemCellForItemAtIndex(int)
A wrapper for the - menuItemCellForItemAtIndex: Objective-C instance method.
 o needsSizing()
A wrapper for the - needsSizing Objective-C instance method.
 o performActionWithHighlightingForItemAtIndex(int)
A wrapper for the - performActionWithHighlightingForItemAtIndex: Objective-C instance method.
 o rectOfItemAtIndex(int)
A wrapper for the - rectOfItemAtIndex: Objective-C instance method.
 o setFont(Font)
A wrapper for the - setFont: Objective-C instance method.
 o setHighlightedItemIndex(int)
A wrapper for the - setHighlightedItemIndex: Objective-C instance method.
 o setHorizontal(boolean)
A wrapper for the - setHorizontal: Objective-C instance method.
 o setHorizontalEdgePadding(float)
A wrapper for the - setHorizontalEdgePadding: Objective-C instance method.
 o setMenu(Menu)
A wrapper for the - setMenu: Objective-C instance method.
 o setMenuItemCell(MenuItemCell, int)
A wrapper for the - setMenuItemCell:forItemAtIndex: Objective-C instance method.
 o setNeedsDisplayForItemAtIndex(int)
A wrapper for the - setNeedsDisplayForItemAtIndex: Objective-C instance method.
 o setNeedsSizing(boolean)
A wrapper for the - setNeedsSizing: Objective-C instance method.
 o setWindowFrameForAttachingToRect(Rect, Screen, int, int)
A wrapper for the - setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem: Objective-C instance method.
 o sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.
 o stateImageOffset()
A wrapper for the - stateImageOffset Objective-C instance method.
 o stateImageWidth()
A wrapper for the - stateImageWidth Objective-C instance method.
 o trackWithEvent(Event)
A wrapper for the - trackWithEvent: Objective-C instance method.
 o update()
A wrapper for the - update Objective-C instance method.

Constructors

 o MenuView
 protected MenuView(boolean shouldAllocate,
                    int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o MenuView
 public MenuView()
This default constructor is equivalent to Objective-C's [[NSMenuView alloc] init].

 o MenuView
 public MenuView(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o MenuView
 public MenuView(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

 o setMenu
 public native void setMenu(Menu menu)
A wrapper for the - setMenu: Objective-C instance method.

Overrides:
setMenu in class Responder
 o menu
 public native Menu menu()
A wrapper for the - menu Objective-C instance method.

Overrides:
menu in class Responder
 o itemChanged
 public native void itemChanged(Notification notification)
A wrapper for the - itemChanged: Objective-C instance method.

 o itemAdded
 public native void itemAdded(Notification notification)
A wrapper for the - itemAdded: Objective-C instance method.

 o itemRemoved
 public native void itemRemoved(Notification notification)
A wrapper for the - itemRemoved: Objective-C instance method.

 o update
 public native void update()
A wrapper for the - update Objective-C instance method.

 o setHorizontal
 public native void setHorizontal(boolean flag)
A wrapper for the - setHorizontal: Objective-C instance method.

 o isHorizontal
 public native boolean isHorizontal()
A wrapper for the - isHorizontal Objective-C instance method.

 o setFont
 public native void setFont(Font font)
A wrapper for the - setFont: Objective-C instance method.

 o font
 public native Font font()
A wrapper for the - font Objective-C instance method.

 o innerRect
 public native Rect innerRect()
A wrapper for the - innerRect Objective-C instance method.

 o rectOfItemAtIndex
 public native Rect rectOfItemAtIndex(int index)
A wrapper for the - rectOfItemAtIndex: Objective-C instance method.

 o indexOfItemAtPoint
 public native int indexOfItemAtPoint(Point point)
A wrapper for the - indexOfItemAtPoint: Objective-C instance method.

 o setNeedsDisplayForItemAtIndex
 public native void setNeedsDisplayForItemAtIndex(int index)
A wrapper for the - setNeedsDisplayForItemAtIndex: Objective-C instance method.

 o setHighlightedItemIndex
 public native void setHighlightedItemIndex(int index)
A wrapper for the - setHighlightedItemIndex: Objective-C instance method.

 o highlightedItemIndex
 public native int highlightedItemIndex()
A wrapper for the - highlightedItemIndex Objective-C instance method.

 o stateImageOffset
 public native float stateImageOffset()
A wrapper for the - stateImageOffset Objective-C instance method.

 o stateImageWidth
 public native float stateImageWidth()
A wrapper for the - stateImageWidth Objective-C instance method.

 o imageAndTitleOffset
 public native float imageAndTitleOffset()
A wrapper for the - imageAndTitleOffset Objective-C instance method.

 o imageAndTitleWidth
 public native float imageAndTitleWidth()
A wrapper for the - imageAndTitleWidth Objective-C instance method.

 o keyEquivalentOffset
 public native float keyEquivalentOffset()
A wrapper for the - keyEquivalentOffset Objective-C instance method.

 o keyEquivalentWidth
 public native float keyEquivalentWidth()
A wrapper for the - keyEquivalentWidth Objective-C instance method.

 o setMenuItemCell
 public native void setMenuItemCell(MenuItemCell cell,
                                    int index)
A wrapper for the - setMenuItemCell:forItemAtIndex: Objective-C instance method.

 o menuItemCellForItemAtIndex
 public native MenuItemCell menuItemCellForItemAtIndex(int index)
A wrapper for the - menuItemCellForItemAtIndex: Objective-C instance method.

 o attachedMenuView
 public native MenuView attachedMenuView()
A wrapper for the - attachedMenuView Objective-C instance method.

 o setNeedsSizing
 public native void setNeedsSizing(boolean flag)
A wrapper for the - setNeedsSizing: Objective-C instance method.

 o needsSizing
 public native boolean needsSizing()
A wrapper for the - needsSizing Objective-C instance method.

 o sizeToFit
 public native void sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.

 o attachedMenu
 public native Menu attachedMenu()
A wrapper for the - attachedMenu Objective-C instance method.

 o isAttached
 public native boolean isAttached()
A wrapper for the - isAttached Objective-C instance method.

 o isTornOff
 public native boolean isTornOff()
A wrapper for the - isTornOff Objective-C instance method.

 o locationForSubmenu
 public native Point locationForSubmenu(Menu aSubmenu)
A wrapper for the - locationForSubmenu: Objective-C instance method.

 o setWindowFrameForAttachingToRect
 public native void setWindowFrameForAttachingToRect(Rect screenRect,
                                                     Screen screen,
                                                     int edge,
                                                     int selectedItemIndex)
A wrapper for the - setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem: Objective-C instance method.

 o detachSubmenu
 public native void detachSubmenu()
A wrapper for the - detachSubmenu Objective-C instance method.

 o attachSubmenuForItemAtIndex
 public native void attachSubmenuForItemAtIndex(int index)
A wrapper for the - attachSubmenuForItemAtIndex: Objective-C instance method.

 o performActionWithHighlightingForItemAtIndex
 public native void performActionWithHighlightingForItemAtIndex(int index)
A wrapper for the - performActionWithHighlightingForItemAtIndex: Objective-C instance method.

 o trackWithEvent
 public native boolean trackWithEvent(Event event)
A wrapper for the - trackWithEvent: Objective-C instance method.

 o horizontalEdgePadding
 public native float horizontalEdgePadding()
A wrapper for the - horizontalEdgePadding Objective-C instance method.

 o setHorizontalEdgePadding
 public native void setHorizontalEdgePadding(float pad)
A wrapper for the - setHorizontalEdgePadding: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index