|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSAlert
public abstract class NSAlert
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static class |
NSAlert._class_
|
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
NSObject._static_ |
Constructor Summary | |
---|---|
NSAlert()
|
Method Summary | |
---|---|
abstract NSButton |
addButtonWithTitle(NSString title)
customize the buttons in the alert panel. |
static NSAlert |
alertWithError(NSError error)
Given an NSError, create an NSAlert that can be used to present the error to the user. |
static NSAlert |
alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat(NSString message,
NSString defaultButton,
NSString alternateButton,
NSString otherButton,
NSString format,
NSObject... varargs)
the following class method is for use by apps migrating from the C-based API. |
static NSAlert |
alloc()
|
abstract NSArray |
buttons()
get the buttons, where the rightmost button is at index 0. |
static NSAlert._class_ |
getNSClass()
|
abstract NSImage |
icon()
Original signature : -(NSImage*)icon native declaration : NSAlert.h:82 |
abstract NSString |
informativeText()
Original signature : -(NSString*)informativeText native declaration : NSAlert.h:77 |
abstract NSString |
messageText()
Original signature : -(NSString*)messageText native declaration : NSAlert.h:76 |
static NSAlert |
new_()
|
abstract void |
setIcon(NSImage icon)
customize the icon. |
abstract void |
setInformativeText(NSString informativeText)
Original signature : -(void)setInformativeText:(NSString*) native declaration : NSAlert.h:74 |
abstract void |
setMessageText(NSString messageText)
Original signature : -(void)setMessageText:(NSString*) native declaration : NSAlert.h:73 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.rococoa.ObjCObject |
---|
id |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
---|
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Constructor Detail |
---|
public NSAlert()
Method Detail |
---|
public static NSAlert alertWithError(NSError error)
+(NSAlert*)alertWithError:(NSError*)
public static NSAlert alertWithMessageText_defaultButton_alternateButton_otherButton_informativeTextWithFormat(NSString message, NSString defaultButton, NSString alternateButton, NSString otherButton, NSString format, NSObject... varargs)
+(NSAlert*)alertWithMessageText:(NSString*) defaultButton:(NSString*) alternateButton:(NSString*) otherButton:(NSString*) informativeTextWithFormat:(NSString*), ...
public abstract void setMessageText(NSString messageText)
-(void)setMessageText:(NSString*)
public abstract void setInformativeText(NSString informativeText)
-(void)setInformativeText:(NSString*)
public abstract NSString messageText()
-(NSString*)messageText
public abstract NSString informativeText()
-(NSString*)informativeText
public abstract void setIcon(NSImage icon)
-(void)setIcon:(NSImage*)
public abstract NSImage icon()
-(NSImage*)icon
public abstract NSButton addButtonWithTitle(NSString title)
-(NSButton*)addButtonWithTitle:(NSString*)
public abstract NSArray buttons()
-(NSArray*)buttons
public static NSAlert alloc()
public static NSAlert new_()
public static NSAlert._class_ getNSClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |