Package org.eclipse.swt.internal.cocoa
Class NSButtonCell
- java.lang.Object
-
- org.eclipse.swt.internal.cocoa.id
-
- org.eclipse.swt.internal.cocoa.NSObject
-
- org.eclipse.swt.internal.cocoa.NSCell
-
- org.eclipse.swt.internal.cocoa.NSActionCell
-
- org.eclipse.swt.internal.cocoa.NSButtonCell
-
- Direct Known Subclasses:
SWTButtonCell
public class NSButtonCell extends NSActionCell
-
-
Constructor Summary
Constructors Constructor Description NSButtonCell()
NSButtonCell(long id)
NSButtonCell(id id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawBezelWithFrame(NSRect frame, NSView controlView)
void
drawImage(NSImage image, NSRect frame, NSView controlView)
NSRect
drawTitle(NSAttributedString title, NSRect frame, NSView controlView)
void
setBackgroundColor(NSColor backgroundColor)
void
setButtonType(long aType)
void
setHighlightsBy(long highlightsBy)
void
setImagePosition(long imagePosition)
NSString
title()
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSActionCell
action, setAction, setTarget, target
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSCell
attributedStringValue, cellSize, cellSizeForBounds, controlSize, drawingRectForBounds, drawInteriorWithFrame, drawWithExpansionFrame, expansionFrameWithFrame, focusRingMaskBoundsForFrame, font, hitTestForEvent, image, imageRectForBounds, isEnabled, isHighlighted, nextState, setAlignment, setAllowsMixedState, setAttributedStringValue, setBackgroundStyle, setBaseWritingDirection, setControlSize, setEnabled, setFont, setFormatter, setHighlighted, setImage, setLineBreakMode, setObjectValue, setScrollable, setTitle, setUsesSingleLineMode, setWraps, titleRectForBounds
-
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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSButtonCell
public NSButtonCell()
-
NSButtonCell
public NSButtonCell(long id)
-
NSButtonCell
public NSButtonCell(id id)
-
-
Method Detail
-
drawTitle
public NSRect drawTitle(NSAttributedString title, NSRect frame, NSView controlView)
-
setBackgroundColor
public void setBackgroundColor(NSColor backgroundColor)
-
setButtonType
public void setButtonType(long aType)
-
setHighlightsBy
public void setHighlightsBy(long highlightsBy)
-
setImagePosition
public void setImagePosition(long imagePosition)
-
-