Package org.eclipse.swt.internal.cocoa
Class NSBox
- java.lang.Object
-
- org.eclipse.swt.internal.cocoa.id
-
- org.eclipse.swt.internal.cocoa.NSObject
-
- org.eclipse.swt.internal.cocoa.NSResponder
-
- org.eclipse.swt.internal.cocoa.NSView
-
- org.eclipse.swt.internal.cocoa.NSBox
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
borderWidth()
NSView
contentView()
NSSize
contentViewMargins()
void
setBorderType(long borderType)
void
setBorderWidth(double borderWidth)
void
setBoxType(long boxType)
void
setContentView(NSView contentView)
void
setContentViewMargins(NSSize contentViewMargins)
void
setFillColor(NSColor fillColor)
void
setFrameFromContentFrame(NSRect contentFrame)
void
setTitle(NSString title)
void
setTitleFont(NSFont titleFont)
void
setTitlePosition(long titlePosition)
NSCell
titleCell()
NSFont
titleFont()
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSView
acceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bitmapImageRepForCachingDisplayInRect, bounds, cacheDisplayInRect, canBecomeKeyView, convertPoint_fromView_, convertPoint_toView_, convertRect_fromView_, convertRect_toView_, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, layer, lockFocus, lockFocusIfCanDraw, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRect, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setBoundsSize, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, window
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSResponder
acceptsFirstResponder, becomeFirstResponder, cancelOperation, cursorUpdate, doCommandBySelector, flagsChanged, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, pageDown, pageUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, swipeWithEvent, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, undoManager, validRequestorForSendType
-
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
-
NSBox
public NSBox()
-
NSBox
public NSBox(long id)
-
NSBox
public NSBox(id id)
-
-
Method Detail
-
borderWidth
public double borderWidth()
-
contentView
public NSView contentView()
-
contentViewMargins
public NSSize contentViewMargins()
-
setBorderType
public void setBorderType(long borderType)
-
setBorderWidth
public void setBorderWidth(double borderWidth)
-
setBoxType
public void setBoxType(long boxType)
-
setContentView
public void setContentView(NSView contentView)
-
setContentViewMargins
public void setContentViewMargins(NSSize contentViewMargins)
-
setFillColor
public void setFillColor(NSColor fillColor)
-
setFrameFromContentFrame
public void setFrameFromContentFrame(NSRect contentFrame)
-
setTitle
public void setTitle(NSString title)
-
setTitleFont
public void setTitleFont(NSFont titleFont)
-
setTitlePosition
public void setTitlePosition(long titlePosition)
-
titleCell
public NSCell titleCell()
-
titleFont
public NSFont titleFont()
-
-