org.rococoa.cocoa.appkit
Class NSPopUpButton

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSView
              extended by org.rococoa.cocoa.appkit.NSControl
                  extended by org.rococoa.cocoa.appkit.NSButton
                      extended by org.rococoa.cocoa.appkit.NSPopUpButton
All Implemented Interfaces:
NSUserInterfaceValidations, NSCoding, NSObject, ObjCObject

public abstract class NSPopUpButton
extends NSButton

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSPopUpButton.__pbFlags
           
static class NSPopUpButton._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSControl
NSControl.__conFlags
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSView
NSView.__VFlags2
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSUserInterfaceValidations
NSUserInterfaceValidations._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSPopUpButton()
           
 
Method Summary
abstract  void addItemsWithTitles(NSArray itemTitles)
          Original signature : -(void)addItemsWithTitles:(NSArray*)
native declaration : NSPopUpButton.h:46
abstract  void addItemWithTitle(NSString title)
          Adding and removing items
Original signature : -(void)addItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:45
static NSPopUpButton alloc()
           
abstract  boolean autoenablesItems()
          Original signature : -(BOOL)autoenablesItems
native declaration : NSPopUpButton.h:38
static NSPopUpButton._class_ getNSClass()
           
abstract  NSInteger indexOfItem(NSMenuItem item)
          Original signature : -(NSInteger)indexOfItem:(NSMenuItem*)
native declaration : NSPopUpButton.h:58
abstract  NSInteger indexOfItemWithRepresentedObject(ObjCObject obj)
          Original signature : -(NSInteger)indexOfItemWithRepresentedObject:(id)
native declaration : NSPopUpButton.h:61
abstract  NSInteger indexOfItemWithTag(NSInteger tag)
          Original signature : -(NSInteger)indexOfItemWithTag:(NSInteger)
native declaration : NSPopUpButton.h:60
abstract  NSInteger indexOfItemWithTarget_andAction(ObjCObject target, Selector actionSelector)
          Original signature : -(NSInteger)indexOfItemWithTarget:(id) andAction:(SEL)
native declaration : NSPopUpButton.h:62
abstract  NSInteger indexOfItemWithTitle(NSString title)
          Original signature : -(NSInteger)indexOfItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:59
abstract  NSInteger indexOfSelectedItem()
          Original signature : -(NSInteger)indexOfSelectedItem
native declaration : NSPopUpButton.h:79
abstract  void insertItemWithTitle_atIndex(NSString title, NSInteger index)
          Original signature : -(void)insertItemWithTitle:(NSString*) atIndex:(NSInteger)
native declaration : NSPopUpButton.h:47
abstract  NSArray itemArray()
          Accessing the items
Original signature : -(NSArray*)itemArray
native declaration : NSPopUpButton.h:55
abstract  NSMenuItem itemAtIndex(NSInteger index)
          Original signature : -(NSMenuItem*)itemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:64
abstract  NSString itemTitleAtIndex(NSInteger index)
          Title conveniences
Original signature : -(NSString*)itemTitleAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:83
abstract  NSArray itemTitles()
          Original signature : -(NSArray*)itemTitles
native declaration : NSPopUpButton.h:84
abstract  NSMenuItem itemWithTitle(NSString title)
          Original signature : -(NSMenuItem*)itemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:65
abstract  NSMenuItem lastItem()
          Original signature : -(NSMenuItem*)lastItem
native declaration : NSPopUpButton.h:66
abstract  NSMenu menu()
          Original signature : -(NSMenu*)menu
native declaration : NSPopUpButton.h:31
static NSPopUpButton new_()
           
abstract  NSInteger numberOfItems()
          Original signature : -(NSInteger)numberOfItems
native declaration : NSPopUpButton.h:56
abstract  NSObject preferredEdge()
          Original signature : -(id)preferredEdge
native declaration : NSPopUpButton.h:41
abstract  boolean pullsDown()
          Original signature : -(BOOL)pullsDown
native declaration : NSPopUpButton.h:35
abstract  void removeAllItems()
          Original signature : -(void)removeAllItems
native declaration : NSPopUpButton.h:51
abstract  void removeItemAtIndex(NSInteger index)
          Original signature : -(void)removeItemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:50
abstract  void removeItemWithTitle(NSString title)
          Original signature : -(void)removeItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:49
abstract  NSMenuItem selectedItem()
          Original signature : -(NSMenuItem*)selectedItem
native declaration : NSPopUpButton.h:78
abstract  void selectItem(NSMenuItem item)
          Dealing with selection
Original signature : -(void)selectItem:(NSMenuItem*)
native declaration : NSPopUpButton.h:70
abstract  void selectItemAtIndex(NSInteger index)
          Original signature : -(void)selectItemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:71
