summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.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/FeaturePanel.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/FeaturePanel.java')
-rw-r--r--src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.java b/src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.java
index 1aa4510d87..21006c7ecf 100644
--- a/src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.java
+++ b/src/com/itmill/toolkit/tests/featurebrowser/FeaturePanel.java
@@ -17,6 +17,7 @@ public class FeaturePanel extends Feature {
super();
}
+ @Override
protected Component getDemoComponent() {
final OrderedLayout l = new OrderedLayout();
@@ -44,12 +45,14 @@ public class FeaturePanel extends Feature {
return l;
}
+ @Override
protected String getExampleSrc() {
return "Panel show = new Panel(\"Panel caption\");\n"
+ "show.addComponent(new Label(\"This is an example Label component that is added into Panel.\"));";
}
+ @Override
protected String getDescriptionXHTML() {
return "Panel is a container for other components, by default it draws a frame around it's "
+ "extremities and may have a caption to clarify the nature of the contained components' purpose."
@@ -57,10 +60,12 @@ public class FeaturePanel extends Feature {
+ "this layout may be switched on the fly.";
}
+ @Override
protected String getImage() {
return "icon_demo.png";
}
+ @Override
protected String getTitle() {
return "Panel";
}