Skip to content

Commit 65b4212

Browse files
committed
Creating site for 1.0.0-SNAPSHOT
1 parent 08c0f32 commit 65b4212

File tree

111 files changed

+7759
-2812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+7759
-2812
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<module rename-to="dygraphsgwtsample">
2+
<inherits name="com.github.timeu.DygraphsGWT"/>
3+
<inherits name="com.google.gwt.user.User"/>
4+
<inherits name="com.googlecode.gwt.charts.Charts"/>
5+
<source path="client"/>
6+
<entry-point class="sample.client.SampleEntryPoint"/>
7+
</module>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cellListOddItem,.cellListEvenItem{
2+
padding:5px;
3+
border-bottom:1px solid #ccc;
4+
}
Binary file not shown.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package sample.client;
2+
3+
import com.google.gwt.core.client.GWT;
4+
import com.google.gwt.resources.client.ClientBundle;
5+
import com.google.gwt.resources.client.TextResource;
6+
7+
/**
8+
* Created by uemit.seren on 8/5/15.
9+
*/
10+
public interface DataClientBundle extends ClientBundle {
11+
12+
DataClientBundle INSTANCE = GWT.create(DataClientBundle.class);
13+
14+
@Source("data/stockData.csv")
15+
TextResource stockData();
16+
17+
}
38.8 KB
Binary file not shown.

WEB-INF/classes/sample/client/DataUtils.java

Lines changed: 1523 additions & 0 deletions
Large diffs are not rendered by default.
1.11 KB
Binary file not shown.
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package sample.client;
2+
3+
import com.google.gwt.user.client.ui.IsWidget;
4+
5+
/**
6+
* Created by uemit.seren on 7/29/15.
7+
*/
8+
public class ExampleInfo {
9+
10+
private final String example;
11+
private final IsWidget widget;
12+
private final String nameToken;
13+
14+
public ExampleInfo(String example, IsWidget widget) {
15+
this(example,widget,null);
16+
}
17+
18+
public ExampleInfo(String example, IsWidget widget, String nameToken) {
19+
this.example = example;
20+
this.widget = widget;
21+
this.nameToken = nameToken;
22+
}
23+
24+
public String getExample() {
25+
return example;
26+
}
27+
28+
public IsWidget getWidget() {
29+
return widget;
30+
}
31+
32+
public String getNameToken() {
33+
if (nameToken != null && !nameToken.isEmpty()) {
34+
return nameToken;
35+
}
36+
return example;
37+
}
38+
}
441 Bytes
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
package sample.client;
2+
3+
import com.google.gwt.user.client.ui.SimpleLayoutPanel;
4+
5+
/**
6+
* Created by uemit.seren on 7/29/15.
7+
*/
8+
public class ExampleWidget extends SimpleLayoutPanel {
9+
10+
private final ExampleInfo exampleInfo;
11+
12+
13+
public ExampleWidget(ExampleInfo exampleInfo) {
14+
this.exampleInfo = exampleInfo;
15+
}
16+
17+
18+
}

0 commit comments

Comments
 (0)