Examples of Rows


Examples of org.zkoss.zul.Rows

                Intbox intbox;

                int page = 0;
                int counter = 0;

                Rows rows = gridCriticalPathTasks.getRows();
                for (Object each : rows.getChildren()) {
                    Row row = (Row) each;
                    List<org.zkoss.zk.ui.Component> children = row
                            .getChildren();

                    Integer sum = 0;
View Full Code Here

Examples of org.zkoss.zul.Rows

     *
     * @param
     */
    private void showInvalidInputs(){
         if(listingCriterions != null){
            Rows rows = listingCriterions.getRows();
            List<Row> listRows = rows.getChildren();
            for(Row row : listRows){
                //Validate endDate Domain Restricctions.
                Datebox endDate = getEndDatebox(row);
                if(isInvalid(endDate)){
                    validateEndDate(endDate, endDate.getValue());
View Full Code Here

Examples of org.zkoss.zul.Rows

     *
     * @param
     */
    private void showInvalidInputs() {
        if (listingCriterions != null) {
            Rows rows = listingCriterions.getRows();
            List<Row> listRows = rows.getChildren();
            for (Row row : listRows) {
                // Validate endDate Domain Restricctions.
                Datebox endDate = getEndDatebox(row);
                if (isInvalid(endDate)) {
                    validateEndDate(endDate, endDate.getValue());
View Full Code Here

Examples of org.zkoss.zul.Rows

                    _("Cannot connect to JIRA server"));
        }
    }

    private boolean checkValidEntitySequenceRows() {
        Rows rows = entitySequencesGrid.getRows();
        for (Row row : (List<Row>) rows.getChildren()) {

                EntitySequence seq = (EntitySequence) row.getValue();
                if (seq != null) {
                Textbox prefixBox = (Textbox) row.getChildren().get(2);
                    if (!seq.isAlreadyInUse()) {
View Full Code Here

Examples of org.zkoss.zul.Rows

            @Override
                    public void onEvent(Event event) {
                listCostCategories.renderAll();

                final Rows rows = listCostCategories.getRows();
                for (Iterator i = rows.getChildren().iterator(); i.hasNext(); ) {
                    final Row row = (Row) i.next();
                    final CostCategory category = (CostCategory) row.getValue();
                    Button btnDelete = (Button) ((Hbox)row.getChildren().get(2)).getChildren().get(1);
                    if (!canRemoveCostCategory(category)) {
                        btnDelete.setDisabled(true);
View Full Code Here

Examples of org.zkoss.zul.Rows

            @Override
            public void onEvent(Event event) {
                gridMaterials.renderAll();

                final Rows rows = gridMaterials.getRows();
                for (Iterator i = rows.getChildren().iterator(); i.hasNext(); ) {
                    final Row row = (Row) i.next();
                    final Material material = (Material) row.getValue();
                    Button btnDelete = (Button) row.getChildren().get(6);
                    if (!materialsModel.canRemoveMaterial(material)) {
                        btnDelete.setDisabled(true);
View Full Code Here

Examples of org.zkoss.zul.Rows

                && !getOrder().getDeliveringDates().isEmpty()) {
            DeadlineCommunication lastDeliveryDate = getOrder()
                    .getDeliveringDates().first();
            if (listDeliveryDates != null) {
                listDeliveryDates.renderAll();
                final Rows rows = listDeliveryDates.getRows();
                for (Iterator i = rows.getChildren().iterator(); i.hasNext();) {
                    final Row row = (Row) i.next();
                    final DeadlineCommunication deliveryDate = (DeadlineCommunication) row
                            .getValue();
                    if (deliveryDate.equals(lastDeliveryDate)) {
                        row.setSclass("current-delivery-date");
View Full Code Here

Examples of org.zkoss.zul.api.Rows

    }

    public void selectedAllUnassignedQueueElements() {
        final boolean value = cbSelectAll.isChecked();

        final Rows rows = gridUnassignedLimitingResourceQueueElements.getRows();
        for (Object each: rows.getChildren()) {
            final Row row = (Row) each;
            Checkbox cbAutoQueueing = getAutoQueueing(row);
            cbAutoQueueing.setChecked(value);
        }
    }
View Full Code Here

Examples of org.zkoss.zul.api.Rows

    }

    private List<LimitingResourceQueueElement> getAllSelectedQueueElements() {
        List<LimitingResourceQueueElement> result = new ArrayList<LimitingResourceQueueElement>();

        final Rows rows = gridUnassignedLimitingResourceQueueElements.getRows();
        for (Object each : rows.getChildren()) {
            final Row row = (Row) each;
            Checkbox cbAutoQueueing = getAutoQueueing(row);
            if (cbAutoQueueing.isChecked()) {
                LimitingResourceQueueElementDTO dto = (LimitingResourceQueueElementDTO) row
                        .getValue();
View Full Code Here

Examples of org.zkoss.zul.api.Rows

    public static Row findRowByValue(Grid grid, Object needle) {
        if (grid == null || needle == null) {
            return null;
        }
        Rows rows = grid.getRows();
        for (Object each : rows.getChildren()) {
            if (each instanceof Row) {
                Row row = (Row) each;
                Object value = row.getValue();
                if (needle.equals(value)) {
                    return row;
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.