Package org.eclipse.swt.internal.cocoa
Class NSCell
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSCell
- Direct Known Subclasses:
NSActionCell,NSBrowserCell,SWTTextAttachmentCell
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncellSize()cellSizeForBounds(NSRect aRect) longdrawingRectForBounds(NSRect theRect) voiddrawInteriorWithFrame(NSRect cellFrame, NSView controlView) voiddrawWithExpansionFrame(NSRect cellFrame, NSView view) expansionFrameWithFrame(NSRect cellFrame, NSView view) focusRingMaskBoundsForFrame(NSRect cellFrame, NSView controlView) font()highlightColorWithFrame(NSRect cellFrame, NSView controlView) longhitTestForEvent(NSEvent event, NSRect cellFrame, NSView controlView) image()imageRectForBounds(NSRect theRect) booleanbooleanlongvoidsetAlignment(long alignment) voidsetAllowsMixedState(boolean allowsMixedState) voidsetAttributedStringValue(NSAttributedString attributedStringValue) voidsetBackgroundStyle(long backgroundStyle) voidsetBaseWritingDirection(long baseWritingDirection) voidsetControlSize(long controlSize) voidsetEnabled(boolean enabled) voidvoidsetFormatter(NSFormatter formatter) voidsetHighlighted(boolean highlighted) voidvoidsetLineBreakMode(long lineBreakMode) voidsetObjectValue(id objectValue) voidsetScrollable(boolean scrollable) voidvoidsetUsesSingleLineMode(boolean usesSingleLineMode) voidsetWraps(boolean wraps) title()titleRectForBounds(NSRect theRect) booleanwraps()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, writeSelectionToPasteboardMethods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSCell
public NSCell() -
NSCell
public NSCell(long id) -
NSCell
-
-
Method Details
-
attributedStringValue
-
cellSize
-
cellSizeForBounds
-
controlSize
public long controlSize() -
drawInteriorWithFrame
-
drawWithExpansionFrame
-
drawingRectForBounds
-
expansionFrameWithFrame
-
focusRingMaskBoundsForFrame
-
font
-
highlightColorWithFrame
-
hitTestForEvent
-
image
-
imageRectForBounds
-
isEnabled
public boolean isEnabled() -
isHighlighted
public boolean isHighlighted() -
nextState
public long nextState() -
setAlignment
public void setAlignment(long alignment) -
setAllowsMixedState
public void setAllowsMixedState(boolean allowsMixedState) -
setAttributedStringValue
-
setBackgroundStyle
public void setBackgroundStyle(long backgroundStyle) -
setBaseWritingDirection
public void setBaseWritingDirection(long baseWritingDirection) -
setControlSize
public void setControlSize(long controlSize) -
setEnabled
public void setEnabled(boolean enabled) -
setFont
-
setFormatter
-
setHighlighted
public void setHighlighted(boolean highlighted) -
setImage
-
setLineBreakMode
public void setLineBreakMode(long lineBreakMode) -
setObjectValue
-
setScrollable
public void setScrollable(boolean scrollable) -
setTitle
-
setUsesSingleLineMode
public void setUsesSingleLineMode(boolean usesSingleLineMode) -
setWraps
public void setWraps(boolean wraps) -
title
-
titleRectForBounds
-
wraps
public boolean wraps()
-