diff options
Diffstat (limited to 'src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java')
-rw-r--r-- | src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java b/src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java index 2b91a4262b..5a135e03d3 100644 --- a/src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java +++ b/src/com/itmill/toolkit/tests/featurebrowser/FeatureLink.java @@ -16,6 +16,7 @@ public class FeatureLink extends Feature { super(); } + @Override protected Component getDemoComponent() { final OrderedLayout l = new OrderedLayout(); @@ -40,10 +41,12 @@ public class FeatureLink extends Feature { return l; } + @Override protected String getExampleSrc() { return "Link link = new Link(\"Link caption\",new ExternalResource(\"http://www.itmill.com\"));\n"; } + @Override protected String getDescriptionXHTML() { return "The link feature allows for making refences to both internal and external resources. " + "The link can open the new resource in a new window, allowing for control of the newly " @@ -53,10 +56,12 @@ public class FeatureLink extends Feature { } + @Override protected String getImage() { return "icon_demo.png"; } + @Override protected String getTitle() { return "Link"; } |