org.rococoa.cocoa.appkit
Class NSComboBox

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.NSTextField
                      extended by org.rococoa.cocoa.appkit.NSComboBox
All Implemented Interfaces:
NSUserInterfaceValidations, NSCoding, NSObject, ObjCObject

public abstract class NSComboBox
extends NSTextField

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 NSComboBox._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
NSComboBox()
           
 
Method Summary
abstract  void addItemsWithObjectValues(NSArray objects)
          Original signature : -(void)addItemsWithObjectValues:(NSArray*)
native declaration : NSComboBox.h:63
abstract  void addItemWithObjectValue(ObjCObject object)
          These methods can only be used when usesDataSource is NO
Original signature : -(void)addItemWithObjectValue:(id)
native declaration : NSComboBox.h:62
static NSComboBox alloc()
           
abstract  boolean completes()
          Original signature : -(BOOL)completes
native declaration : NSComboBox.h:51
abstract  NSComboBoxDataSource dataSource()
          These two methods can only be used when usesDataSource is YES
Original signature : -(id)dataSource
native declaration : NSComboBox.h:58
abstract  NSComboBoxDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSComboBox.h:54
abstract  void deselectItemAtIndex(NSInteger index)
          Original signature : -(void)deselectItemAtIndex:(NSInteger)
native declaration : NSComboBox.h:47
static NSComboBox._class_ getNSClass()
           
abstract  boolean hasVerticalScroller()
          Original signature : -(BOOL)hasVerticalScroller
native declaration : NSComboBox.h:23
abstract  NSInteger indexOfItemWithObjectValue(ObjCObject object)
          Original signature : -(NSInteger)indexOfItemWithObjectValue:(id)
native declaration : NSComboBox.h:71
abstract  NSInteger indexOfSelectedItem()
          Original signature : -(NSInteger)indexOfSelectedItem
native declaration : NSComboBox.h:48
abstract  void insertItemWithObjectValue_atIndex(ObjCObject object, NSInteger index)
          Original signature : -(void)insertItemWithObjectValue:(id) atIndex:(NSInteger)
native declaration : NSComboBox.h:64
abstract  NSObject intercellSpacing()
          Original signature : -(id)intercellSpacing
native declaration : NSComboBox.h:25
abstract  boolean isButtonBordered()
          Original signature : -(BOOL)isButtonBordered
native declaration : NSComboBox.h:34
abstract  org.rococoa.cocoa.CGFloat itemHeight()
          Original signature : -(CGFloat)itemHeight
native declaration : NSComboBox.h:27
abstract  NSObject itemObjectValueAtIndex(NSInteger index)
          Original signature : -(id)itemObjectValueAtIndex:(NSInteger)
native declaration : NSComboBox.h:69
static NSComboBox new_()
           
abstract  void noteNumberOfItemsChanged()
          Original signature : -(void)noteNumberOfItemsChanged
native declaration : NSComboBox.h:38
abstract  NSInteger numberOfItems()
          Original signature : -(NSInteger)numberOfItems
native declaration : NSComboBox.h:49
abstract  NSInteger numberOfVisibleItems()
          Original signature : -(NSInteger)numberOfVisibleItems
native declaration : NSComboBox.h:29
abstract  NSObject objectValueOfSelectedItem()
          Original signature : -(id)objectValueOfSelectedItem
native declaration : NSComboBox.h:70
abstract  NSArray objectValues()
          Original signature : -(NSArray*)objectValues
native declaration : NSComboBox.h:72
abstract  void reloadData()
          Original signature : -(void)reloadData
native declaration : NSComboBox.h:37
abstract  void removeAllItems()
          Original signature : -(void)removeAllItems
native declaration : NSComboBox.h:67
abstract  void removeItemAtIndex(NSInteger index)
          Original signature : -(void)removeItemAtIndex:(NSInteger)
native declaration : NSComboBox.h:66
abstract  void removeItemWithObjectValue(ObjCObject object)
          Original signature : -(void)removeItemWithObjectValue:(id)
native declaration : NSComboBox.h:65
abstract  void scrollItemAtIndexToTop(NSInteger index)
          Original signature : -(void)scrollItemAtIndexToTop:(NSInteger)
native declaration : NSComboBox.h:43
abstract  void scrollItemAtIndexToVisible(NSInteger index)
          Original signature : -(void)scrollItemAtIndexToVisible:(NSInteger)
