/* Class570_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 Class570_Sub1 extends Class570
    implements MouseListener, MouseMotionListener, MouseWheelListener
{
    static final int anInt8565 = 1;
    static final int anInt8566 = 4;
    int anInt8567;
    int anInt8568;
    int anInt8569;
    int anInt8570;
    Component aComponent8571;
    int anInt8572;
    Class420 aClass420_8573 = new Class420();
    int anInt8574;
    Class420 aClass420_8575 = new Class420();
    static final int anInt8576 = 2;
    boolean aBool8577;
    
    public boolean method12589(byte i) {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x4);
    }
    
    void method14480(Component component, int i) {
	method14481((byte) -56);
	((Class570_Sub1) this).aComponent8571 = component;
	((Class570_Sub1) this).aComponent8571.addMouseListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseMotionListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseWheelListener(this);
    }
    
    void method14481(byte i) {
	if (null == ((Class570_Sub1) this).aComponent8571) {
	    if (i >= 2) {
		/* empty */
	    }
	} else {
	    ((Class570_Sub1) this).aComponent8571
		.removeMouseWheelListener(this);
	    ((Class570_Sub1) this).aComponent8571
		.removeMouseMotionListener(this);
	    ((Class570_Sub1) this).aComponent8571.removeMouseListener(this);
	    ((Class570_Sub1) this).aComponent8571 = null;
	    ((Class570_Sub1) this).anInt8570 = 0;
	    ((Class570_Sub1) this).anInt8569 = 0;
	    ((Class570_Sub1) this).anInt8568 = 0;
	    ((Class570_Sub1) this).anInt8574 = 0;
	    ((Class570_Sub1) this).anInt8572 = 0;
	    ((Class570_Sub1) this).anInt8567 = 0;
	    ((Class570_Sub1) this).aClass420_8573 = null;
	    ((Class570_Sub1) this).aClass420_8575 = null;
	}
    }
    
    void method14482(int i, int i_0_, int i_1_, int i_2_, byte i_3_) {
	Class243_Sub16_Sub2 class243_sub16_sub2
	    = Class421_Sub26.method14449(i, i_0_, i_1_,
					 Class46.method1238(284946732), i_2_,
					 (byte) 36);
	((Class570_Sub1) this).aClass420_8575.method7495(class243_sub16_sub2,
							 -1426606448);
    }
    
    void method14483(int i, int i_4_, int i_5_) {
	((Class570_Sub1) this).anInt8567 = 227095871 * i;
	((Class570_Sub1) this).anInt8572 = -1162736603 * i_4_;
	if (((Class570_Sub1) this).aBool8577)
	    method14482(-1, i, i_4_, 0, (byte) -39);
    }
    
    public Class243_Sub16 method12593(int i) {
	return ((Class243_Sub16)
		((Class570_Sub1) this).aClass420_8573.method7458(-991022420));
    }
    
    public synchronized void method12586(int i) {
	((Class570_Sub1) this).anInt8568
	    = ((Class570_Sub1) this).anInt8567 * 2084368499;
	((Class570_Sub1) this).anInt8569
	    = ((Class570_Sub1) this).anInt8572 * -296805149;
	((Class570_Sub1) this).anInt8570
	    = -926037385 * ((Class570_Sub1) this).anInt8574;
	Class420 class420 = ((Class570_Sub1) this).aClass420_8573;
	((Class570_Sub1) this).aClass420_8573
	    = ((Class570_Sub1) this).aClass420_8575;
	((Class570_Sub1) this).aClass420_8575 = class420;
	((Class570_Sub1) this).aClass420_8575.method7457(654208576);
    }
    
    Class570_Sub1(Component component, boolean bool) {
	method14480(component, 1441154718);
	((Class570_Sub1) this).aBool8577 = bool;
    }
    
    void method14484(int i, int i_6_, int i_7_, int i_8_) {
	Class243_Sub16_Sub2 class243_sub16_sub2
	    = Class421_Sub26.method14449(i, i_6_, i_7_,
					 Class46.method1238(1403634592), i_8_,
					 (byte) 26);
	((Class570_Sub1) this).aClass420_8575.method7495(class243_sub16_sub2,
							 -1623519306);
    }
    
    public synchronized void method12595() {
	((Class570_Sub1) this).anInt8568
	    = ((Class570_Sub1) this).anInt8567 * 2084368499;
	((Class570_Sub1) this).anInt8569
	    = ((Class570_Sub1) this).anInt8572 * -296805149;
	((Class570_Sub1) this).anInt8570
	    = -926037385 * ((Class570_Sub1) this).anInt8574;
	Class420 class420 = ((Class570_Sub1) this).aClass420_8573;
	((Class570_Sub1) this).aClass420_8573
	    = ((Class570_Sub1) this).aClass420_8575;
	((Class570_Sub1) this).aClass420_8575 = class420;
	((Class570_Sub1) this).aClass420_8575.method7457(1920528727);
    }
    
    public int method12591(int i) {
	return ((Class570_Sub1) this).anInt8568 * 1093121413;
    }
    
    public int method12615(int i) {
	return ((Class570_Sub1) this).anInt8569 * -455920081;
    }
    
    public boolean method12587(byte i) {
	return 0 != (250280331 * ((Class570_Sub1) this).anInt8570 & 0x1);
    }
    
    public synchronized void mouseClicked(MouseEvent mouseevent) {
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    public int method12601() {
	return ((Class570_Sub1) this).anInt8569 * -455920081;
    }
    
    public synchronized void mouseExited(MouseEvent mouseevent) {
	method14483(mouseevent.getX(), mouseevent.getY(), -2105259893);
    }
    
    public void method12600() {
	method14481((byte) -6);
    }
    
    public synchronized void mousePressed(MouseEvent mouseevent) {
	int i = method14485(mouseevent, -1954217105);
	if (i == 1)
	    method14482(0, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) 5);
	else if (i == 4)
	    method14482(2, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) 0);
	else if (i == 2)
	    method14482(1, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) -60);
	((Class570_Sub1) this).anInt8574
	    = (-999248483 * ((Class570_Sub1) this).anInt8574 | i) * -666484555;
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    int method14485(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 boolean method12588(int i) {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x2);
    }
    
    public synchronized void mouseMoved(MouseEvent mouseevent) {
	method14483(mouseevent.getX(), mouseevent.getY(), -1971683785);
    }
    
    public synchronized void mouseWheelMoved(MouseWheelEvent mousewheelevent) {
	int i = mousewheelevent.getX();
	int i_9_ = mousewheelevent.getY();
	int i_10_ = mousewheelevent.getWheelRotation();
	method14482(6, i, i_9_, i_10_, (byte) 5);
	mousewheelevent.consume();
    }
    
    public void method12594(byte i) {
	method14481((byte) -70);
    }
    
    public synchronized void method12602() {
	((Class570_Sub1) this).anInt8568
	    = ((Class570_Sub1) this).anInt8567 * 2084368499;
	((Class570_Sub1) this).anInt8569
	    = ((Class570_Sub1) this).anInt8572 * -296805149;
	((Class570_Sub1) this).anInt8570
	    = -926037385 * ((Class570_Sub1) this).anInt8574;
	Class420 class420 = ((Class570_Sub1) this).aClass420_8573;
	((Class570_Sub1) this).aClass420_8573
	    = ((Class570_Sub1) this).aClass420_8575;
	((Class570_Sub1) this).aClass420_8575 = class420;
	((Class570_Sub1) this).aClass420_8575.method7457(1366667571);
    }
    
    public synchronized void method12603() {
	((Class570_Sub1) this).anInt8568
	    = ((Class570_Sub1) this).anInt8567 * 2084368499;
	((Class570_Sub1) this).anInt8569
	    = ((Class570_Sub1) this).anInt8572 * -296805149;
	((Class570_Sub1) this).anInt8570
	    = -926037385 * ((Class570_Sub1) this).anInt8574;
	Class420 class420 = ((Class570_Sub1) this).aClass420_8573;
	((Class570_Sub1) this).aClass420_8573
	    = ((Class570_Sub1) this).aClass420_8575;
	((Class570_Sub1) this).aClass420_8575 = class420;
	((Class570_Sub1) this).aClass420_8575.method7457(320947959);
    }
    
    public boolean method12604() {
	return 0 != (250280331 * ((Class570_Sub1) this).anInt8570 & 0x1);
    }
    
    public synchronized void mouseReleased(MouseEvent mouseevent) {
	int i = method14485(mouseevent, -422074442);
	if (0 == (-999248483 * ((Class570_Sub1) this).anInt8574 & i))
	    i = ((Class570_Sub1) this).anInt8574 * -999248483;
	if ((i & 0x1) != 0)
	    method14482(3, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) -10);
	if ((i & 0x4) != 0)
	    method14482(5, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) -48);
	if ((i & 0x2) != 0)
	    method14482(4, mouseevent.getX(), mouseevent.getY(),
			mouseevent.getClickCount(), (byte) 10);
	((Class570_Sub1) this).anInt8574
	    = (-999248483 * ((Class570_Sub1) this).anInt8574
	       & (i ^ 0xffffffff)) * -666484555;
	if (mouseevent.isPopupTrigger())
	    mouseevent.consume();
    }
    
    public boolean method12609() {
	return 0 != (250280331 * ((Class570_Sub1) this).anInt8570 & 0x1);
    }
    
    public boolean method12592() {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x2);
    }
    
    public boolean method12608() {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x2);
    }
    
    public boolean method12618() {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x4);
    }
    
    public boolean method12607() {
	return 0 != (((Class570_Sub1) this).anInt8570 * 250280331 & 0x4);
    }
    
    public int method12612() {
	return ((Class570_Sub1) this).anInt8568 * 1093121413;
    }
    
    public Class243_Sub16 method12599() {
	return ((Class243_Sub16)
		((Class570_Sub1) this).aClass420_8573.method7458(89817416));
    }
    
    public int method12616() {
	return ((Class570_Sub1) this).anInt8569 * -455920081;
    }
    
    public int method12614() {
	return ((Class570_Sub1) this).anInt8568 * 1093121413;
    }
    
    public int method12605() {
	return ((Class570_Sub1) this).anInt8568 * 1093121413;
    }
    
    public synchronized void mouseEntered(MouseEvent mouseevent) {
	method14483(mouseevent.getX(), mouseevent.getY(), -2128954571);
    }
    
    public int method12617() {
	return ((Class570_Sub1) this).anInt8569 * -455920081;
    }
    
    public void method12619() {
	method14481((byte) -56);
    }
    
    public synchronized void mouseDragged(MouseEvent mouseevent) {
	method14483(mouseevent.getX(), mouseevent.getY(), -2085779709);
    }
    
    public int method12613() {
	return ((Class570_Sub1) this).anInt8568 * 1093121413;
    }
    
    void method14486(Component component) {
	method14481((byte) -13);
	((Class570_Sub1) this).aComponent8571 = component;
	((Class570_Sub1) this).aComponent8571.addMouseListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseMotionListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseWheelListener(this);
    }
    
    void method14487(Component component) {
	method14481((byte) -15);
	((Class570_Sub1) this).aComponent8571 = component;
	((Class570_Sub1) this).aComponent8571.addMouseListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseMotionListener(this);
	((Class570_Sub1) this).aComponent8571.addMouseWheelListener(this);
    }
    
    void method14488() {
	if (null != ((Class570_Sub1) this).aComponent8571) {
	    ((Class570_Sub1) this).aComponent8571
		.removeMouseWheelListener(this);
	    ((Class570_Sub1) this).aComponent8571
		.removeMouseMotionListener(this);
	    ((Class570_Sub1) this).aComponent8571.removeMouseListener(this);
	    ((Class570_Sub1) this).aComponent8571 = null;
	    ((Class570_Sub1) this).anInt8570 = 0;
	    ((Class570_Sub1) this).anInt8569 = 0;
	    ((Class570_Sub1) this).anInt8568 = 0;
	    ((Class570_Sub1) this).anInt8574 = 0;
	    ((Class570_Sub1) this).anInt8572 = 0;
	    ((Class570_Sub1) this).anInt8567 = 0;
	    ((Class570_Sub1) this).aClass420_8573 = null;
	    ((Class570_Sub1) this).aClass420_8575 = null;
	}
    }
    
    void method14489(int i, int i_11_, int i_12_, int i_13_) {
	Class243_Sub16_Sub2 class243_sub16_sub2
	    = Class421_Sub26.method14449(i, i_11_, i_12_,
					 Class46.method1238(763750880), i_13_,
					 (byte) 59);
	((Class570_Sub1) this).aClass420_8575.method7495(class243_sub16_sub2,
							 174531613);
    }
    
    public boolean method12585() {
	return 0 != (250280331 * ((Class570_Sub1) this).anInt8570 & 0x1);
    }
    
    void method14490(int i, int i_14_) {
	((Class570_Sub1) this).anInt8567 = 227095871 * i;
	((Class570_Sub1) this).anInt8572 = -1162736603 * i_14_;
	if (((Class570_Sub1) this).aBool8577)
	    method14482(-1, i, i_14_, 0, (byte) -117);
    }
    
    int method14491(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;
    }
    
    static final void method14492(Class479 class479, byte i) {
	int i_15_ = (((Class479) class479).anIntArray6435
		     [((((Class479) class479).anInt6442 -= -1158629699)
		       * -117934955)]);
	((Class479) class479).anObjectArray6437
	    [(((Class479) class479).anInt6432 += -1049632545) * -611591393 - 1]
	    = ((Class479) class479).aClass355_6446.aStringArray5444[i_15_];
    }
}
