aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2009-01-02 14:40:19 +0000
committerArtur Signell <artur.signell@itmill.com>2009-01-02 14:40:19 +0000
commitd9a13c237889ba32830edb27ad34c4d9ea2f180b (patch)
treed1bda61bf6de5b5b3724eb99f2618861fb45abcb /src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java
parent19636fc0509e45d3bcedf4d7ba92670fdea4630d (diff)
downloadvaadin-framework-d9a13c237889ba32830edb27ad34c4d9ea2f180b.tar.gz
vaadin-framework-d9a13c237889ba32830edb27ad34c4d9ea2f180b.zip
Cleaned up the whole project
svn changeset:6398/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java')
-rw-r--r--src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java b/src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java
index 380131a653..da2c13c060 100644
--- a/src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java
+++ b/src/com/itmill/toolkit/tests/featurebrowser/FeatureEmbedded.java
@@ -16,6 +16,7 @@ public class FeatureEmbedded extends Feature {
super();
}
+ @Override
protected Component getDemoComponent() {
final OrderedLayout l = new OrderedLayout();
@@ -66,12 +67,14 @@ public class FeatureEmbedded extends Feature {
return l;
}
+ @Override
protected String getExampleSrc() {
return "// Load image from jpg-file, that is in the same package with the application\n"
+ "Embedded e = new Embedded(\"Image title\",\n"
+ " new ClassResource(\"image.jpg\", getApplication()));";
}
+ @Override
protected String getDescriptionXHTML() {
return "The embedding feature allows for adding images, multimedia and other non-specified "
+ "content to your application. "
@@ -79,10 +82,12 @@ public class FeatureEmbedded extends Feature {
+ "Actual support for embedded media types is left to the terminal.";
}
+ @Override
protected String getImage() {
return "icon_demo.png";
}
+ @Override
protected String getTitle() {
return "Embedded";
}