public class NSControl extends NSView
| Constructor and Description |
|---|
NSControl() |
NSControl(id id) |
NSControl(int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abortEditing() |
int |
action() |
NSCell |
cell() |
static int |
cellClass() |
NSText |
currentEditor() |
double |
doubleValue() |
NSFont |
font() |
boolean |
isEnabled() |
boolean |
sendAction(int theAction,
id theTarget) |
void |
setAction(int aSelector) |
void |
setAlignment(int mode) |
void |
setBaseWritingDirection(int writingDirection) |
void |
setCell(NSCell aCell) |
static void |
setCellClass(int factoryId) |
void |
setDoubleValue(double aDouble) |
void |
setEnabled(boolean flag) |
void |
setFont(NSFont fontObj) |
void |
setFormatter(NSFormatter newFormatter) |
void |
setStringValue(NSString aString) |
void |
setTarget(id anObject) |
void |
sizeToFit() |
NSString |
stringValue() |
id |
target() |
acceptsFirstMouse, 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 NSControl()
public NSControl(int id)
public NSControl(id id)
public boolean abortEditing()
public int action()
public NSCell cell()
public static int cellClass()
public NSText currentEditor()
public double doubleValue()
public NSFont font()
public boolean isEnabled()
public boolean sendAction(int theAction,
id theTarget)
public void setAction(int aSelector)
public void setAlignment(int mode)
public void setBaseWritingDirection(int writingDirection)
public void setCell(NSCell aCell)
public static void setCellClass(int factoryId)
public void setDoubleValue(double aDouble)
public void setEnabled(boolean flag)
public void setFont(NSFont fontObj)
public void setFormatter(NSFormatter newFormatter)
public void setStringValue(NSString aString)
public void setTarget(id anObject)
public void sizeToFit()
public NSString stringValue()
public id target()