FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing-doclet/ReferenceGenerator/test/seetags.java at main · processing/processing-doclet · GitHub
processing
processing-doclet
Repository navigation
Code
Issues
3
(3)
Pull requests
1
(1)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
processing-doclet
/
ReferenceGenerator
/
test
/
seetags.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
133 lines (115 loc) · 4.05 KB
Breadcrumbs
processing-doclet
/
ReferenceGenerator
/
test
/
seetags.java
Copy path
File metadata and controls
executable file
·
133 lines (115 loc) · 4.05 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2012-13 The Processing Foundation
Copyright (c) 2004-12 Ben Fry and Casey Reas
Copyright (c) 2001-04 Massachusetts Institute of Technology
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation, version 2.1.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
*/
package
processing
.
core
;
import
processing
.
data
.*;
import
processing
.
event
.*;
import
processing
.
event
.
Event
;
import
processing
.
opengl
.*;
import
java
.
applet
.*;
import
java
.
awt
.*;
import
java
.
awt
.
event
.
ComponentAdapter
;
import
java
.
awt
.
event
.
ComponentEvent
;
import
java
.
awt
.
event
.
FocusEvent
;
import
java
.
awt
.
event
.
FocusListener
;
import
java
.
awt
.
event
.
InputEvent
;
import
java
.
awt
.
event
.
KeyListener
;
import
java
.
awt
.
event
.
MouseAdapter
;
import
java
.
awt
.
event
.
MouseListener
;
import
java
.
awt
.
event
.
MouseMotionListener
;
import
java
.
awt
.
event
.
MouseWheelEvent
;
import
java
.
awt
.
event
.
MouseWheelListener
;
import
java
.
awt
.
event
.
WindowAdapter
;
import
java
.
awt
.
event
.
WindowEvent
;
import
java
.
awt
.
image
.*;
import
java
.
io
.*;
import
java
.
lang
.
reflect
.*;
import
java
.
net
.*;
import
java
.
text
.*;
import
java
.
util
.*;
import
java
.
util
.
regex
.*;
import
java
.
util
.
zip
.*;
import
javax
.
imageio
.
ImageIO
;
import
javax
.
swing
.
JFrame
;
import
javax
.
swing
.
JFileChooser
;
import
javax
.
swing
.
filechooser
.
FileSystemView
;
/**
* Stripped-down "source" for testing reference generator
* @usage Web & Application
*/
public
class
PApplet
extends
Applet
implements
PConstants
,
Runnable
,
MouseListener
,
MouseWheelListener
,
MouseMotionListener
,
KeyListener
,
FocusListener
{
/**
* ( begin auto-generated from mousePressed.xml )
*
* The <b>mousePressed()</b> function is called once after every time a
* mouse button is pressed. The <b>mouseButton</b> variable (see the
* related reference entry) can be used to determine which button has been pressed.
*
* ( end auto-generated )
* <h3>Advanced</h3>
*
* If you must, use
* int button = mouseEvent.getButton();
* to figure out which button was clicked. It will be one of:
* MouseEvent.BUTTON1, MouseEvent.BUTTON2, MouseEvent.BUTTON3
* Note, however, that this is completely inconsistent across
* platforms.
* @webref input:mouse
* @webDescription The <b>mousePressed()</b> function is called once after every time a
* mouse button is pressed. The <b>mouseButton</b> variable (see the
* related reference entry) can be used to determine which button has been pressed.
* @webExample examples1
*/
public
void
mousePressed
() { }
public
void
mousePressed
(
MouseEvent
event
) {
mousePressed
();
}
/**
* ( begin auto-generated from mouseDragged.xml )
*
* The <b>mouseDragged()</b> function is called once every time the mouse
* moves and a mouse button is pressed.
*
* ( end auto-generated )
* @webref input:mouse
* @webDescription test
* @webExample examples/example2.js
* @see PApplet#mousePressed
* @see PApplet#mousePressed()
*/
public
void
mouseDragged
() { }
public
void
mouseDragged
(
MouseEvent
event
) {
mouseDragged
();
}
/**
* ( begin auto-generated from mousePressed_var.xml )
*
* Variable storing if a mouse button is pressed. The value of the system
* variable <b>mousePressed</b> is true if a mouse button is pressed and
* false if a button is not pressed.
*
* ( end auto-generated )
* @webref input:mouse
* @webDescription test
* @webExample examples/example2.js
*/
public
boolean
mousePressed
;
}
Back
|
FazBrowse Home
|
New Git URL