Class MouseBallFrame
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----BallFrame
|
+----MouseBallFrame
- public class MouseBallFrame
- extends BallFrame
-
mx
-
-
my
-
-
out
-
-
MouseBallFrame(Socket, String)
-
-
finalize()
-
-
mouseDown(Event, int, int)
-
-
mouseDrag(Event, int, int)
-
-
send(String)
-
-
sendAbs(int, int)
-
-
sendRel(int, int)
-
out
protected PrintWriter out
mx
protected int mx
my
protected int my
MouseBallFrame
public MouseBallFrame(Socket socket,
String name)
send
public void send(String line)
sendAbs
public void sendAbs(int x,
int y)
sendRel
public void sendRel(int x,
int y)
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Overrides:
- mouseDown in class Component
mouseDrag
public boolean mouseDrag(Event e,
int x,
int y)
- Overrides:
- mouseDrag in class Component
finalize
public void finalize()
- Overrides:
- finalize in class Object