/* Class530_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 Class530_Sub1 extends Class530
    implements MouseListener, MouseMotionListener, MouseWheelListener
{
    static final int anInt10424 = 4;
    static final int anInt10425 = 2;
    int anInt10426;
    int anInt10427;
    int anInt10428;
    int anInt10429;
    static final int anInt10430 = 1;
    int anInt10431;
    int anInt10432;
    Class656 aClass656_10433 = new Class656();
    Class656 aClass656_10434 = new Class656();
    Component aComponent10435;
    boolean aBool10436;
    
    public int method6481() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    Class530_Sub1(Component component, boolean bool) {
	method9566(component, -182995717);
	((Class530_Sub1) this).aBool10436 = bool;
    }
    
    void method9563(byte i) {
	if (((Class530_Sub1) this).aComponent10435 != null) {
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseWheelListener(this);
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseMotionListener(this);
	    ((Class530_Sub1) this).aComponent10435.removeMouseListener(this);
	    ((Class530_Sub1) this).aComponent10435 = null;
	    ((Class530_Sub1) this).anInt10427 = 0;
	    ((Class530_Sub1) this).anInt10428 = 0;
	    ((Class530_Sub1) this).anInt10426 = 0;
	    ((Class530_Sub1) this).anInt10429 = 0;
	    ((Class530_Sub1) this).anInt10432 = 0;
	    ((Class530_Sub1) this).anInt10431 = 0;
	    ((Class530_Sub1) this).aClass656_10433 = null;
	    ((Class530_Sub1) this).aClass656_10434 = null;
	}
    }
    
    void method9564(int i, int i_0_, byte i_1_) {
	((Class530_Sub1) this).anInt10431 = i * -461382467;
	((Class530_Sub1) this).anInt10432 = 2018023535 * i_0_;
	if (((Class530_Sub1) this).aBool10436)
	    method9568(-1, i, i_0_, 0, 287199374);
    }
    
    public synchronized void mouseWheelMoved(MouseWheelEvent mousewheelevent) {
	int i = mousewheelevent.getX();
	int i_2_ = mousewheelevent.getY();
	int i_3_ = mousewheelevent.getWheelRotation();
	method9568(6, i, i_2_, i_3_, 287199374);
	mousewheelevent.consume();
    }
    
    void method9565() {
	if (((Class530_Sub1) this).aComponent10435 != null) {
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseWheelListener(this);
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseMotionListener(this);
	    ((Class530_Sub1) this).aComponent10435.removeMouseListener(this);
	    ((Class530_Sub1) this).aComponent10435 = null;
	    ((Class530_Sub1) this).anInt10427 = 0;
	    ((Class530_Sub1) this).anInt10428 = 0;
	    ((Class530_Sub1) this).anInt10426 = 0;
	    ((Class530_Sub1) this).anInt10429 = 0;
	    ((Class530_Sub1) this).anInt10432 = 0;
	    ((Class530_Sub1) this).anInt10431 = 0;
	    ((Class530_Sub1) this).aClass656_10433 = null;
	    ((Class530_Sub1) this).aClass656_10434 = null;
	}
    }
    
    void method9566(Component component, int i) {
	method9563((byte) -113);
	((Class530_Sub1) this).aComponent10435 = component;
	((Class530_Sub1) this).aComponent10435.addMouseListener(this);
	((Class530_Sub1) this).aComponent10435.addMouseMotionListener(this);
	((Class530_Sub1) this).aComponent10435.addMouseWheelListener(this);
    }
    
    public boolean method6474(int i) {
	return 0 != (((Class530_Sub1) this).anInt10427 * 2019702199 & 0x1);
    }
    
    public boolean method6493(int i) {
	return 0 != (((Class530_Sub1) this).anInt10427 * 2019702199 & 0x2);
    }
    
    public synchronized void mouseEntered(MouseEvent mouseevent) {
	method9564(mouseevent.getX(), mouseevent.getY(), (byte) -23);
    }
    
    public synchronized void method6475() {
	((Class530_Sub1) this).anInt10426
	    = ((Class530_Sub1) this).anInt10431 * 2096487931;
	((Class530_Sub1) this).anInt10428
	    = ((Class530_Sub1) this).anInt10432 * -1511048785;
	((Class530_Sub1) this).anInt10427
	    = 173223953 * ((Class530_Sub1) this).anInt10429;
	Class656 class656 = ((Class530_Sub1) this).aClass656_10433;
	((Class530_Sub1) this).aClass656_10433
	    = ((Class530_Sub1) this).aClass656_10434;
	((Class530_Sub1) this).aClass656_10434 = class656;
	((Class530_Sub1) this).aClass656_10434.method7797((byte) -64);
    }
    
    public int method6479(int i) {
	return -763832031 * ((Class530_Sub1) this).anInt10428;
    }
    
    public void method6489(int i) {
	method9563((byte) -79);
    }
    
    public synchronized void mouseClicked(MouseEvent mouseevent) {
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    public boolean method6491(int i) {
	return 0 != (2019702199 * ((Class530_Sub1) this).anInt10427 & 0x4);
    }
    
    public synchronized void mouseExited(MouseEvent mouseevent) {
	method9564(mouseevent.getX(), mouseevent.getY(), (byte) -50);
    }
    
    public int method6478(int i) {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    int method9567(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 mouseReleased(MouseEvent mouseevent) {
	int i = method9567(mouseevent, -1753131746);
	if (0 == (-118693593 * ((Class530_Sub1) this).anInt10429 & i))
	    i = ((Class530_Sub1) this).anInt10429 * -118693593;
	if (0 != (i & 0x1))
	    method9568(3, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	if ((i & 0x4) != 0)
	    method9568(5, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	if (0 != (i & 0x2))
	    method9568(4, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	((Class530_Sub1) this).anInt10429
	    = (((Class530_Sub1) this).anInt10429 * -118693593
	       & (i ^ 0xffffffff)) * 1016757911;
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    public synchronized void mouseDragged(MouseEvent mouseevent) {
	method9564(mouseevent.getX(), mouseevent.getY(), (byte) 89);
    }
    
    public synchronized void mouseMoved(MouseEvent mouseevent) {
	method9564(mouseevent.getX(), mouseevent.getY(), (byte) -34);
    }
    
    public Class487_Sub33 method6480(byte i) {
	return ((Class487_Sub33)
		((Class530_Sub1) this).aClass656_10433.method7792(1371064556));
    }
    
    public int method6490() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    public boolean method6482() {
	return 0 != (((Class530_Sub1) this).anInt10427 * 2019702199 & 0x1);
    }
    
    public boolean method6492() {
	return 0 != (((Class530_Sub1) this).anInt10427 * 2019702199 & 0x1);
    }
    
    public boolean method6484() {
	return 0 != (((Class530_Sub1) this).anInt10427 * 2019702199 & 0x2);
    }
    
    public void method6494() {
	method9563((byte) -87);
    }
    
    public boolean method6486() {
	return 0 != (2019702199 * ((Class530_Sub1) this).anInt10427 & 0x4);
    }
    
    public boolean method6485() {
	return 0 != (2019702199 * ((Class530_Sub1) this).anInt10427 & 0x4);
    }
    
    public int method6472() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    public int method6501() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    void method9568(int i, int i_4_, int i_5_, int i_6_, int i_7_) {
	Class487_Sub33_Sub2 class487_sub33_sub2
	    = Class637_Sub19.method9774(i, i_4_, i_5_,
					Class222.method3225(1792861420), i_6_,
					-203221184);
	((Class530_Sub1) this).aClass656_10434.method7791(class487_sub33_sub2,
							  (byte) 3);
    }
    
    public synchronized void mousePressed(MouseEvent mouseevent) {
	int i = method9567(mouseevent, 1314113495);
	if (i == 1)
	    method9568(0, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	else if (4 == i)
	    method9568(2, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	else if (2 == i)
	    method9568(1, mouseevent.getX(), mouseevent.getY(),
		       mouseevent.getClickCount(), 287199374);
	((Class530_Sub1) this).anInt10429
	    = ((-118693593 * ((Class530_Sub1) this).anInt10429 | i)
	       * 1016757911);
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    public int method6476() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    public int method6496() {
	return -763832031 * ((Class530_Sub1) this).anInt10428;
    }
    
    public int method6497() {
	return -763832031 * ((Class530_Sub1) this).anInt10428;
    }
    
    public Class487_Sub33 method6498() {
	return ((Class487_Sub33)
		((Class530_Sub1) this).aClass656_10433.method7792(609016323));
    }
    
    public Class487_Sub33 method6499() {
	return (Class487_Sub33) ((Class530_Sub1) this).aClass656_10433
				    .method7792(-1743197659);
    }
    
    public Class487_Sub33 method6500() {
	return (Class487_Sub33) ((Class530_Sub1) this).aClass656_10433
				    .method7792(-2096989726);
    }
    
    public int method6495() {
	return 1188413615 * ((Class530_Sub1) this).anInt10426;
    }
    
    public synchronized void method6473(int i) {
	((Class530_Sub1) this).anInt10426
	    = ((Class530_Sub1) this).anInt10431 * 2096487931;
	((Class530_Sub1) this).anInt10428
	    = ((Class530_Sub1) this).anInt10432 * -1511048785;
	((Class530_Sub1) this).anInt10427
	    = 173223953 * ((Class530_Sub1) this).anInt10429;
	Class656 class656 = ((Class530_Sub1) this).aClass656_10433;
	((Class530_Sub1) this).aClass656_10433
	    = ((Class530_Sub1) this).aClass656_10434;
	((Class530_Sub1) this).aClass656_10434 = class656;
	((Class530_Sub1) this).aClass656_10434.method7797((byte) -64);
    }
    
    void method9569() {
	if (((Class530_Sub1) this).aComponent10435 != null) {
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseWheelListener(this);
	    ((Class530_Sub1) this).aComponent10435
		.removeMouseMotionListener(this);
	    ((Class530_Sub1) this).aComponent10435.removeMouseListener(this);
	    ((Class530_Sub1) this).aComponent10435 = null;
	    ((Class530_Sub1) this).anInt10427 = 0;
	    ((Class530_Sub1) this).anInt10428 = 0;
	    ((Class530_Sub1) this).anInt10426 = 0;
	    ((Class530_Sub1) this).anInt10429 = 0;
	    ((Class530_Sub1) this).anInt10432 = 0;
	    ((Class530_Sub1) this).anInt10431 = 0;
	    ((Class530_Sub1) this).aClass656_10433 = null;
	    ((Class530_Sub1) this).aClass656_10434 = null;
	}
    }
}
