summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java
blob: a488b26219b4e39514c0ccb37338b03d086761fa (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package org.eclipse.swt.widgets;

/*
 * Copyright (c) 2000, 2002 IBM Corp.  All rights reserved.
 * This file is made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 */

public class Canvas extends Composite {

Canvas () {
	/* Do nothing */
}

public Canvas (Composite parent, int style) {
	super (parent, style);
}


void redrawWidget (int x, int y, int width, int height, boolean all) {
}

void releaseWidget () {
	super.releaseWidget();
}

public void scroll (int destX, int destY, int x, int y, int width, int height, boolean all) {
	checkWidget();
}

public void setBounds (int x, int y, int width, int height) {
	checkWidget();
}

public void setLocation (int x, int y) {
	checkWidget();
}

public void setSize (int width, int height) {
	checkWidget();
}
}