Package org.eclipse.swt.internal.cocoa
Class NSButton
- Direct Known Subclasses:
NSPopUpButton
,SWTButton
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
static long
void
setAllowsMixedState
(boolean allowsMixedState) void
setAttributedTitle
(NSAttributedString attributedTitle) void
setBezelStyle
(long bezelStyle) void
setBordered
(boolean bordered) void
setButtonType
(long aType) static void
setCellClass
(long factoryId) void
void
setImagePosition
(long imagePosition) void
setKeyEquivalent
(NSString keyEquivalent) void
setState
(long state) void
long
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
-
NSButton
public NSButton() -
NSButton
public NSButton(long id) -
NSButton
-
-
Method Details
-
attributedTitle
-
bezelStyle
public long bezelStyle() -
setAllowsMixedState
public void setAllowsMixedState(boolean allowsMixedState) -
setAttributedTitle
-
setBezelStyle
public void setBezelStyle(long bezelStyle) -
setBordered
public void setBordered(boolean bordered) -
setButtonType
public void setButtonType(long aType) -
setImage
-
setImagePosition
public void setImagePosition(long imagePosition) -
setKeyEquivalent
-
setState
public void setState(long state) -
setTitle
-
state
public long state() -
cellClass
public static long cellClass() -
setCellClass
public static void setCellClass(long factoryId)
-