Class NSCell

Direct Known Subclasses:
NSActionCell, NSBrowserCell, SWTTextAttachmentCell

public class NSCell extends NSObject
  • Constructor Details

    • NSCell

      public NSCell()
    • NSCell

      public NSCell(long id)
    • NSCell

      public NSCell(id id)
  • Method Details

    • attributedStringValue

      public NSAttributedString attributedStringValue()
    • cellSize

      public NSSize cellSize()
    • cellSizeForBounds

      public NSSize cellSizeForBounds(NSRect aRect)
    • controlSize

      public long controlSize()
    • drawInteriorWithFrame

      public void drawInteriorWithFrame(NSRect cellFrame, NSView controlView)
    • drawWithExpansionFrame

      public void drawWithExpansionFrame(NSRect cellFrame, NSView view)
    • drawingRectForBounds

      public NSRect drawingRectForBounds(NSRect theRect)
    • expansionFrameWithFrame

      public NSRect expansionFrameWithFrame(NSRect cellFrame, NSView view)
    • focusRingMaskBoundsForFrame

      public NSRect focusRingMaskBoundsForFrame(NSRect cellFrame, NSView controlView)
    • font

      public NSFont font()
    • highlightColorWithFrame

      public NSColor highlightColorWithFrame(NSRect cellFrame, NSView controlView)
    • hitTestForEvent

      public long hitTestForEvent(NSEvent event, NSRect cellFrame, NSView controlView)
    • image

      public NSImage image()
    • imageRectForBounds

      public NSRect imageRectForBounds(NSRect theRect)
    • 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

      public void setAttributedStringValue(NSAttributedString attributedStringValue)
    • 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

      public void setFont(NSFont font)
    • setFormatter

      public void setFormatter(NSFormatter formatter)
    • setHighlighted

      public void setHighlighted(boolean highlighted)
    • setImage

      public void setImage(NSImage image)
    • setLineBreakMode

      public void setLineBreakMode(long lineBreakMode)
    • setObjectValue

      public void setObjectValue(id objectValue)
    • setScrollable

      public void setScrollable(boolean scrollable)
    • setTitle

      public void setTitle(NSString title)
    • setUsesSingleLineMode

      public void setUsesSingleLineMode(boolean usesSingleLineMode)
    • setWraps

      public void setWraps(boolean wraps)
    • title

      public NSString title()
    • titleRectForBounds

      public NSRect titleRectForBounds(NSRect theRect)
    • wraps

      public boolean wraps()