public class NSPopUpButton extends NSButton
| Constructor and Description |
|---|
NSPopUpButton() |
NSPopUpButton(id id) |
NSPopUpButton(int id) |
| Modifier and Type | Method and Description |
|---|---|
static int |
cellClass() |
int |
indexOfSelectedItem() |
NSPopUpButton |
initWithFrame(NSRect buttonFrame,
boolean flag) |
NSMenuItem |
itemAtIndex(int index) |
NSString |
itemTitleAtIndex(int index) |
NSMenu |
menu() |
int |
numberOfItems() |
void |
removeAllItems() |
void |
removeItemAtIndex(int index) |
void |
selectItem(NSMenuItem item) |
void |
selectItemAtIndex(int index) |
void |
setAutoenablesItems(boolean flag) |
static void |
setCellClass(int factoryId) |
void |
setPullsDown(boolean flag) |
NSString |
titleOfSelectedItem() |
attributedTitle, setAllowsMixedState, setAttributedTitle, setBezelStyle, setBordered, setButtonType, setImage, setImagePosition, setKeyEquivalent, setState, setTitle, stateabortEditing, action, cell, currentEditor, doubleValue, font, isEnabled, sendAction, setAction, setAlignment, setBaseWritingDirection, setCell, setDoubleValue, setEnabled, setFont, setFormatter, setStringValue, setTarget, sizeToFit, stringValue, targetacceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bounds, 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, scrollRectToVisible, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, windowacceptsFirstResponder, 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, validRequestorForSendTypeaccessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, 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, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSPopUpButton()
public NSPopUpButton(int id)
public NSPopUpButton(id id)
public int indexOfSelectedItem()
public NSPopUpButton initWithFrame(NSRect buttonFrame, boolean flag)
public NSMenuItem itemAtIndex(int index)
public NSString itemTitleAtIndex(int index)
public NSMenu menu()
public int numberOfItems()
public void removeAllItems()
public void removeItemAtIndex(int index)
public void selectItem(NSMenuItem item)
public void selectItemAtIndex(int index)
public void setAutoenablesItems(boolean flag)
public void setPullsDown(boolean flag)
public NSString titleOfSelectedItem()
public static int cellClass()
public static void setCellClass(int factoryId)