abstract  boolean selectItemWithTag(NSInteger tag)
          Original signature : -(BOOL)selectItemWithTag:(NSInteger)
native declaration : NSPopUpButton.h:74
abstract  void selectItemWithTitle(NSString title)
          Original signature : -(void)selectItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:72
abstract  void setAutoenablesItems(boolean flag)
          Original signature : -(void)setAutoenablesItems:(BOOL)
native declaration : NSPopUpButton.h:37
abstract  void setMenu(NSMenu menu)
          Overrides behavior of NSView.
abstract  void setPullsDown(boolean flag)
          Behavior settings
Original signature : -(void)setPullsDown:(BOOL)
native declaration : NSPopUpButton.h:34
abstract  void setTitle(NSString aString)
          Original signature : -(void)setTitle:(NSString*)
native declaration : NSPopUpButton.h:76
abstract  void synchronizeTitleAndSelectedItem()
          Original signature : -(void)synchronizeTitleAndSelectedItem
native declaration : NSPopUpButton.h:80
abstract  NSString titleOfSelectedItem()
          Original signature : -(NSString*)titleOfSelectedItem
native declaration : NSPopUpButton.h:85
 
Methods inherited from class org.rococoa.cocoa.appkit.NSButton
alternateImage, alternateTitle, as_NSButton_NSButtonAttributedStringMethods, as_NSButton_NSButtonBezelStyles, as_NSButton_NSButtonBorder, as_NSButton_NSButtonMixedState, as_NSButton_NSButtonSoundExtensions, as_NSButton_NSKeyboardUI, getPeriodicDelay_interval, getPeriodicDelay_interval, highlight, image, imagePosition, isBordered, isTransparent, keyEquivalent, keyEquivalentModifierMask, performKeyEquivalent, setAlternateImage, setAlternateTitle, setBordered, setImage, setKeyEquivalent, setKeyEquivalentModifierMask, setPeriodicDelay_interval, setState, setTransparent, state, title
 
Methods inherited from class org.rococoa.cocoa.appkit.NSControl
abortEditing, action, alignment, as_NSControl_NSKeyboardUI, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, mouseDown, objectValue, selectCell, selectedCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, setStringValue, setTag, setTarget, sizeToFit, stringValue, tag, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, target, updateCell, updateCellInside, validateEditing
 
Methods inherited from class org.rococoa.cocoa.appkit.NSView
addSubview, ancestorSharedWithView, as_NSView_NSClipViewSuperview, as_NSView_NSRulerMarkerClientViewDelegation, as_NSView_NSViewEnclosingMenuItem, createWithFrame, getRectsBeingDrawn_count, getRectsBeingDrawn_count, initWithFrame, isDescendantOf, isHidden, isHiddenOrHasHiddenAncestor, needsToDrawRect, opaqueAncestor, setHidden, setSubviews, subviews, superview, viewDidHide, viewDidUnhide, wantsDefaultClipping, window
 
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder
acceptsFirstResponder, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, tryToPerform_with, validRequestorForSendType_returnType
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.appkit.protocols.NSUserInterfaceValidations
validateUserInterfaceItem
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSPopUpButton

public NSPopUpButton()
Method Detail

setMenu

public abstract void setMenu(NSMenu menu)
Overrides behavior of NSView. This is the menu for the popup, not a context menu. PopUpButtons do not have context menus.
Original signature : -(void)setMenu:(NSMenu*)
native declaration : NSPopUpButton.h:30

Specified by:
setMenu in class NSResponder

menu

public abstract NSMenu menu()
Original signature : -(NSMenu*)menu
native declaration : NSPopUpButton.h:31

Specified by:
menu in class NSResponder

setPullsDown

public abstract void setPullsDown(boolean flag)
Behavior settings
Original signature : -(void)setPullsDown:(BOOL)
native declaration : NSPopUpButton.h:34


pullsDown

public abstract boolean pullsDown()
Original signature : -(BOOL)pullsDown
native declaration : NSPopUpButton.h:35


setAutoenablesItems

public abstract void setAutoenablesItems(boolean flag)
Original signature : -(void)setAutoenablesItems:(BOOL)
native declaration : NSPopUpButton.h:37


autoenablesItems

public abstract boolean autoenablesItems()
Original signature : -(BOOL)autoenablesItems
native declaration : NSPopUpButton.h:38


preferredEdge

public abstract NSObject preferredEdge()
Original signature : -(id)preferredEdge
native declaration : NSPopUpButton.h:41


addItemWithTitle

public abstract void addItemWithTitle(NSString title)
Adding and removing items
Original signature : -(void)addItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:45


addItemsWithTitles

public abstract void addItemsWithTitles(NSArray itemTitles)
Original signature : -(void)addItemsWithTitles:(NSArray*)
native declaration : NSPopUpButton.h:46


