Package org.eclipse.swt.internal.cocoa
Class NSComboBox
- Direct Known Subclasses:
SWTComboBox
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItemWithObjectValue(id object) static longvoiddeselectItemAtIndex(long index) longvoidinsertItemWithObjectValue(id object, long index) doubleitemObjectValueAtIndex(long index) longlongvoidvoidremoveItemAtIndex(long index) voidselectItemAtIndex(long index) static voidsetCellClass(long factoryId) voidsetNumberOfVisibleItems(long numberOfVisibleItems) Methods inherited from class org.eclipse.swt.internal.cocoa.NSTextField
selectText, setBackgroundColor, setBordered, setDelegate, setDrawsBackground, setEditable, setSelectable, setTextColorMethods inherited from class org.eclipse.swt.internal.cocoa.NSControl
abortEditing, action, cell, currentEditor, doubleValue, font, isEnabled, isHighlighted, sendAction, setAction, setAlignment, setBaseWritingDirection, setCell, setDoubleValue, setEnabled, setFont, setFormatter, setStringValue, setTarget, sizeToFit, stringValue, targetMethods inherited from class org.eclipse.swt.internal.cocoa.NSView
acceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bitmapImageRepForCachingDisplayInRect, bounds, cacheDisplayInRect, canBecomeKeyView, convertPoint_fromView_, convertPoint_toView_, convertPointFromBase, convertPointToBase, convertRect_fromView_, convertRect_toView_, convertRectFromBase, convertRectToBase, convertSize_fromView_, convertSize_toView_, convertSizeFromBase, convertSizeToBase, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, lockFocus, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRect, scrollRectToVisible, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, windowMethods inherited from class org.eclipse.swt.internal.cocoa.NSResponder
acceptsFirstResponder, becomeFirstResponder, beginGestureWithEvent, cancelOperation, cursorUpdate, doCommandBySelector, endGestureWithEvent, flagsChanged, helpRequested, insertText, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, moveToBeginningOfParagraph, moveToEndOfParagraph, moveUp, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, pageDown, pageUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, swipeWithEvent, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, undoManager, validRequestorForSendTypeMethods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardMethods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSComboBox
public NSComboBox() -
NSComboBox
public NSComboBox(long id) -
NSComboBox
-
-
Method Details
-
addItemWithObjectValue
-
deselectItemAtIndex
public void deselectItemAtIndex(long index) -
indexOfSelectedItem
public long indexOfSelectedItem() -
insertItemWithObjectValue
-
itemHeight
public double itemHeight() -
itemObjectValueAtIndex
-
numberOfItems
public long numberOfItems() -
numberOfVisibleItems
public long numberOfVisibleItems() -
removeAllItems
public void removeAllItems() -
removeItemAtIndex
public void removeItemAtIndex(long index) -
selectItemAtIndex
public void selectItemAtIndex(long index) -
setNumberOfVisibleItems
public void setNumberOfVisibleItems(long numberOfVisibleItems) -
cellClass
public static long cellClass() -
setCellClass
public static void setCellClass(long factoryId)
-