blob: a9214ecf06945e24c5d6de49f8449811bf184a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package org.eclipse.swt.internal.cocoa;
public class NSViewAnimation extends NSAnimation {
public NSViewAnimation() {
super();
}
public NSViewAnimation(int id) {
super(id);
}
public id initWithViewAnimations(NSArray viewAnimations) {
int result = OS.objc_msgSend(this.id, OS.sel_initWithViewAnimations_1, viewAnimations != null ? viewAnimations.id : 0);
return result != 0 ? new id(result) : null;
}
public void setViewAnimations(NSArray viewAnimations) {
OS.objc_msgSend(this.id, OS.sel_setViewAnimations_1, viewAnimations != null ? viewAnimations.id : 0);
}
public NSArray viewAnimations() {
int result = OS.objc_msgSend(this.id, OS.sel_viewAnimations);
return result != 0 ? new NSArray(result) : null;
}
}
|