/* Class569_Sub1 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Component;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;

public class Class569_Sub1 extends Class569 implements MouseListener, MouseMotionListener, MouseWheelListener {
	Class413 aClass413_8493 = new Class413();
	int anInt8494;
	static final int anInt8495 = 4;
	int anInt8496;
	int anInt8497;
	int anInt8498;
	static final int anInt8499 = 2;
	int anInt8500;
	int anInt8501;
	static final int anInt8502 = 1;
	Class413 aClass413_8503 = new Class413();
	Component aComponent8504;
	boolean aBool8505;

	public synchronized void mouseDragged(MouseEvent mouseevent) {
		method14479(mouseevent.getX(), mouseevent.getY(), 2057883219);
	}

	Class569_Sub1(Component component, boolean bool) {
		method14478(component, 1299677873);
		((Class569_Sub1) this).aBool8505 = bool;
	}

	void method14478(Component component, int i) {
		method14482(-1298932909);
		((Class569_Sub1) this).aComponent8504 = component;
		((Class569_Sub1) this).aComponent8504.addMouseListener(this);
		((Class569_Sub1) this).aComponent8504.addMouseMotionListener(this);
		((Class569_Sub1) this).aComponent8504.addMouseWheelListener(this);
	}

	public boolean method12306() {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	void method14479(int i, int i_0_, int i_1_) {
		((Class569_Sub1) this).anInt8500 = i * 1642764041;
		((Class569_Sub1) this).anInt8501 = i_0_ * -288044687;
		if (((Class569_Sub1) this).aBool8505)
			method14484(-1, i, i_0_, 0, (byte) 1);
	}

	public boolean method12312(int i) {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	public synchronized void method12307(int i) {
		((Class569_Sub1) this).anInt8496 = -7154075 * ((Class569_Sub1) this).anInt8500;
		((Class569_Sub1) this).anInt8494 = 1817359593 * ((Class569_Sub1) this).anInt8501;
		((Class569_Sub1) this).anInt8498 = -166752325 * ((Class569_Sub1) this).anInt8497;
		Class413 class413 = ((Class569_Sub1) this).aClass413_8493;
		((Class569_Sub1) this).aClass413_8493 = ((Class569_Sub1) this).aClass413_8503;
		((Class569_Sub1) this).aClass413_8503 = class413;
		((Class569_Sub1) this).aClass413_8503.method7336(-539905366);
	}

	public boolean method12308(int i) {
		return 0 != (((Class569_Sub1) this).anInt8498 * 592342897 & 0x1);
	}

	void method14480(int i, int i_2_) {
		((Class569_Sub1) this).anInt8500 = i * 1642764041;
		((Class569_Sub1) this).anInt8501 = i_2_ * -288044687;
		if (((Class569_Sub1) this).aBool8505)
			method14484(-1, i, i_2_, 0, (byte) 1);
	}

	public void method12337() {
		method14482(994070424);
	}

	public int method12334(int i) {
		return ((Class569_Sub1) this).anInt8496 * 1387791941;
	}

	public int method12321(int i) {
		return -607845271 * ((Class569_Sub1) this).anInt8494;
	}

	public void method12338(int i) {
		method14482(-926800174);
	}

	public synchronized void mouseClicked(MouseEvent mouseevent) {
		if (mouseevent.isPopupTrigger())
			mouseevent.consume();
	}

	public boolean method12309(int i) {
		return 0 != (((Class569_Sub1) this).anInt8498 * 592342897 & 0x2);
	}

	public synchronized void mouseExited(MouseEvent mouseevent) {
		method14479(mouseevent.getX(), mouseevent.getY(), -630281844);
	}

	int method14481(MouseEvent mouseevent, int i) {
		if (mouseevent.getButton() == 1) {
			if (mouseevent.isMetaDown())
				return 4;
			return 1;
		}
		if (mouseevent.getButton() == 2)
			return 2;
		if (mouseevent.getButton() == 3)
			return 4;
		return 0;
	}

	public synchronized void mousePressed(MouseEvent mouseevent) {
		int i = method14481(mouseevent, -55044484);
		if (i == 1)
			method14484(0, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		else if (4 == i)
			method14484(2, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		else if (2 == i)
			method14484(1, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		((Class569_Sub1) this).anInt8497 = (-1205172597 * ((Class569_Sub1) this).anInt8497 | i) * 405614883;
		if (mouseevent.isPopupTrigger())
			mouseevent.consume();
	}

	public synchronized void mouseMoved(MouseEvent mouseevent) {
		method14479(mouseevent.getX(), mouseevent.getY(), 1953972961);
	}

	public int method12331() {
		return ((Class569_Sub1) this).anInt8496 * 1387791941;
	}

	public int method12327() {
		return ((Class569_Sub1) this).anInt8496 * 1387791941;
	}

	public synchronized void mouseWheelMoved(MouseWheelEvent mousewheelevent) {
		int i = mousewheelevent.getX();
		int i_3_ = mousewheelevent.getY();
		int i_4_ = mousewheelevent.getWheelRotation();
		method14484(6, i, i_3_, i_4_, (byte) 1);
		mousewheelevent.consume();
	}

	public synchronized void method12320() {
		((Class569_Sub1) this).anInt8496 = -7154075 * ((Class569_Sub1) this).anInt8500;
		((Class569_Sub1) this).anInt8494 = 1817359593 * ((Class569_Sub1) this).anInt8501;
		((Class569_Sub1) this).anInt8498 = -166752325 * ((Class569_Sub1) this).anInt8497;
		Class413 class413 = ((Class569_Sub1) this).aClass413_8493;
		((Class569_Sub1) this).aClass413_8493 = ((Class569_Sub1) this).aClass413_8503;
		((Class569_Sub1) this).aClass413_8503 = class413;
		((Class569_Sub1) this).aClass413_8503.method7336(1937384929);
	}

	public Class587_Sub32 method12313(int i) {
		return ((Class587_Sub32) ((Class569_Sub1) this).aClass413_8493.method7338(653082739));
	}

	public synchronized void method12314() {
		((Class569_Sub1) this).anInt8496 = -7154075 * ((Class569_Sub1) this).anInt8500;
		((Class569_Sub1) this).anInt8494 = 1817359593 * ((Class569_Sub1) this).anInt8501;
		((Class569_Sub1) this).anInt8498 = -166752325 * ((Class569_Sub1) this).anInt8497;
		Class413 class413 = ((Class569_Sub1) this).aClass413_8493;
		((Class569_Sub1) this).aClass413_8493 = ((Class569_Sub1) this).aClass413_8503;
		((Class569_Sub1) this).aClass413_8503 = class413;
		((Class569_Sub1) this).aClass413_8503.method7336(-884370467);
	}

	public boolean method12323() {
		return 0 != (((Class569_Sub1) this).anInt8498 * 592342897 & 0x2);
	}

	public boolean method12324() {
		return 0 != (((Class569_Sub1) this).anInt8498 * 592342897 & 0x2);
	}

	void method14482(int i) {
		if (null != ((Class569_Sub1) this).aComponent8504) {
			((Class569_Sub1) this).aComponent8504.removeMouseWheelListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseMotionListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseListener(this);
			((Class569_Sub1) this).aComponent8504 = null;
			((Class569_Sub1) this).anInt8498 = 0;
			((Class569_Sub1) this).anInt8494 = 0;
			((Class569_Sub1) this).anInt8496 = 0;
			((Class569_Sub1) this).anInt8497 = 0;
			((Class569_Sub1) this).anInt8501 = 0;
			((Class569_Sub1) this).anInt8500 = 0;
			((Class569_Sub1) this).aClass413_8493 = null;
			((Class569_Sub1) this).aClass413_8503 = null;
		}
	}

	public boolean method12326() {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	void method14483(int i, int i_5_, int i_6_, int i_7_) {
		Class587_Sub32_Sub2 class587_sub32_sub2 = Class450.method8068(i, i_5_, i_6_, Class121.method2891(357587112), i_7_, -1507296735);
		((Class569_Sub1) this).aClass413_8503.method7337(class587_sub32_sub2, -653713008);
	}

	void method14484(int i, int i_8_, int i_9_, int i_10_, byte i_11_) {
		Class587_Sub32_Sub2 class587_sub32_sub2 = Class450.method8068(i, i_8_, i_9_, Class121.method2891(-1386162064), i_10_, -1507296735);
		((Class569_Sub1) this).aClass413_8503.method7337(class587_sub32_sub2, -2033797640);
	}

	public boolean method12310() {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	public int method12330() {
		return ((Class569_Sub1) this).anInt8496 * 1387791941;
	}

	public boolean method12332() {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	public synchronized void method12333() {
		((Class569_Sub1) this).anInt8496 = -7154075 * ((Class569_Sub1) this).anInt8500;
		((Class569_Sub1) this).anInt8494 = 1817359593 * ((Class569_Sub1) this).anInt8501;
		((Class569_Sub1) this).anInt8498 = -166752325 * ((Class569_Sub1) this).anInt8497;
		Class413 class413 = ((Class569_Sub1) this).aClass413_8493;
		((Class569_Sub1) this).aClass413_8493 = ((Class569_Sub1) this).aClass413_8503;
		((Class569_Sub1) this).aClass413_8503 = class413;
		((Class569_Sub1) this).aClass413_8503.method7336(1787645013);
	}

	public int method12328() {
		return ((Class569_Sub1) this).anInt8496 * 1387791941;
	}

	public int method12317() {
		return -607845271 * ((Class569_Sub1) this).anInt8494;
	}

	public Class587_Sub32 method12335() {
		return ((Class587_Sub32) ((Class569_Sub1) this).aClass413_8493.method7338(-811535377));
	}

	public void method12336() {
		method14482(-588967612);
	}

	public synchronized void mouseReleased(MouseEvent mouseevent) {
		int i = method14481(mouseevent, 1039506617);
		if (0 == (((Class569_Sub1) this).anInt8497 * -1205172597 & i))
			i = ((Class569_Sub1) this).anInt8497 * -1205172597;
		if ((i & 0x1) != 0)
			method14484(3, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		if (0 != (i & 0x4))
			method14484(5, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		if (0 != (i & 0x2))
			method14484(4, mouseevent.getX(), mouseevent.getY(), mouseevent.getClickCount(), (byte) 1);
		((Class569_Sub1) this).anInt8497 = 405614883 * (((Class569_Sub1) this).anInt8497 * -1205172597 & (i ^ 0xffffffff));
		if (mouseevent.isPopupTrigger())
			mouseevent.consume();
	}

	public void method12329() {
		method14482(790631310);
	}

	void method14485(Component component) {
		method14482(-327017951);
		((Class569_Sub1) this).aComponent8504 = component;
		((Class569_Sub1) this).aComponent8504.addMouseListener(this);
		((Class569_Sub1) this).aComponent8504.addMouseMotionListener(this);
		((Class569_Sub1) this).aComponent8504.addMouseWheelListener(this);
	}

	void method14486() {
		if (null != ((Class569_Sub1) this).aComponent8504) {
			((Class569_Sub1) this).aComponent8504.removeMouseWheelListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseMotionListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseListener(this);
			((Class569_Sub1) this).aComponent8504 = null;
			((Class569_Sub1) this).anInt8498 = 0;
			((Class569_Sub1) this).anInt8494 = 0;
			((Class569_Sub1) this).anInt8496 = 0;
			((Class569_Sub1) this).anInt8497 = 0;
			((Class569_Sub1) this).anInt8501 = 0;
			((Class569_Sub1) this).anInt8500 = 0;
			((Class569_Sub1) this).aClass413_8493 = null;
			((Class569_Sub1) this).aClass413_8503 = null;
		}
	}

	void method14487() {
		if (null != ((Class569_Sub1) this).aComponent8504) {
			((Class569_Sub1) this).aComponent8504.removeMouseWheelListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseMotionListener(this);
			((Class569_Sub1) this).aComponent8504.removeMouseListener(this);
			((Class569_Sub1) this).aComponent8504 = null;
			((Class569_Sub1) this).anInt8498 = 0;
			((Class569_Sub1) this).anInt8494 = 0;
			((Class569_Sub1) this).anInt8496 = 0;
			((Class569_Sub1) this).anInt8497 = 0;
			((Class569_Sub1) this).anInt8501 = 0;
			((Class569_Sub1) this).anInt8500 = 0;
			((Class569_Sub1) this).aClass413_8493 = null;
			((Class569_Sub1) this).aClass413_8503 = null;
		}
	}

	void method14488(int i, int i_12_, int i_13_, int i_14_) {
		Class587_Sub32_Sub2 class587_sub32_sub2 = Class450.method8068(i, i_12_, i_13_, Class121.method2891(-180990427), i_14_, -1507296735);
		((Class569_Sub1) this).aClass413_8503.method7337(class587_sub32_sub2, -147008196);
	}

	public boolean method12325() {
		return (((Class569_Sub1) this).anInt8498 * 592342897 & 0x4) != 0;
	}

	public synchronized void mouseEntered(MouseEvent mouseevent) {
		method14479(mouseevent.getX(), mouseevent.getY(), 1434078105);
	}

	public boolean method12339() {
		return 0 != (((Class569_Sub1) this).anInt8498 * 592342897 & 0x1);
	}

	int method14489(MouseEvent mouseevent) {
		if (mouseevent.getButton() == 1) {
			if (mouseevent.isMetaDown())
				return 4;
			return 1;
		}
		if (mouseevent.getButton() == 2)
			return 2;
		if (mouseevent.getButton() == 3)
			return 4;
		return 0;
	}
}
