Serialized Form
-
Package doodlepad
-
Class doodlepad.Pad
class Pad extends JFrame implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
actionListener
ActionListener actionListener
Inner class to handle action listener events -
background
Color background
Background color used to create the Pad on redraw -
clientConnections
ConcurrentHashMap<Integer,
doodlepad.Pad.ClientConnection> clientConnections -
componentListener
ComponentListener componentListener
Inner class to handle component listener events -
connectionCount
AtomicInteger connectionCount
-
cvs
JPanel cvs
Inner class extending JPanel and performing core paint operations -
dragging
boolean dragging
-
eventsEnabled
boolean eventsEnabled
Flag that keeps event enabled state -
hitHash
HashMap<Color,
ShapeMouseListener> hitHash This HashMap should not leak ShapeMouseListener objects because the HashMap is rebuilt every time the paint() method is called. -
hitImg
BufferedImage hitImg
In-memory image used to determine target shapes for mouse events. -
immediateMode
boolean immediateMode
If true, all graphical changes trigger a repaint -
keyListener
KeyListener keyListener
Inner class to handle key events -
keyListeners
List<PadKeyListener> keyListeners
-
keyPressedHandler
Pad.PadKeyEventHandler keyPressedHandler
-
keyReleasedHandler
Pad.PadKeyEventHandler keyReleasedHandler
-
keyTypedHandler
Pad.PadKeyTypedEventHandler keyTypedHandler
-
layers
List<Layer> layers
Layers on the Pad -
mouseClickedHandler
Pad.PadMouseEventHandler mouseClickedHandler
Private fields that hold event handlers assigned using method references. See for example setMouseClickedHandler() -
mouseDoubleClickedHandler
Pad.PadMouseEventHandler mouseDoubleClickedHandler
-
mouseDraggedHandler
Pad.PadMouseEventHandler mouseDraggedHandler
-
mouseEnteredHandler
Pad.PadMouseEventHandler mouseEnteredHandler
-
mouseExitedHandler
Pad.PadMouseEventHandler mouseExitedHandler
-
mouseListener
MouseListener mouseListener
Inner class to handle Pad mouse events -
mouseListeners
List<PadMouseListener> mouseListeners
-
mouseMotionListener
MouseMotionListener mouseMotionListener
Inner class to handle mouse motion listener events -
mouseMovedHandler
Pad.PadMouseEventHandler mouseMovedHandler
-
mousePressedHandler
Pad.PadMouseEventHandler mousePressedHandler
-
mouseReleasedHandler
Pad.PadMouseEventHandler mouseReleasedHandler
-
server
doodlepad.Pad.ServerHandler server
-
tickHandler
Pad.PadTimerEventHandler tickHandler
-
tickListeners
List<PadTickListener> tickListeners
Lists of custom listeners registered to receive events -
tickRate
double tickRate
The tick rate as ticks per second -
timer
Timer timer
Reference to a Timer object
-
-