Examples of lastItemId()


Examples of com.vaadin.data.Container.Indexed.lastItemId()

        Date maxDate = null;
        for (TimelineDatasourceProperties ds : datasources) {
            Indexed cont = ds.getDatasource();
            Object timestampPropertyId = getGraphTimestampPropertyId(cont);
            if (timestampPropertyId != null & cont.size() > 0) {
                Item item = cont.getItem(cont.lastItemId());
                if (item != null
                        && item.getItemPropertyIds().contains(
                                timestampPropertyId)) {
                    Property<?> property = cont.getItem(cont.lastItemId())
                            .getItemProperty(timestampPropertyId);
View Full Code Here

Examples of com.vaadin.data.Container.Indexed.lastItemId()

            if (timestampPropertyId != null & cont.size() > 0) {
                Item item = cont.getItem(cont.lastItemId());
                if (item != null
                        && item.getItemPropertyIds().contains(
                                timestampPropertyId)) {
                    Property<?> property = cont.getItem(cont.lastItemId())
                            .getItemProperty(timestampPropertyId);
                    Date d2 = (Date) property.getValue();
                    if (maxDate == null || maxDate.before(d2)) {
                        maxDate = d2;
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.