import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableActions extends Feature {
@Override
public String getDescription() {
- return "Actions can be added to each row, and are show in the a context menu when right-clicking (or ctrl-clicking).";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Actions can be added to each row, and are show in the a"
+ + " context menu when right-clicking.";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableCellStyling extends Feature {
@Override
public String getDescription() {
- return "Individual cells can be styled in a Table by using a CellStyleGenerator. Regular CSS is used to create the actual style.<br/>Double click a first or last name to mark/unmark that cell.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Individual cells can be styled in a Table by using a"
+ + " CellStyleGenerator. Regular CSS is used to create the"
+ + " actual style.<br/>Double click a first or last name to"
+ + " mark/unmark that cell.";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableColumnAlignment extends Feature {
@Override
public String getDescription() {
- return "Columns can be aligned left (default), center or right.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Columns can be aligned left (default), center or right.";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
-
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableColumnCollapsing extends Feature {
@Override
public String getDescription() {
- return "Columns can be 'collapsed', which means that it's not shown, but the user can make the column re-appear by using the menu in the upper right of the table.<br/>Columns can also be made invisible, in which case they can not be brought back by the user.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Columns can be 'collapsed', which means that it's not shown,"
+ + " but the user can make the column re-appear by using the"
+ + " menu in the upper right of the table.<br/>"
+ + " Columns can also be made invisible, in which case they can"
+ + " not be brought back by the user.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableColumnHeaders extends Feature {
@Override
public String getDescription() {
- return "A Table can optionally have column headers. The headers can contain a caption and an icon, and it's width can be changed by the user. A column can also (optionally) be moved by the user by dragging the column header, and (optionally) be sorted by clicking the header.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + " A Table can have column headers, which support different modes"
+ + " with automatic or explicitly set caption and/or icon.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableColumnReordering extends Feature {
@Override
public String getDescription() {
- return "The column headers can be reordered by the user using drag and drop. This feature can be turned on or off.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + " The columns can be rearranged with drag&drop - a feature"
+ + " which can be enabled or disabled.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableHeaderIcons extends Feature {
@Override
public String getDescription() {
- return "A Table can have icons in the column- and rowheaders. The rowheader icon can come from a item property, or be explicitly set.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + " A Table can have icons in the column- and rowheaders. "
+ + " The rowheader icon can come from a item property, or be"
+ + " explicitly set.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableLazyLoading extends Feature {
@Override
public String getDescription() {
- return "Table supports lazy-loading, which means that the content is loaded from the server only when needed. This allows the table to stay efficient even when scrolling hundreds of thousands of rows.<br/>Try scrolling a fair amount quickly!";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Table supports lazy-loading, which means that the content is"
+ + " loaded from the server only when needed. This allows the "
+ + " table to stay efficient even when scrolling hundreds of"
+ + " thousands of rows.<br/>Try scrolling a fair amount quickly!";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableMouseEvents extends Feature {
return new TableStylingExample();
}
- @Override
public String getDescription() {
- return "An ItemClickListener can be used to react to mouse click events. Different buttons, double click, and modifier keys can be detected.<br/>Double-click a first or last name to toggle it's marked state.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "An ItemClickListener can be used to react to mouse click"
+ + " events. Different buttons, double click, and modifier keys"
+ + " can be detected.<br/>Double-click a first or last name to"
+ + " toggle it's marked state.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableRowHeaders extends Feature {
@Override
public String getDescription() {
- return "A Table can have row headers, which can contain an icon and a caption, or both. There are several modes: the icon can come from a property or be explicitly set, the caption can be explicitly set or come from the item id, from a property, based on row index, or from the item itself.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + " A Table can have row headers, which support different modes"
+ + " with automatic or explicitly set caption and/or icon.";
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableRowStyling extends Feature {
@Override
public String getDescription() {
- return "Rows can be styled in a Table by using a CellStyleGenerator. Regular CSS is used to create the actual style.<br/>Use the context menu (right-/ctrl-click) to apply a row style in the example.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "Rows can be styled in a Table by using a CellStyleGenerator."
+ + " Regular CSS is used to create the actual style.<br/>Use the"
+ + " context menu (right-/ctrl-click) to apply a row style in"
+ + " the example.";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}
import com.itmill.toolkit.demo.sampler.APIResource;
import com.itmill.toolkit.demo.sampler.Feature;
+import com.itmill.toolkit.demo.sampler.FeatureSet;
import com.itmill.toolkit.demo.sampler.NamedExternalResource;
+import com.itmill.toolkit.terminal.gwt.client.ui.Table;
import com.itmill.toolkit.ui.Component;
public class TableSorting extends Feature {
@Override
public String getDescription() {
- return "The Table columns can (optionally) be sorted by clicking the column header - a sort direction indicator will appear. Clicking again will change the sorting direction.";
+ return "Also known as a (Data)Grid, Table can be used to show data in"
+ + " a tabular fashion. It's well suited for showing large datasets.<br>"
+ + "The Table columns can (optionally) be sorted by clicking the"
+ + " column header - a sort direction indicator will appear."
+ + " Clicking again will change the sorting direction.";
+
}
@Override
public APIResource[] getRelatedAPI() {
- // TODO Auto-generated method stub
- return null;
+ return new APIResource[] { new APIResource(Table.class) };
}
@Override
public Class[] getRelatedFeatures() {
- // TODO Auto-generated method stub
- return null;
+ return new Class[] { FeatureSet.Tables.class };
}
@Override
public NamedExternalResource[] getRelatedResources() {
- // TODO Auto-generated method stub
return null;
}