All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.PopUpButton

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Control
                                   |
                                   +----com.apple.alpha.app.Button
                                           |
                                           +----com.apple.alpha.app.PopUpButton

public class PopUpButton
extends Button
This class wraps the Objective-C class NSPopUpButton.


Variable Index

 o PopUpButtonWillPopUpNotification

Constructor Index

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

Method Index

 o addItemsWithTitles(Array)
A wrapper for the - addItemsWithTitles: Objective-C instance method.
 o addItemWithTitle(String)
A wrapper for the - addItemWithTitle: Objective-C instance method.
 o autoenablesItems()
A wrapper for the - autoenablesItems Objective-C instance method.
 o indexOfItem(MenuItem)
A wrapper for the - indexOfItem: Objective-C instance method.
 o indexOfItemWithRepresentedObject(Object)
A wrapper for the - indexOfItemWithRepresentedObject: Objective-C instance method.
 o indexOfItemWithTag(int)
A wrapper for the - indexOfItemWithTag: Objective-C instance method.
 o indexOfItemWithTarget(Object, Selector)
A wrapper for the - indexOfItemWithTarget:andAction: Objective-C instance method.
 o indexOfItemWithTitle(String)
A wrapper for the - indexOfItemWithTitle: Objective-C instance method.
 o indexOfSelectedItem()
A wrapper for the - indexOfSelectedItem Objective-C instance method.
 o insertItemWithTitleAtIndex(String, int)
A wrapper for the - insertItemWithTitle:atIndex: Objective-C instance method.
 o itemArray()
A wrapper for the - itemArray Objective-C instance method.
 o itemAtIndex(int)
A wrapper for the - itemAtIndex: Objective-C instance method.
 o itemTitleAtIndex(int)
A wrapper for the - itemTitleAtIndex: Objective-C instance method.
 o itemTitles()
A wrapper for the - itemTitles Objective-C instance method.
 o itemWithTitle(String)
A wrapper for the - itemWithTitle: Objective-C instance method.
 o lastItem()
A wrapper for the - lastItem Objective-C instance method.
 o menu()
A wrapper for the - menu Objective-C instance method.
 o numberOfItems()
A wrapper for the - numberOfItems Objective-C instance method.
 o preferredEdge()
A wrapper for the - preferredEdge Objective-C instance method.
 o pullsDown()
A wrapper for the - pullsDown Objective-C instance method.
 o removeAllItems()
A wrapper for the - removeAllItems Objective-C instance method.
 o removeItemAtIndex(int)
A wrapper for the - removeItemAtIndex: Objective-C instance method.
 o removeItemWithTitle(String)
A wrapper for the - removeItemWithTitle: Objective-C instance method.
 o selectedItem()
A wrapper for the - selectedItem Objective-C instance method.
 o selectItem(MenuItem)
A wrapper for the - selectItem: Objective-C instance method.
 o selectItemAtIndex(int)
A wrapper for the - selectItemAtIndex: Objective-C instance method.
 o selectItemWithTitle(String)
A wrapper for the - selectItemWithTitle: Objective-C instance method.
 o setAutoenablesItems(boolean)
A wrapper for the - setAutoenablesItems: Objective-C instance method.
 o setMenu(Menu)
A wrapper for the - setMenu: Objective-C instance method.
 o setPreferredEdge(int)
A wrapper for the - setPreferredEdge: Objective-C instance method.
 o setPullsDown(boolean)
A wrapper for the - setPullsDown: Objective-C instance method.
 o setTitle(String)
A wrapper for the - setTitle: Objective-C instance method.
 o synchronizeTitleAndSelectedItem()
A wrapper for the - synchronizeTitleAndSelectedItem Objective-C instance method.
 o titleOfSelectedItem()
A wrapper for the - titleOfSelectedItem Objective-C instance method.

Variables

 o PopUpButtonWillPopUpNotification
 public static final String PopUpButtonWillPopUpNotification

Constructors

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

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

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

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

 o PopUpButton
 public PopUpButton(Rect buttonFrame,
                    boolean flag)
This constructor has the same effect as calling - initWithFrame:pullsDown: 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 setPullsDown
 public native void setPullsDown(boolean flag)
A wrapper for the - setPullsDown: Objective-C instance method.

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

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

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

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

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

 o addItemWithTitle
 public native void addItemWithTitle(String title)
A wrapper for the - addItemWithTitle: Objective-C instance method.

 o addItemsWithTitles
 public native void addItemsWithTitles(Array itemTitles)
A wrapper for the - addItemsWithTitles: Objective-C instance method.

 o insertItemWithTitleAtIndex
 public native void insertItemWithTitleAtIndex(String title,
                                               int index)
A wrapper for the - insertItemWithTitle:atIndex: Objective-C instance method.

 o removeItemWithTitle
 public native void removeItemWithTitle(String title)
A wrapper for the - removeItemWithTitle: Objective-C instance method.

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

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

 o itemArray
 public native Array itemArray()
A wrapper for the - itemArray Objective-C instance method.

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

 o indexOfItem
 public native int indexOfItem(MenuItem item)
A wrapper for the - indexOfItem: Objective-C instance method.

 o indexOfItemWithTitle
 public native int indexOfItemWithTitle(String title)
A wrapper for the - indexOfItemWithTitle: Objective-C instance method.

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

 o indexOfItemWithRepresentedObject
 public native int indexOfItemWithRepresentedObject(Object obj)
A wrapper for the - indexOfItemWithRepresentedObject: Objective-C instance method.

 o indexOfItemWithTarget
 public native int indexOfItemWithTarget(Object target,
                                         Selector actionSelector)
A wrapper for the - indexOfItemWithTarget:andAction: Objective-C instance method.

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

 o itemWithTitle
 public native MenuItem itemWithTitle(String title)
A wrapper for the - itemWithTitle: Objective-C instance method.

 o lastItem
 public native MenuItem lastItem()
A wrapper for the - lastItem Objective-C instance method.

 o selectItem
 public native void selectItem(MenuItem item)
A wrapper for the - selectItem: Objective-C instance method.

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

 o selectItemWithTitle
 public native void selectItemWithTitle(String title)
A wrapper for the - selectItemWithTitle: Objective-C instance method.

 o setTitle
 public native void setTitle(String aString)
A wrapper for the - setTitle: Objective-C instance method.

Overrides:
setTitle in class Button
 o selectedItem
 public native MenuItem selectedItem()
A wrapper for the - selectedItem Objective-C instance method.

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

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

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

 o itemTitles
 public native Array itemTitles()
A wrapper for the - itemTitles Objective-C instance method.

 o titleOfSelectedItem
 public native String titleOfSelectedItem()
A wrapper for the - titleOfSelectedItem Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index