diff options
author | Veronika Irvine <veronika> | 2002-10-30 23:19:06 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2002-10-30 23:19:06 +0000 |
commit | e9b9610a8d12f5925f58291260d62a8f4c2a1d2d (patch) | |
tree | 361a83f5eb408476738da21ded5cce4dcd19dd94 /bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java | |
parent | 60bdd070c5ec14c10c91df7cde237b89fddc0025 (diff) | |
download | eclipse.platform.swt-e9b9610a8d12f5925f58291260d62a8f4c2a1d2d.tar.gz eclipse.platform.swt-e9b9610a8d12f5925f58291260d62a8f4c2a1d2d.tar.xz eclipse.platform.swt-e9b9610a8d12f5925f58291260d62a8f4c2a1d2d.zip |
*** empty log message ***carbon_work_v1
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java new file mode 100644 index 0000000000..a488b26219 --- /dev/null +++ b/bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java @@ -0,0 +1,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(); +} +} |