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/IntroComponents.java b/src/com/itmill/toolkit/demo/features/IntroComponents.java new file mode 100644 index 0000000000..734eb48d4f --- /dev/null +++ b/src/com/itmill/toolkit/demo/features/IntroComponents.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 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 ""; + } + + protected String getImage() { + return "ui-components.gif"; + } + + protected String getTitle() { + 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"; + } + +} diff --git a/src/com/itmill/toolkit/demo/features/UIComponents.java b/src/com/itmill/toolkit/demo/features/UIComponents.java deleted file mode 100644 index b66508ddf4..0000000000 --- a/src/com/itmill/toolkit/demo/features/UIComponents.java +++ /dev/null @@ -1,45 +0,0 @@ -/* ************************************************************************* - - 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; - -public class UIComponents extends Feature { - - protected String getDescriptionXHTML() { - return ""; - } - - protected String getImage() { - return "ui-components.gif"; - } - - protected String getTitle() { - return ""; - } - -}