From 211cdf2fe9bede01b8b9e3737c327ce133df2d50 Mon Sep 17 00:00:00 2001
From: Jani Laakso
Item is an object, which contains a set of named " + "properties. Each property is identified by an " @@ -52,4 +77,8 @@ public class FeatureItems extends Feature { return "items.jpg"; } + protected String getTitle() { + return "Introduction of Data Model Item"; + } + } diff --git a/src/com/itmill/toolkit/demo/features/FeatureProperties.java b/src/com/itmill/toolkit/demo/features/FeatureProperties.java index ec36eeab6c..22455d92da 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureProperties.java +++ b/src/com/itmill/toolkit/demo/features/FeatureProperties.java @@ -28,14 +28,32 @@ package com.itmill.toolkit.demo.features; +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + public class FeatureProperties extends Feature { - protected String getExampleSrc() { - return super.getExampleSrc(); + public FeatureProperties() { + super(); } + + protected Component getDemoComponent() { - protected String getTitle() { - return "Property Data Model"; + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; } protected String getDescriptionXHTML() { @@ -60,11 +78,13 @@ public class FeatureProperties extends Feature { + "Label and Tree.
"; } - /** - * @see com.itmill.toolkit.demo.features.Feature#getImage() - */ + protected String getImage() { return "properties.jpg"; } + protected String getTitle() { + return "Introduction of Data Model Properties"; + } + } diff --git a/src/com/itmill/toolkit/demo/features/FeatureValidators.java b/src/com/itmill/toolkit/demo/features/FeatureValidators.java index efa1b2f596..c6f70a5598 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureValidators.java +++ b/src/com/itmill/toolkit/demo/features/FeatureValidators.java @@ -28,16 +28,37 @@ package com.itmill.toolkit.demo.features; +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + public class FeatureValidators extends Feature { - protected String getExampleSrc() { - return super.getExampleSrc(); + public FeatureValidators() { + super(); } + + protected Component getDemoComponent() { - protected String getTitle() { - return "Validators"; + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; } + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ protected String getDescriptionXHTML() { return "IT Mill Toolkit contains simple, yet powerful validation interface, " + "that consists of two parts: Validator and Validatable. Validator is " @@ -56,4 +77,8 @@ public class FeatureValidators extends Feature { return "validators.gif"; } + protected String getTitle() { + return "Introduction of Data Model Validators"; + } + } diff --git a/src/com/itmill/toolkit/demo/features/IntroBasic.java b/src/com/itmill/toolkit/demo/features/IntroBasic.java new file mode 100644 index 0000000000..d3e150276b --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroBasic.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroBasic extends Feature { + + public IntroBasic() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction of basic UI components"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/UIComponents.java b/src/com/itmill/toolkit/demo/features/IntroComponents.java similarity index 67% rename from src/com/itmill/toolkit/demo/features/UIComponents.java rename to src/com/itmill/toolkit/demo/features/IntroComponents.java index b66508ddf4..734eb48d4f 100644 --- a/src/com/itmill/toolkit/demo/features/UIComponents.java +++ b/src/com/itmill/toolkit/demo/features/IntroComponents.java @@ -28,8 +28,37 @@ package com.itmill.toolkit.demo.features; -public class UIComponents extends Feature { +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; +public class IntroComponents extends Feature { + + public IntroComponents() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ protected String getDescriptionXHTML() { return ""; } @@ -39,7 +68,7 @@ public class UIComponents extends Feature { } protected String getTitle() { - return ""; + return "Introduction for UI components"; } } diff --git a/src/com/itmill/toolkit/demo/features/IntroDataHandling.java b/src/com/itmill/toolkit/demo/features/IntroDataHandling.java new file mode 100644 index 0000000000..777449f87e --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroDataHandling.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroDataHandling extends Feature { + + public IntroDataHandling() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction for data handling"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/IntroDataModel.java b/src/com/itmill/toolkit/demo/features/IntroDataModel.java new file mode 100644 index 0000000000..b4faf1e3d3 --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroDataModel.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroDataModel extends Feature { + + public IntroDataModel() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction for data model"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/IntroItemContainers.java b/src/com/itmill/toolkit/demo/features/IntroItemContainers.java new file mode 100644 index 0000000000..a1584a5f53 --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroItemContainers.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroItemContainers extends Feature { + + public IntroItemContainers() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction for item containers"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/IntroLayouts.java b/src/com/itmill/toolkit/demo/features/IntroLayouts.java new file mode 100644 index 0000000000..c6d2d8c244 --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroLayouts.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroLayouts extends Feature { + + public IntroLayouts() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction for layouts"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/IntroTerminal.java b/src/com/itmill/toolkit/demo/features/IntroTerminal.java new file mode 100644 index 0000000000..de1f72daae --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroTerminal.java @@ -0,0 +1,74 @@ +/* ************************************************************************* + + IT Mill Toolkit + + Development of Browser User Interfaces Made Easy + + Copyright (C) 2000-2006 IT Mill Ltd + + ************************************************************************* + + This product is distributed under commercial license that can be found + from the product package on license.pdf. Use of this product might + require purchasing a commercial license from IT Mill Ltd. For guidelines + on usage, see licensing-guidelines.html + + ************************************************************************* + + For more information, contact: + + IT Mill Ltd phone: +358 2 4802 7180 + Ruukinkatu 2-4 fax: +358 2 4802 7181 + 20540, Turku email: info@itmill.com + Finland company www: www.itmill.com + + Primary source for information and releases: www.itmill.com + + ********************************************************************** */ + +package com.itmill.toolkit.demo.features; + +import com.itmill.toolkit.ui.Component; +import com.itmill.toolkit.ui.Label; +import com.itmill.toolkit.ui.OrderedLayout; + +public class IntroTerminal extends Feature { + + public IntroTerminal() { + super(); + } + + protected Component getDemoComponent() { + + OrderedLayout l = new OrderedLayout(); + + Label lab = new Label(); + lab.setStyle("featurebrowser-none"); + l.addComponent(lab); + + // Properties + propertyPanel = null; + + return l; + } + + protected String getExampleSrc() { + return ""; + } + + /** + * @see com.itmill.toolkit.demo.features.Feature#getDescriptionXHTML() + */ + protected String getDescriptionXHTML() { + return ""; + } + + protected String getImage() { + return ""; + } + + protected String getTitle() { + return "Introduction for terminals"; + } + +} -- 2.39.5