left.addComponent(close);
// Test component
- registerFeature("/UI Components", new UIComponents());
+ registerFeature("/UI Components", new IntroComponents());
+ registerFeature("/UI Components/Basic", new IntroBasic());
registerFeature("/UI Components/Basic/Text Field",
new FeatureTextField());
registerFeature("/UI Components/Basic/Date Field",
registerFeature("/UI Components/Basic/Form", new FeatureForm());
registerFeature("/UI Components/Basic/Label", new FeatureLabel());
registerFeature("/UI Components/Basic/Link", new FeatureLink());
+ registerFeature("/UI Components/Item Containers",
+ new IntroItemContainers());
registerFeature("/UI Components/Item Containers/Select",
new FeatureSelect());
registerFeature("/UI Components/Item Containers/Table",
new FeatureTable());
registerFeature("/UI Components/Item Containers/Tree",
new FeatureTree());
+ registerFeature("/UI Components/Layouts", new IntroLayouts());
registerFeature("/UI Components/Layouts/Ordered Layout",
new FeatureOrderedLayout());
registerFeature("/UI Components/Layouts/Grid Layout",
new FeatureTabSheet());
registerFeature("/UI Components/Layouts/Window", new FeatureWindow());
// Disabled for now
-// registerFeature("/UI Components/Layouts/Frame Window",
-// new FeatureFrameWindow());
+ // registerFeature("/UI Components/Layouts/Frame Window",
+ // new FeatureFrameWindow());
+ registerFeature("/UI Components/Data handling", new IntroDataHandling());
registerFeature("/UI Components/Data handling/Embedded Objects",
new FeatureEmbedded());
registerFeature("/UI Components/Data handling/Upload",
new FeatureUpload());
+ registerFeature("/Data Model", new IntroDataModel());
registerFeature("/Data Model/Properties", new FeatureProperties());
registerFeature("/Data Model/Items", new FeatureItems());
registerFeature("/Data Model/Containers", new FeatureContainers());
registerFeature("/Data Model/Validators", new FeatureValidators());
registerFeature("/Data Model/Buffering", new FeatureBuffering());
+ registerFeature("/Terminal", new IntroTerminal());
registerFeature("/Terminal/Parameters and URI Handling",
new FeatureParameters());
features.expandItem(i.next());
// Add demo component and tabs
- currentFeature = new FeatureButton();
+ currentFeature = new FeatureTable();
layout.addComponent(currentFeature);
// Add properties
PropertyPanel oldProps = (PropertyPanel) i.next();
if (oldProps != null)
right.replaceComponent(oldProps, properties);
- else
+ else
right.addComponent(properties);
properties.setVisible(((Boolean) propertiesSelect
.getValue()).booleanValue());
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 FeatureBuffering extends Feature {
- protected String getExampleSrc() {
- return super.getExampleSrc();
+
+ public FeatureBuffering() {
+ super();
}
+
+ protected Component getDemoComponent() {
- protected String getTitle() {
- return "Buffering";
+ 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()
*/
+ "immediately updated to the data source.</p>";
}
- /**
- * @see com.itmill.toolkit.demo.features.Feature#getImage()
- */
+
protected String getImage() {
return "buffering.jpg";
}
+ protected String getTitle() {
+ return "Introduction of Data Model Buffering";
+ }
+
}
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 FeatureContainers extends Feature {
- protected String getTitle() {
- return "Container Data Model";
+ public FeatureContainers() {
+ 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 "";
}
protected String getDescriptionXHTML() {
+ "file system access.</p>";
}
+
protected String getImage() {
return "containers.jpg";
}
+
+ protected String getTitle() {
+ return "Introduction of Data Model Containers";
+ }
+
}
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 FeatureItems extends Feature {
- protected String getTitle() {
- return "Item Data Model";
+ public FeatureItems() {
+ 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 "<p>Item is an object, which contains a set of named "
+ "properties. Each property is identified by an "
return "items.jpg";
}
+ protected String getTitle() {
+ return "Introduction of Data Model Item";
+ }
+
}
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() {
+ "Label and Tree.</p>";
}
- /**
- * @see com.itmill.toolkit.demo.features.Feature#getImage()
- */
+
protected String getImage() {
return "properties.jpg";
}
+ protected String getTitle() {
+ return "Introduction of Data Model Properties";
+ }
+
}
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 "<p>IT Mill Toolkit contains simple, yet powerful validation interface, "
+ "that consists of two parts: Validator and Validatable. Validator is "
return "validators.gif";
}
+ protected String getTitle() {
+ return "Introduction of Data Model Validators";
+ }
+
}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
--- /dev/null
+/* *************************************************************************
+
+ 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";
+ }
+
+}
+++ /dev/null
-/* *************************************************************************
-
- 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 "";
- }
-
-}