diff options
Diffstat (limited to 'src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java')
-rw-r--r-- | src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java b/src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java index 295eedc21b..cc0ca982d7 100644 --- a/src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java +++ b/src/com/itmill/toolkit/tests/featurebrowser/FeatureOrderedLayout.java @@ -16,6 +16,7 @@ public class FeatureOrderedLayout extends Feature { super(); } + @Override protected Component getDemoComponent() { final OrderedLayout l = new OrderedLayout(); @@ -44,6 +45,7 @@ public class FeatureOrderedLayout extends Feature { return l; } + @Override protected String getExampleSrc() { return "OrderedLayout ol = new OrderedLayout(OrderedLayout.ORIENTATION_FLOW);\n" + "ol.addComponent(new TextField(\"Textfield caption\"));\n" @@ -54,6 +56,7 @@ public class FeatureOrderedLayout extends Feature { /** * @see com.itmill.toolkit.tests.featurebrowser.Feature#getDescriptionXHTML() */ + @Override protected String getDescriptionXHTML() { return "This feature provides a container for laying out components either " + "vertically, horizontally or flowingly. The orientation may be changed " @@ -65,10 +68,12 @@ public class FeatureOrderedLayout extends Feature { + "affect the presentation of the component."; } + @Override protected String getImage() { return "icon_demo.png"; } + @Override protected String getTitle() { return "OrderedLayout"; } |