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) voidbeginSheetModalForWindow(NSWindow window, id delegate, long didEndSelector, long contextInfo) longrunModal()voidsetAlertStyle(long alertStyle) voidsetMessageText(NSString messageText) window()Methods inherited from class 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, writeSelectionToPasteboardMethods inherited from class 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
-