Skip to content

Commit

Permalink
Renamed GUI components.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmihajlovski committed May 8, 2016
1 parent 0e9a952 commit 43328b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion rapidoid-commons/src/main/resources/rapidoid-classes.txt
Expand Up @@ -199,6 +199,7 @@ org.rapidoid.gui.HighlightGrid
org.rapidoid.gui.HtmlPage org.rapidoid.gui.HtmlPage
org.rapidoid.gui.HtmlPageUtils org.rapidoid.gui.HtmlPageUtils
org.rapidoid.gui.I18N org.rapidoid.gui.I18N
org.rapidoid.gui.InfiniteStream
org.rapidoid.gui.KVGrid org.rapidoid.gui.KVGrid
org.rapidoid.gui.Layout org.rapidoid.gui.Layout
org.rapidoid.gui.menu.AbstractPageMenuItem org.rapidoid.gui.menu.AbstractPageMenuItem
Expand All @@ -217,7 +218,6 @@ org.rapidoid.gui.Snippet
org.rapidoid.gui.var.LocalVar org.rapidoid.gui.var.LocalVar
org.rapidoid.gui.var.PostedDataVar org.rapidoid.gui.var.PostedDataVar
org.rapidoid.gui.var.WidgetVar org.rapidoid.gui.var.WidgetVar
org.rapidoid.gui.VStream
org.rapidoid.html.BasicUtils org.rapidoid.html.BasicUtils
org.rapidoid.html.Cmd org.rapidoid.html.Cmd
org.rapidoid.html.CustomTag org.rapidoid.html.CustomTag
Expand Down
8 changes: 4 additions & 4 deletions rapidoid-gui/src/main/java/org/rapidoid/gui/GUI.java
Expand Up @@ -776,14 +776,14 @@ public static Layout layout(Iterable<?> contents) {
} }


public static Snippet snippet(String code) { public static Snippet snippet(String code) {
return new Snippet(code); return Cls.customizable(Snippet.class, code);
} }


public static VStream stream(Object ngTemplate) { public static InfiniteStream infinite() {
return Cls.customizable(VStream.class).template(ngTemplate); return Cls.customizable(InfiniteStream.class);
} }


public static Object values(Object... values) { public static Layout values(Object... values) {
List<Object> list = U.list(); List<Object> list = U.list();


for (Object value : values) { for (Object value : values) {
Expand Down
Expand Up @@ -29,8 +29,8 @@
import org.rapidoid.u.U; import org.rapidoid.u.U;


@Authors("Nikolche Mihajlovski") @Authors("Nikolche Mihajlovski")
@Since("2.3.0") @Since("5.1.0")
public class VStream extends AbstractWidget<VStream> { public class InfiniteStream extends AbstractWidget<InfiniteStream> {


private volatile Object template; private volatile Object template;


Expand Down Expand Up @@ -92,7 +92,7 @@ public Object template() {
return template; return template;
} }


public VStream template(Object template) { public InfiniteStream template(Object template) {
this.template = template; this.template = template;
return this; return this;
} }
Expand All @@ -101,7 +101,7 @@ public String dataUrl() {
return dataUrl; return dataUrl;
} }


public VStream dataUrl(String dataUrl) { public InfiniteStream dataUrl(String dataUrl) {
this.dataUrl = dataUrl; this.dataUrl = dataUrl;
return this; return this;
} }
Expand All @@ -110,7 +110,7 @@ public int cols() {
return cols; return cols;
} }


public VStream cols(int cols) { public InfiniteStream cols(int cols) {
this.cols = cols; this.cols = cols;
return this; return this;
} }
Expand All @@ -119,7 +119,7 @@ public String rowClass() {
return rowClass; return rowClass;
} }


public VStream rowClass(String rowClass) { public InfiniteStream rowClass(String rowClass) {
this.rowClass = rowClass; this.rowClass = rowClass;
return this; return this;
} }
Expand Down

0 comments on commit 43328b4

Please sign in to comment.