Package org.eclipse.swt.internal.cocoa
Class NSButton
- java.lang.Object
-
- Direct Known Subclasses:
NSPopUpButton
,SWTButton
public class NSButton extends NSControl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NSAttributedString
attributedTitle()
long
bezelStyle()
static long
cellClass()
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
setImage(NSImage image)
void
setImagePosition(long imagePosition)
void
setKeyEquivalent(NSString keyEquivalent)
void
setState(long state)
void
setTitle(NSString title)
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_, convertRect_fromView_, convertRect_toView_, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, layer, lockFocus, lockFocusIfCanDraw, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRect, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setBoundsSize, 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, cancelOperation, cursorUpdate, doCommandBySelector, flagsChanged, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, 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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSButton
public NSButton()
-
NSButton
public NSButton(long id)
-
NSButton
public NSButton(id id)
-
-
Method Detail
-
attributedTitle
public NSAttributedString attributedTitle()
-
bezelStyle
public long bezelStyle()
-
setAllowsMixedState
public void setAllowsMixedState(boolean allowsMixedState)
-
setAttributedTitle
public void setAttributedTitle(NSAttributedString attributedTitle)
-
setBezelStyle
public void setBezelStyle(long bezelStyle)
-
setBordered
public void setBordered(boolean bordered)
-
setButtonType
public void setButtonType(long aType)
-
setImage
public void setImage(NSImage image)
-
setImagePosition
public void setImagePosition(long imagePosition)
-
setKeyEquivalent
public void setKeyEquivalent(NSString keyEquivalent)
-
setState
public void setState(long state)
-
setTitle
public void setTitle(NSString title)
-
state
public long state()
-
cellClass
public static long cellClass()
-
setCellClass
public static void setCellClass(long factoryId)
-
-