Package org.eclipse.swt.internal.cocoa
Class NSAlert
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSAlert
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddButtonWithTitle
(NSString title) void
beginSheetModalForWindow
(NSWindow window, id delegate, long didEndSelector, long contextInfo) long
runModal()
void
setAlertStyle
(long alertStyle) void
setMessageText
(NSString messageText) window()
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
-
NSAlert
public NSAlert() -
NSAlert
public NSAlert(long id) -
NSAlert
-
-
Method Details
-
addButtonWithTitle
-
beginSheetModalForWindow
-
runModal
public long runModal() -
setAlertStyle
public void setAlertStyle(long alertStyle) -
setMessageText
-
window
-