insertItemWithTitle_atIndex

public abstract void insertItemWithTitle_atIndex(NSString title,
                                                 NSInteger index)
Original signature : -(void)insertItemWithTitle:(NSString*) atIndex:(NSInteger)
native declaration : NSPopUpButton.h:47


removeItemWithTitle

public abstract void removeItemWithTitle(NSString title)
Original signature : -(void)removeItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:49


removeItemAtIndex

public abstract void removeItemAtIndex(NSInteger index)
Original signature : -(void)removeItemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:50


removeAllItems

public abstract void removeAllItems()
Original signature : -(void)removeAllItems
native declaration : NSPopUpButton.h:51


itemArray

public abstract NSArray itemArray()
Accessing the items
Original signature : -(NSArray*)itemArray
native declaration : NSPopUpButton.h:55


numberOfItems

public abstract NSInteger numberOfItems()
Original signature : -(NSInteger)numberOfItems
native declaration : NSPopUpButton.h:56


indexOfItem

public abstract NSInteger indexOfItem(NSMenuItem item)
Original signature : -(NSInteger)indexOfItem:(NSMenuItem*)
native declaration : NSPopUpButton.h:58


indexOfItemWithTitle

public abstract NSInteger indexOfItemWithTitle(NSString title)
Original signature : -(NSInteger)indexOfItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:59


indexOfItemWithTag

public abstract NSInteger indexOfItemWithTag(NSInteger tag)
Original signature : -(NSInteger)indexOfItemWithTag:(NSInteger)
native declaration : NSPopUpButton.h:60


indexOfItemWithRepresentedObject

public abstract NSInteger indexOfItemWithRepresentedObject(ObjCObject obj)
Original signature : -(NSInteger)indexOfItemWithRepresentedObject:(id)
native declaration : NSPopUpButton.h:61


indexOfItemWithTarget_andAction

public abstract NSInteger indexOfItemWithTarget_andAction(ObjCObject target,
                                                          Selector actionSelector)
Original signature : -(NSInteger)indexOfItemWithTarget:(id) andAction:(SEL)
native declaration : NSPopUpButton.h:62


itemAtIndex

public abstract NSMenuItem itemAtIndex(NSInteger index)
Original signature : -(NSMenuItem*)itemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:64


itemWithTitle

public abstract NSMenuItem itemWithTitle(NSString title)
Original signature : -(NSMenuItem*)itemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:65


lastItem

public abstract NSMenuItem lastItem()
Original signature : -(NSMenuItem*)lastItem
native declaration : NSPopUpButton.h:66


selectItem

public abstract void selectItem(NSMenuItem item)
Dealing with selection
Original signature : -(void)selectItem:(NSMenuItem*)
native declaration : NSPopUpButton.h:70


selectItemAtIndex

public abstract void selectItemAtIndex(NSInteger index)
Original signature : -(void)selectItemAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:71


selectItemWithTitle

public abstract void selectItemWithTitle(NSString title)
Original signature : -(void)selectItemWithTitle:(NSString*)
native declaration : NSPopUpButton.h:72


selectItemWithTag

public abstract boolean selectItemWithTag(NSInteger tag)
Original signature : -(BOOL)selectItemWithTag:(NSInteger)
native declaration : NSPopUpButton.h:74


setTitle

public abstract void setTitle(NSString aString)
Original signature : -(void)setTitle:(NSString*)
native declaration : NSPopUpButton.h:76

Specified by:
setTitle in class NSButton

selectedItem

public abstract NSMenuItem selectedItem()
Original signature : -(NSMenuItem*)selectedItem
native declaration : NSPopUpButton.h:78


indexOfSelectedItem

public abstract NSInteger indexOfSelectedItem()
Original signature : -(NSInteger)indexOfSelectedItem
native declaration : NSPopUpButton.h:79


synchronizeTitleAndSelectedItem

public abstract void synchronizeTitleAndSelectedItem()
Original signature : -(void)synchronizeTitleAndSelectedItem
native declaration : NSPopUpButton.h:80


itemTitleAtIndex

public abstract NSString itemTitleAtIndex(NSInteger index)
Title conveniences
Original signature : -(NSString*)itemTitleAtIndex:(NSInteger)
native declaration : NSPopUpButton.h:83


itemTitles

public abstract NSArray itemTitles()
Original signature : -(NSArray*)itemTitles
native declaration : NSPopUpButton.h:84


titleOfSelectedItem

public abstract NSString titleOfSelectedItem()
Original signature : -(NSString*)titleOfSelectedItem
native declaration : NSPopUpButton.h:85


alloc

public static NSPopUpButton alloc()

new_

public static NSPopUpButton new_()

getNSClass

public static NSPopUpButton._class_ getNSClass()


Copyright © 2009. All Rights Reserved.