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) long
drawingRectForBounds
(NSRect theRect) void
drawInteriorWithFrame
(NSRect cellFrame, NSView controlView) void
drawWithExpansionFrame
(NSRect cellFrame, NSView view) expansionFrameWithFrame
(NSRect cellFrame, NSView view) focusRingMaskBoundsForFrame
(NSRect cellFrame, NSView controlView) font()
highlightColorWithFrame
(NSRect cellFrame, NSView controlView) long
hitTestForEvent
(NSEvent event, NSRect cellFrame, NSView controlView) image()
imageRectForBounds
(NSRect theRect) boolean
boolean
long
void
setAlignment
(long alignment) void
setAllowsMixedState
(boolean allowsMixedState) void
setAttributedStringValue
(NSAttributedString attributedStringValue) void
setBackgroundStyle
(long backgroundStyle) void
setBaseWritingDirection
(long baseWritingDirection) void
setControlSize
(long controlSize) void
setEnabled
(boolean enabled) void
void
setFormatter
(NSFormatter formatter) void
setHighlighted
(boolean highlighted) void
void
setLineBreakMode
(long lineBreakMode) void
setObjectValue
(id objectValue) void
setScrollable
(boolean scrollable) void
void
setUsesSingleLineMode
(boolean usesSingleLineMode) void
setWraps
(boolean wraps) title()
titleRectForBounds
(NSRect theRect) boolean
wraps()
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
-
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()
-