Examples of redraw()


Examples of com.sencha.gxt.chart.client.draw.sprite.Sprite.redraw()

          if (chart.isAnimated() && sprite.getTranslation() != null) {
            DrawFx.createTranslationAnimator(sprite, point.getX(), point.getY() - offsetY).run(
                chart.getAnimationDuration(), chart.getAnimationEasing());
          } else {
            sprite.setTranslation(point.getX(), point.getY() - offsetY);
            sprite.redraw();
          }
        }
      } else if (labelPosition == LabelPosition.END || labelPosition == LabelPosition.START) {
        for (int i = 0; i < yValues.size(); i++) {
          double[] values = yValues.get(i);
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.sprite.Sprite.redraw()

            if (chart.isAnimated() && sprite.getTranslation() != null) {
              DrawFx.createTranslationAnimator(sprite, point.getX(), point.getY() - offsetY).run(
                  chart.getAnimationDuration(), chart.getAnimationEasing());
            } else {
              sprite.setTranslation(point.getX(), point.getY() - offsetY);
              sprite.redraw();
            }
          }
        }
      }
    }
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.sprite.TextSprite.redraw()

              TextSprite text = (TextSprite) sprite;
              if (labelConfig.getLabelProvider() != null) {
                text.setText(labelConfig.getLabelProvider().getLabel(chart.getCurrentStore().get(j),
                    getValueProvider(j)));
              }
              text.redraw();
            }
            double offsetY = sprite.getBBox().getHeight() / 2.0;
            PrecisePoint point = getPointFromCommand(areasCommands.get(j).get(i));
            if (chart.isAnimated() && sprite.getTranslation() != null) {
              DrawFx.createTranslationAnimator(sprite, point.getX(), point.getY() - offsetY).run(
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.sprite.TextSprite.redraw()

        labels.add(label);
      } else {
        label = labels.get((int) i);
      }
      label.setText(labelProvider.getLabel((Math.round(i / gaugeSteps * maximum))));
      label.redraw();
      double height = label.getBBox().getHeight() / 2.0;
      label.setX(center.getX() + rho * Math.cos(i / gaugeSteps * Math.PI - Math.PI));
      label.setY(center.getY() + rho * Math.sin(i / gaugeSteps * Math.PI - Math.PI) - height);
      label.redraw();
    }
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.sprite.TextSprite.redraw()

      label.setText(labelProvider.getLabel((Math.round(i / gaugeSteps * maximum))));
      label.redraw();
      double height = label.getBBox().getHeight() / 2.0;
      label.setX(center.getX() + rho * Math.cos(i / gaugeSteps * Math.PI - Math.PI));
      label.setY(center.getY() + rho * Math.sin(i / gaugeSteps * Math.PI - Math.PI) - height);
      label.redraw();
    }

  }

  /**
 
View Full Code Here

Examples of com.smartgwt.client.widgets.HTMLFlow.redraw()

    html.getElement().getStyle().setLeft(4, Unit.PX);
    html.getElement().getStyle().setCursor(Cursor.POINTER);
    html.getElement().getStyle().setZIndex(ZIndexes.LOGO);
   
    if (html.isDrawn()) {
      html.redraw();
    } else {
      html.draw();
    }
  }
 
View Full Code Here

Examples of com.smartgwt.client.widgets.form.DynamicForm.redraw()

      public void onClick(ClickEvent event) {
        boolean visible = !iconButton.getVisible();
        iconButton.setVisible(visible);
        // iconButton.redraw();
        form.redraw();
      }
    });

    form.setItems(iconButton, button);
View Full Code Here

Examples of com.smartgwt.client.widgets.form.fields.FormItem.redraw()

            this.isStartLater = false;
            this.isRecurring = true;

            FormItem repeatIntervalItem = repeatForm.getItem(FIELD_REPEAT_INTERVAL);
            repeatIntervalItem.setTitle(MSG.widget_jobTriggerEditor_field_repeatInterval_now());
            repeatIntervalItem.redraw();
        } else if (calendarType.equals("later")) {
            this.isStartLater = true;
            this.isRecurring = false;
        } else {
            // value.equals("laterAndRepeat")
View Full Code Here

Examples of com.smartgwt.client.widgets.form.fields.FormItem.redraw()

            this.isStartLater = true;
            this.isRecurring = true;

            FormItem repeatIntervalItem = repeatForm.getItem(FIELD_REPEAT_INTERVAL);
            repeatIntervalItem.setTitle(MSG.widget_jobTriggerEditor_field_repeatInterval_later());
            repeatIntervalItem.redraw();
        }
        if (isStartLater) {
            laterForm.show();
        } else {
            laterForm.hide();
View Full Code Here

Examples of com.smartgwt.client.widgets.form.fields.FormItem.redraw()

                        int rowNum = event.getRowNum();
                        memberValuesGrid.setEditValue(rowNum, FIELD_VALUE, (String) null);
                    } else {
                        valueItem.focusInItem();
                    }
                    valueItem.redraw();
                }
            });

            // add handler when user clears the value field - this should turn on the "unset" button
            valueField.addChangeHandler(new com.smartgwt.client.widgets.grid.events.ChangeHandler() {
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.