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
-
public class NSAlert extends NSObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NSButton
addButtonWithTitle(NSString title)
void
beginSheetModalForWindow(NSWindow window, id delegate, long didEndSelector, long contextInfo)
long
runModal()
void
setAlertStyle(long alertStyle)
void
setIcon(NSImage icon)
void
setMessageText(NSString messageText)
NSPanel
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, 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
-
NSAlert
public NSAlert()
-
NSAlert
public NSAlert(long id)
-
NSAlert
public NSAlert(id id)
-
-
Method Detail
-
beginSheetModalForWindow
public void beginSheetModalForWindow(NSWindow window, id delegate, long didEndSelector, long contextInfo)
-
runModal
public long runModal()
-
setAlertStyle
public void setAlertStyle(long alertStyle)
-
setIcon
public void setIcon(NSImage icon)
-
setMessageText
public void setMessageText(NSString messageText)
-
window
public NSPanel window()
-
-