native declaration : NSComboBox.h:44
abstract  void selectItemAtIndex(NSInteger index)
          Original signature : -(void)selectItemAtIndex:(NSInteger)
native declaration : NSComboBox.h:46
abstract  void selectItemWithObjectValue(ObjCObject object)
          Original signature : -(void)selectItemWithObjectValue:(id)
native declaration : NSComboBox.h:68
abstract  void setButtonBordered(boolean flag)
          Original signature : -(void)setButtonBordered:(BOOL)
native declaration : NSComboBox.h:33
abstract  void setCompletes(boolean completes)
          Original signature : -(void)setCompletes:(BOOL)
native declaration : NSComboBox.h:52
abstract  void setDataSource(NSComboBoxDataSource aSource)
          Original signature : -(void)setDataSource:(id)
native declaration : NSComboBox.h:59
abstract  void setDelegate(NSComboBoxDelegate anObject)
          Original signature : -(void)setDelegate:(id)
native declaration : NSComboBox.h:55
abstract  void setHasVerticalScroller(boolean flag)
          Original signature : -(void)setHasVerticalScroller:(BOOL)
native declaration : NSComboBox.h:24
abstract  void setItemHeight(org.rococoa.cocoa.CGFloat itemHeight)
          Original signature : -(void)setItemHeight:(CGFloat)
native declaration : NSComboBox.h:28
abstract  void setNumberOfVisibleItems(NSInteger visibleItems)
          Original signature : -(void)setNumberOfVisibleItems:(NSInteger)
native declaration : NSComboBox.h:30
abstract  void setUsesDataSource(boolean flag)
          Original signature : -(void)setUsesDataSource:(BOOL)
native declaration : NSComboBox.h:40
abstract  boolean usesDataSource()
          Original signature : -(BOOL)usesDataSource
native declaration : NSComboBox.h:41
 
Methods inherited from class org.rococoa.cocoa.appkit.NSTextField
acceptsFirstResponder, as_NSTextField_NSKeyboardUI, as_NSTextField_NSTextFieldAttributedStringMethods, backgroundColor, bezelStyle, drawsBackground, isBezeled, isBordered, isEditable, isSelectable, selectText, setBackgroundColor, setBezeled, setBordered, setDelegate, setDrawsBackground, setEditable, setSelectable, setTextColor, textColor, textDidBeginEditing, textDidChange, textDidEndEditing, textShouldBeginEditing, textShouldEndEditing
 
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
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, menu, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setMenu, 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

NSComboBox

public NSComboBox()
Method Detail

hasVerticalScroller

public abstract boolean hasVerticalScroller()
Original signature : -(BOOL)hasVerticalScroller
native declaration : NSComboBox.h:23


setHasVerticalScroller

public abstract void setHasVerticalScroller(boolean flag)
Original signature : -(void)setHasVerticalScroller:(BOOL)
native declaration : NSComboBox.h:24


intercellSpacing

public abstract NSObject intercellSpacing()
Original signature : -(id)intercellSpacing
native declaration : NSComboBox.h:25


itemHeight

public abstract org.rococoa.cocoa.CGFloat itemHeight()
Original signature : -(CGFloat)itemHeight
native declaration : NSComboBox.h:27


setItemHeight

public abstract void setItemHeight(org.rococoa.cocoa.CGFloat itemHeight)
Original signature : -(void)setItemHeight:(CGFloat)
native declaration : NSComboBox.h:28


numberOfVisibleItems

public abstract NSInteger numberOfVisibleItems()
Original signature : -(NSInteger)numberOfVisibleItems
native declaration : NSComboBox.h:29


setNumberOfVisibleItems

public abstract void setNumberOfVisibleItems(NSInteger visibleItems)
Original signature : -(void)setNumberOfVisibleItems:(NSInteger)
native declaration : NSComboBox.h:30


setButtonBordered

public abstract void setButtonBordered(boolean flag)
Original signature : -(void)setButtonBordered:(BOOL)
native declaration : NSComboBox.h:33


isButtonBordered

public abstract boolean isButtonBordered()
Original signature : -(BOOL)isButtonBordered
native declaration : NSComboBox.h:34


reloadData

public abstract void reloadData()
Original signature : -(void)reloadData
native declaration : NSComboBox.h:37


noteNumberOfItemsChanged

public abstract void noteNumberOfItemsChanged()
Original signature : -(void)noteNumberOfItemsChanged
native declaration : NSComboBox.h:38


setUsesDataSource

