public class NSButton extends NSControl
| Constructor and Description |
|---|
NSButton() |
NSButton(id id) |
NSButton(int id) |
| Modifier and Type | Method and Description |
|---|---|
NSAttributedString |
attributedTitle() |
static int |
cellClass() |
void |
setAllowsMixedState(boolean flag) |
void |
setAttributedTitle(NSAttributedString aString) |
void |
setBezelStyle(int bezelStyle) |
void |
setBordered(boolean flag) |
void |
setButtonType(int aType) |
static void |
setCellClass(int factoryId) |
void |
setImage(NSImage image) |
void |
setImagePosition(int aPosition) |
void |
setKeyEquivalent(NSString charCode) |
void |
setState(int value) |
void |
setTitle(NSString aString) |
int |
state() |
abortEditing, 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 NSButton()
public NSButton(int id)
public NSButton(id id)
public NSAttributedString attributedTitle()
public void setAllowsMixedState(boolean flag)
public void setAttributedTitle(NSAttributedString aString)
public void setBezelStyle(int bezelStyle)
public void setBordered(boolean flag)
public void setButtonType(int aType)
public void setImage(NSImage image)
public void setImagePosition(int aPosition)
public void setKeyEquivalent(NSString charCode)
public void setState(int value)
public void setTitle(NSString aString)
public int state()
public static int cellClass()
public static void setCellClass(int factoryId)