Skip to content

Commit 49a02fe

Browse files
committed
Removed cloud storage package and further improvements
1 parent b3bae00 commit 49a02fe

File tree

14 files changed

+26
-2332
lines changed

14 files changed

+26
-2332
lines changed

CodenameOne/src/com/codename1/capture/Capture.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public static boolean hasCamera() {
7474
* @param response a callback Object to retrieve the file path
7575
* @throws RuntimeException if this feature failed or unsupported on the platform
7676
*/
77-
public static void capturePhoto(ActionListener response) {
77+
public static void capturePhoto(ActionListener<ActionEvent> response) {
7878
Display.getInstance().capturePhoto(response);
7979
}
8080

@@ -193,7 +193,7 @@ public static String capturePhoto(int width, int height) {
193193
* @param response a callback Object to retrieve the file path
194194
* @throws RuntimeException if this feature failed or unsupported on the platform
195195
*/
196-
public static void captureAudio(ActionListener response) {
196+
public static void captureAudio(ActionListener<ActionEvent> response) {
197197
Display.getInstance().captureAudio(response);
198198
}
199199

@@ -210,7 +210,7 @@ public static void captureAudio(ActionListener response) {
210210
* @throws RuntimeException if this feature failed or unsupported on the platform
211211
* @since 7.0
212212
*/
213-
public static void captureAudio(MediaRecorderBuilder recorderOptions, ActionListener response) {
213+
public static void captureAudio(MediaRecorderBuilder recorderOptions, ActionListener<ActionEvent> response) {
214214
Display.getInstance().captureAudio(recorderOptions, response);
215215
}
216216

@@ -224,7 +224,7 @@ public static void captureAudio(MediaRecorderBuilder recorderOptions, ActionList
224224
* @param response a callback Object to retrieve the file path
225225
* @since 7.0
226226
*/
227-
public static void captureVideo(VideoCaptureConstraints constraints, ActionListener response) {
227+
public static void captureVideo(VideoCaptureConstraints constraints, ActionListener<ActionEvent> response) {
228228
Display.getInstance().captureVideo(constraints, response);
229229
}
230230

@@ -241,11 +241,11 @@ public static void captureVideo(VideoCaptureConstraints constraints, ActionListe
241241
* @throws RuntimeException if this feature failed or unsupported on the platform
242242
* @see #captureVideo(com.codename1.capture.VideoCaptureConstraints, com.codename1.ui.events.ActionListener)
243243
*/
244-
public static void captureVideo(ActionListener response) {
244+
public static void captureVideo(ActionListener<ActionEvent> response) {
245245
Display.getInstance().captureVideo(response);
246246
}
247247

248-
static class CallBack implements ActionListener, Runnable {
248+
static class CallBack implements ActionListener<ActionEvent>, Runnable {
249249
String url;
250250
private boolean completed;
251251
private int targetWidth = -1;
@@ -259,7 +259,7 @@ public void actionPerformed(ActionEvent evt) {
259259
}
260260
completed = true;
261261
synchronized (this) {
262-
this.notify();
262+
this.notifyAll();
263263
}
264264
}
265265

CodenameOne/src/com/codename1/charts/views/BubbleChart.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727
import java.util.List;
2828

2929

30-
/**
31-
* Displays series of {@link XYValueSeries} entries as proportional bubbles on
32-
* top of an {@link XYChart} plot.
33-
* <p>
34-
* Combine the chart with an {@link XYMultipleSeriesDataset} that contains one
35-
* or more {@link XYValueSeries} instances and supply an
36-
* {@link XYMultipleSeriesRenderer}. The resulting {@code BubbleChart} can be
37-
* wrapped in a {@link com.codename1.charts.ChartComponent} to embed it inside a
38-
* Codename One UI.
39-
*/
40-
public class BubbleChart extends XYChart {
30+
/**
31+
* Displays series of {@link XYValueSeries} entries as proportional bubbles on
32+
* top of an {@link XYChart} plot.
33+
* <p>
34+
* Combine the chart with an {@link XYMultipleSeriesDataset} that contains one
35+
* or more {@link XYValueSeries} instances and supply an
36+
* {@link XYMultipleSeriesRenderer}. The resulting {@code BubbleChart} can be
37+
* wrapped in a {@link com.codename1.charts.ChartComponent} to embed it inside a
38+
* Codename One UI.
39+
*/
40+
public class BubbleChart extends XYChart {
4141
/** The constant to identify this chart type. */
4242
public static final String TYPE = "Bubble";
4343
/** The legend shape width. */
@@ -66,8 +66,8 @@ public BubbleChart(XYMultipleSeriesDataset dataset, XYMultipleSeriesRenderer ren
6666
* @param canvas the canvas to paint to
6767
* @param paint the paint to be used for drawing
6868
* @param points the array of points to be used for drawing the series
69-
* @param seriesRenderer the series renderer
70-
* @param yAxisValue the minimum value of the y axis
69+
* @param renderer the series renderer
70+
* @param yAxisValue the minimum value of the y-axis
7171
* @param seriesIndex the index of the series currently being drawn
7272
* @param startIndex the start index of the rendering points
7373
*/

CodenameOne/src/com/codename1/cloud/BindTarget.java

Lines changed: 0 additions & 43 deletions
This file was deleted.

CodenameOne/src/com/codename1/cloud/CloudException.java

Lines changed: 0 additions & 52 deletions
This file was deleted.

CodenameOne/src/com/codename1/cloud/CloudImageProperty.java

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)