public abstract void setUsesDataSource(boolean flag)
Original signature : -(void)setUsesDataSource:(BOOL)
native declaration : NSComboBox.h:40


usesDataSource

public abstract boolean usesDataSource()
Original signature : -(BOOL)usesDataSource
native declaration : NSComboBox.h:41


scrollItemAtIndexToTop

public abstract void scrollItemAtIndexToTop(NSInteger index)
Original signature : -(void)scrollItemAtIndexToTop:(NSInteger)
native declaration : NSComboBox.h:43


scrollItemAtIndexToVisible

public abstract void scrollItemAtIndexToVisible(NSInteger index)
Original signature : -(void)scrollItemAtIndexToVisible:(NSInteger)
native declaration : NSComboBox.h:44


selectItemAtIndex

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


deselectItemAtIndex

public abstract void deselectItemAtIndex(NSInteger index)
Original signature : -(void)deselectItemAtIndex:(NSInteger)
native declaration : NSComboBox.h:47


indexOfSelectedItem

public abstract NSInteger indexOfSelectedItem()
Original signature : -(NSInteger)indexOfSelectedItem
native declaration : NSComboBox.h:48


numberOfItems

public abstract NSInteger numberOfItems()
Original signature : -(NSInteger)numberOfItems
native declaration : NSComboBox.h:49


completes

public abstract boolean completes()
Original signature : -(BOOL)completes
native declaration : NSComboBox.h:51


setCompletes

public abstract void setCompletes(boolean completes)
Original signature : -(void)setCompletes:(BOOL)
native declaration : NSComboBox.h:52


delegate

public abstract NSComboBoxDelegate delegate()
Original signature : -(id)delegate
native declaration : NSComboBox.h:54

Specified by:
delegate in class NSTextField

setDelegate

public abstract void setDelegate(NSComboBoxDelegate anObject)
Original signature : -(void)setDelegate:(id)
native declaration : NSComboBox.h:55


dataSource

public abstract NSComboBoxDataSource dataSource()
These two methods can only be used when usesDataSource is YES
Original signature : -(id)dataSource
native declaration : NSComboBox.h:58


setDataSource

public abstract void setDataSource(NSComboBoxDataSource aSource)
Original signature : -(void)setDataSource:(id)
native declaration : NSComboBox.h:59


addItemWithObjectValue

public abstract void addItemWithObjectValue(ObjCObject object)
These methods can only be used when usesDataSource is NO
Original signature : -(void)addItemWithObjectValue:(id)
native declaration : NSComboBox.h:62


addItemsWithObjectValues

public abstract void addItemsWithObjectValues(NSArray objects)
Original signature : -(void)addItemsWithObjectValues:(NSArray*)
native declaration : NSComboBox.h:63


insertItemWithObjectValue_atIndex

public abstract void insertItemWithObjectValue_atIndex(ObjCObject object,
                                                       NSInteger index)
Original signature : -(void)insertItemWithObjectValue:(id) atIndex:(NSInteger)
native declaration : NSComboBox.h:64


removeItemWithObjectValue

public abstract void removeItemWithObjectValue(ObjCObject object)
Original signature : -(void)removeItemWithObjectValue:(id)
native declaration : NSComboBox.h:65


removeItemAtIndex

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


removeAllItems

public abstract void removeAllItems()
Original signature : -(void)removeAllItems
native declaration : NSComboBox.h:67


selectItemWithObjectValue

public abstract void selectItemWithObjectValue(ObjCObject object)
Original signature : -(void)selectItemWithObjectValue:(id)
native declaration : NSComboBox.h:68


itemObjectValueAtIndex

public abstract NSObject itemObjectValueAtIndex(NSInteger index)
Original signature : -(id)itemObjectValueAtIndex:(NSInteger)
native declaration : NSComboBox.h:69


objectValueOfSelectedItem

public abstract NSObject objectValueOfSelectedItem()
Original signature : -(id)objectValueOfSelectedItem
native declaration : NSComboBox.h:70


indexOfItemWithObjectValue

public abstract NSInteger indexOfItemWithObjectValue(ObjCObject object)
Original signature : -(NSInteger)indexOfItemWithObjectValue:(id)
native declaration : NSComboBox.h:71


objectValues

public abstract NSArray objectValues()
Original signature : -(NSArray*)objectValues
native declaration : NSComboBox.h:72


alloc

public static NSComboBox alloc()

new_

public static NSComboBox new_()

getNSClass

public static NSComboBox._class_ getNSClass()


Copyright © 2009. All Rights Reserved.