Package org.eclipse.swt.internal.cocoa
Class NSPopUpButton
- Direct Known Subclasses:
SWTPopUpButton
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic long
long
initWithFrame
(NSRect buttonFrame, boolean flag) itemAtIndex
(long index) itemTitleAtIndex
(long index) menu()
long
void
void
removeItemAtIndex
(long index) void
selectItem
(NSMenuItem item) void
selectItemAtIndex
(long index) void
setAutoenablesItems
(boolean autoenablesItems) static void
setCellClass
(long factoryId) void
setPullsDown
(boolean pullsDown) Methods inherited from class org.eclipse.swt.internal.cocoa.NSButton
attributedTitle, bezelStyle, setAllowsMixedState, setAttributedTitle, setBezelStyle, setBordered, setButtonType, setImage, setImagePosition, setKeyEquivalent, setState, setTitle, state
Methods 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, target
Methods 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, window
Methods 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, validRequestorForSendType
Methods 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, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSPopUpButton
public NSPopUpButton() -
NSPopUpButton
public NSPopUpButton(long id) -
NSPopUpButton
-
-
Method Details
-
indexOfSelectedItem
public long indexOfSelectedItem() -
initWithFrame
-
itemAtIndex
-
itemTitleAtIndex
-
numberOfItems
public long numberOfItems() -
removeAllItems
public void removeAllItems() -
removeItemAtIndex
public void removeItemAtIndex(long index) -
selectItem
-
selectItemAtIndex
public void selectItemAtIndex(long index) -
setAutoenablesItems
public void setAutoenablesItems(boolean autoenablesItems) -
setPullsDown
public void setPullsDown(boolean pullsDown) -
titleOfSelectedItem
-
cellClass
public static long cellClass() -
setCellClass
public static void setCellClass(long factoryId)
-