blob: fd4d0bb87df8a589758bc23fab79238c30fff852 [file] [log] [blame]
/*
* Copyright (c) 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
*
* Andre Weinand, OTI - Initial version
*/
package org.eclipse.swt.internal.carbon;
public class MacControlEvent {
private int fControlhandle;
private int fPartCode;
private boolean fMouseDown;
private int fDamageRegion;
public MacControlEvent(int handle, int partCode, boolean mouseDown) {
fControlhandle= handle;
fPartCode= partCode;
fMouseDown= mouseDown;
}
public MacControlEvent(int handle, int damageRegion) {
fControlhandle= handle;
fDamageRegion= damageRegion;
}
public int getControlHandle() {
return fControlhandle;
}
public int getPartCode() {
return fPartCode;
}
public int getDamageRegionHandle() {
return fDamageRegion;
}
public boolean isMouseDown() {
return fMouseDown;
}
}