propane 2.7.2-java → 2.8.0.pre-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +10 -0
- data/CHANGELOG.md +1 -1
- data/README.md +10 -8
- data/Rakefile +1 -1
- data/lib/propane/app.rb +3 -3
- data/lib/propane/version.rb +1 -1
- data/lib/{processing-core.jar → propane-2.8.0.jar} +0 -0
- data/library/control_panel/control_panel.rb +3 -2
- data/pom.rb +89 -88
- data/pom.xml +75 -46
- data/propane.gemspec +1 -2
- data/src/main/java/japplemenubar/JAppleMenuBar.java +88 -0
- data/src/main/java/japplemenubar/libjAppleMenuBar.jnilib +0 -0
- data/src/{monkstone → main/java/monkstone}/ColorUtil.java +0 -0
- data/src/{monkstone → main/java/monkstone}/MathToolModule.java +0 -0
- data/src/{monkstone → main/java/monkstone}/PropaneLibrary.java +0 -0
- data/src/{monkstone → main/java/monkstone}/core/LibraryProxy.java +0 -0
- data/src/{monkstone → main/java/monkstone}/fastmath/Deglut.java +0 -0
- data/src/{monkstone → main/java/monkstone}/fastmath/package-info.java +0 -0
- data/src/{monkstone → main/java/monkstone}/filechooser/Chooser.java +0 -0
- data/src/{monkstone → main/java/monkstone}/noise/SimplexNoise.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/CustomHorizontalSlider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/CustomVerticalSlider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/SimpleHorizontalSlider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/SimpleSlider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/SimpleVerticalSlider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/Slider.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/SliderBar.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/SliderGroup.java +0 -0
- data/src/{monkstone → main/java/monkstone}/slider/WheelHandler.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/AppRender.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/JRender.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/ShapeRender.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/package-info.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/vec2/Vec2.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/vec2/package-info.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/vec3/Vec3.java +0 -0
- data/src/{monkstone → main/java/monkstone}/vecmath/vec3/package-info.java +0 -0
- data/src/{monkstone → main/java/monkstone}/videoevent/VideoInterface.java +0 -0
- data/src/{monkstone → main/java/monkstone}/videoevent/package-info.java +0 -0
- data/src/main/java/processing/awt/PGraphicsJava2D.java +3029 -0
- data/src/main/java/processing/awt/PShapeJava2D.java +377 -0
- data/src/main/java/processing/awt/PSurfaceAWT.java +1567 -0
- data/src/main/java/processing/core/PApplet.java +15709 -0
- data/src/main/java/processing/core/PConstants.java +527 -0
- data/src/main/java/processing/core/PFont.java +1098 -0
- data/src/main/java/processing/core/PGraphics.java +8467 -0
- data/src/main/java/processing/core/PImage.java +3438 -0
- data/src/main/java/processing/core/PMatrix.java +208 -0
- data/src/main/java/processing/core/PMatrix2D.java +534 -0
- data/src/main/java/processing/core/PMatrix3D.java +877 -0
- data/src/main/java/processing/core/PShape.java +3445 -0
- data/src/main/java/processing/core/PShapeOBJ.java +469 -0
- data/src/main/java/processing/core/PShapeSVG.java +1787 -0
- data/src/main/java/processing/core/PStyle.java +63 -0
- data/src/main/java/processing/core/PSurface.java +161 -0
- data/src/main/java/processing/core/PSurfaceNone.java +374 -0
- data/src/main/java/processing/core/PVector.java +1063 -0
- data/src/main/java/processing/data/FloatDict.java +829 -0
- data/src/main/java/processing/data/FloatList.java +912 -0
- data/src/main/java/processing/data/IntDict.java +796 -0
- data/src/main/java/processing/data/IntList.java +913 -0
- data/src/main/java/processing/data/JSONArray.java +1260 -0
- data/src/main/java/processing/data/JSONObject.java +2282 -0
- data/src/main/java/processing/data/JSONTokener.java +435 -0
- data/src/main/java/processing/data/Sort.java +46 -0
- data/src/main/java/processing/data/StringDict.java +601 -0
- data/src/main/java/processing/data/StringList.java +775 -0
- data/src/main/java/processing/data/Table.java +4923 -0
- data/src/main/java/processing/data/TableRow.java +198 -0
- data/src/main/java/processing/data/XML.java +1149 -0
- data/src/main/java/processing/event/Event.java +125 -0
- data/src/main/java/processing/event/KeyEvent.java +70 -0
- data/src/main/java/processing/event/MouseEvent.java +149 -0
- data/src/main/java/processing/event/TouchEvent.java +57 -0
- data/src/main/java/processing/opengl/FontTexture.java +379 -0
- data/src/main/java/processing/opengl/FrameBuffer.java +503 -0
- data/src/main/java/processing/opengl/LinePath.java +623 -0
- data/src/main/java/processing/opengl/LineStroker.java +685 -0
- data/src/main/java/processing/opengl/PGL.java +3366 -0
- data/src/main/java/processing/opengl/PGraphics2D.java +615 -0
- data/src/main/java/processing/opengl/PGraphics3D.java +281 -0
- data/src/main/java/processing/opengl/PGraphicsOpenGL.java +13634 -0
- data/src/main/java/processing/opengl/PJOGL.java +1966 -0
- data/src/main/java/processing/opengl/PShader.java +1478 -0
- data/src/main/java/processing/opengl/PShapeOpenGL.java +5234 -0
- data/src/main/java/processing/opengl/PSurfaceJOGL.java +1315 -0
- data/src/main/java/processing/opengl/Texture.java +1670 -0
- data/src/main/java/processing/opengl/VertexBuffer.java +88 -0
- data/src/main/java/processing/opengl/cursors/arrow.png +0 -0
- data/src/main/java/processing/opengl/cursors/cross.png +0 -0
- data/src/main/java/processing/opengl/cursors/hand.png +0 -0
- data/src/main/java/processing/opengl/cursors/license.txt +27 -0
- data/src/main/java/processing/opengl/cursors/move.png +0 -0
- data/src/main/java/processing/opengl/cursors/text.png +0 -0
- data/src/main/java/processing/opengl/cursors/wait.png +0 -0
- data/src/main/java/processing/opengl/shaders/ColorFrag.glsl +32 -0
- data/src/main/java/processing/opengl/shaders/ColorVert.glsl +34 -0
- data/src/main/java/processing/opengl/shaders/LightFrag.glsl +33 -0
- data/src/main/java/processing/opengl/shaders/LightVert-vc4.glsl +154 -0
- data/src/main/java/processing/opengl/shaders/LightVert.glsl +151 -0
- data/src/main/java/processing/opengl/shaders/LineFrag.glsl +32 -0
- data/src/main/java/processing/opengl/shaders/LineVert.glsl +100 -0
- data/src/main/java/processing/opengl/shaders/MaskFrag.glsl +40 -0
- data/src/main/java/processing/opengl/shaders/PointFrag.glsl +32 -0
- data/src/main/java/processing/opengl/shaders/PointVert.glsl +56 -0
- data/src/main/java/processing/opengl/shaders/TexFrag.glsl +37 -0
- data/src/main/java/processing/opengl/shaders/TexLightFrag.glsl +37 -0
- data/src/main/java/processing/opengl/shaders/TexLightVert-vc4.glsl +160 -0
- data/src/main/java/processing/opengl/shaders/TexLightVert.glsl +157 -0
- data/src/main/java/processing/opengl/shaders/TexVert.glsl +38 -0
- data/src/main/resources/icon/icon-1024.png +0 -0
- data/src/main/resources/icon/icon-128.png +0 -0
- data/src/main/resources/icon/icon-16.png +0 -0
- data/src/main/resources/icon/icon-256.png +0 -0
- data/src/main/resources/icon/icon-32.png +0 -0
- data/src/main/resources/icon/icon-48.png +0 -0
- data/src/main/resources/icon/icon-512.png +0 -0
- data/src/main/resources/icon/icon-64.png +0 -0
- data/src/main/resources/license.txt +508 -0
- data/vendors/Rakefile +5 -20
- metadata +115 -33
- data/lib/propane.jar +0 -0
@@ -0,0 +1,198 @@
|
|
1
|
+
package processing.data;
|
2
|
+
|
3
|
+
import java.io.PrintWriter;
|
4
|
+
|
5
|
+
/**
|
6
|
+
* @webref data:composite
|
7
|
+
* @see Table
|
8
|
+
* @see Table#addRow()
|
9
|
+
* @see Table#removeRow(int)
|
10
|
+
* @see Table#clearRows()
|
11
|
+
* @see Table#getRow(int)
|
12
|
+
* @see Table#rows()
|
13
|
+
*/
|
14
|
+
public interface TableRow {
|
15
|
+
|
16
|
+
/**
|
17
|
+
* @webref tablerow:method
|
18
|
+
* @brief Get an String value from the specified column
|
19
|
+
* @param column ID number of the column to reference
|
20
|
+
* @see TableRow#getInt(int)
|
21
|
+
* @see TableRow#getFloat(int)
|
22
|
+
*/
|
23
|
+
public String getString(int column);
|
24
|
+
|
25
|
+
/**
|
26
|
+
* @param columnName title of the column to reference
|
27
|
+
*/
|
28
|
+
public String getString(String columnName);
|
29
|
+
|
30
|
+
/**
|
31
|
+
* @webref tablerow:method
|
32
|
+
* @brief Get an integer value from the specified column
|
33
|
+
* @param column ID number of the column to reference
|
34
|
+
* @see TableRow#getFloat(int)
|
35
|
+
* @see TableRow#getString(int)
|
36
|
+
*/
|
37
|
+
public int getInt(int column);
|
38
|
+
|
39
|
+
/**
|
40
|
+
* @param columnName title of the column to reference
|
41
|
+
*/
|
42
|
+
public int getInt(String columnName);
|
43
|
+
|
44
|
+
/**
|
45
|
+
* @brief Get a long value from the specified column
|
46
|
+
* @param column ID number of the column to reference
|
47
|
+
* @see TableRow#getFloat(int)
|
48
|
+
* @see TableRow#getString(int)
|
49
|
+
*/
|
50
|
+
|
51
|
+
public long getLong(int column);
|
52
|
+
|
53
|
+
/**
|
54
|
+
* @param columnName title of the column to reference
|
55
|
+
*/
|
56
|
+
public long getLong(String columnName);
|
57
|
+
|
58
|
+
/**
|
59
|
+
* @webref tablerow:method
|
60
|
+
* @brief Get a float value from the specified column
|
61
|
+
* @param column ID number of the column to reference
|
62
|
+
* @see TableRow#getInt(int)
|
63
|
+
* @see TableRow#getString(int)
|
64
|
+
*/
|
65
|
+
public float getFloat(int column);
|
66
|
+
|
67
|
+
/**
|
68
|
+
* @param columnName title of the column to reference
|
69
|
+
*/
|
70
|
+
public float getFloat(String columnName);
|
71
|
+
|
72
|
+
/**
|
73
|
+
* @brief Get a double value from the specified column
|
74
|
+
* @param column ID number of the column to reference
|
75
|
+
* @see TableRow#getInt(int)
|
76
|
+
* @see TableRow#getString(int)
|
77
|
+
*/
|
78
|
+
public double getDouble(int column);
|
79
|
+
|
80
|
+
/**
|
81
|
+
* @param columnName title of the column to reference
|
82
|
+
*/
|
83
|
+
public double getDouble(String columnName);
|
84
|
+
|
85
|
+
/**
|
86
|
+
* @webref tablerow:method
|
87
|
+
* @brief Store a String value in the specified column
|
88
|
+
* @param column ID number of the target column
|
89
|
+
* @param value value to assign
|
90
|
+
* @see TableRow#setInt(int, int)
|
91
|
+
* @see TableRow#setFloat(int, float)
|
92
|
+
*/
|
93
|
+
public void setString(int column, String value);
|
94
|
+
/**
|
95
|
+
* @param columnName title of the target column
|
96
|
+
*/
|
97
|
+
public void setString(String columnName, String value);
|
98
|
+
|
99
|
+
/**
|
100
|
+
* @webref tablerow:method
|
101
|
+
* @brief Store an integer value in the specified column
|
102
|
+
* @param column ID number of the target column
|
103
|
+
* @param value value to assign
|
104
|
+
* @see TableRow#setFloat(int, float)
|
105
|
+
* @see TableRow#setString(int, String)
|
106
|
+
*/
|
107
|
+
public void setInt(int column, int value);
|
108
|
+
|
109
|
+
/**
|
110
|
+
* @param columnName title of the target column
|
111
|
+
*/
|
112
|
+
public void setInt(String columnName, int value);
|
113
|
+
|
114
|
+
/**
|
115
|
+
* @brief Store a long value in the specified column
|
116
|
+
* @param column ID number of the target column
|
117
|
+
* @param value value to assign
|
118
|
+
* @see TableRow#setFloat(int, float)
|
119
|
+
* @see TableRow#setString(int, String)
|
120
|
+
*/
|
121
|
+
public void setLong(int column, long value);
|
122
|
+
|
123
|
+
/**
|
124
|
+
* @param columnName title of the target column
|
125
|
+
*/
|
126
|
+
public void setLong(String columnName, long value);
|
127
|
+
|
128
|
+
/**
|
129
|
+
* @webref tablerow:method
|
130
|
+
* @brief Store a float value in the specified column
|
131
|
+
* @param column ID number of the target column
|
132
|
+
* @param value value to assign
|
133
|
+
* @see TableRow#setInt(int, int)
|
134
|
+
* @see TableRow#setString(int, String)
|
135
|
+
*/
|
136
|
+
public void setFloat(int column, float value);
|
137
|
+
|
138
|
+
/**
|
139
|
+
* @param columnName title of the target column
|
140
|
+
*/
|
141
|
+
public void setFloat(String columnName, float value);
|
142
|
+
|
143
|
+
/**
|
144
|
+
* @brief Store a double value in the specified column
|
145
|
+
* @param column ID number of the target column
|
146
|
+
* @param value value to assign
|
147
|
+
* @see TableRow#setFloat(int, float)
|
148
|
+
* @see TableRow#setString(int, String)
|
149
|
+
*/
|
150
|
+
public void setDouble(int column, double value);
|
151
|
+
|
152
|
+
/**
|
153
|
+
* @param columnName title of the target column
|
154
|
+
*/
|
155
|
+
public void setDouble(String columnName, double value);
|
156
|
+
|
157
|
+
/**
|
158
|
+
* @webref tablerow:method
|
159
|
+
* @brief Get the column count.
|
160
|
+
* @return count of all columns
|
161
|
+
*/
|
162
|
+
public int getColumnCount();
|
163
|
+
|
164
|
+
/**
|
165
|
+
* @brief Get the column type.
|
166
|
+
* @param columnName title of the target column
|
167
|
+
* @return type of the column
|
168
|
+
*/
|
169
|
+
public int getColumnType(String columnName);
|
170
|
+
|
171
|
+
/**
|
172
|
+
* @param column ID number of the target column
|
173
|
+
*/
|
174
|
+
public int getColumnType(int column);
|
175
|
+
|
176
|
+
/**
|
177
|
+
* @brief Get the all column types
|
178
|
+
* @return list of all column types
|
179
|
+
*/
|
180
|
+
public int[] getColumnTypes();
|
181
|
+
|
182
|
+
/**
|
183
|
+
* @webref tablerow:method
|
184
|
+
* @brief Get the column title.
|
185
|
+
* @param column ID number of the target column
|
186
|
+
* @return title of the column
|
187
|
+
*/
|
188
|
+
public String getColumnTitle(int column);
|
189
|
+
|
190
|
+
/**
|
191
|
+
* @brief Get the all column titles
|
192
|
+
* @return list of all column titles
|
193
|
+
*/
|
194
|
+
public String[] getColumnTitles();
|
195
|
+
|
196
|
+
public void write(PrintWriter writer);
|
197
|
+
public void print();
|
198
|
+
}
|