@Override
 protected void onLoad() {
   super.onLoad();
   // panel.addStyleName("notificationShowed");
   //
   // usernameTextBox.setFocus(true);
 }
Exemple #2
0
 @Override
 protected void onLoad() {
   super.onLoad();
   if (!initialized_) {
     initialized_ = true;
     Scheduler.get()
         .scheduleDeferred(
             new ScheduledCommand() {
               public void execute() {
                 doOnLoad();
                 scrollPanel_.scrollToBottom();
               }
             });
   }
 }
 @Override
 protected void onLoad() {
   super.onLoad();
   if (histogram != null) {
     histogramPanel.clear();
     histogramPanel.add(histogram.createChart(translations.histogram(), translations.density()));
   }
   if (qqPlot != null) {
     normalProbability.clear();
     normalProbability.add(
         qqPlot.createChart(
             translations.normalProbability(),
             translations.theoreticalQuantiles(),
             translations.sampleQuantiles()));
   }
 }
  @Override
  protected void onLoad() {
    super.onLoad();

    sinkEvents(Event.ONCONTEXTMENU | VTooltip.TOOLTIP_EVENTS | Event.ONMOUSEWHEEL);

    setupPanningBehavior(m_svg);

    D3Behavior dragBehavior =
        new D3Behavior() {

          @Override
          public D3 run(D3 selection) {
            D3Drag drag = D3.getDragBehavior();
            drag.on(D3Events.DRAG_START.event(), vertexDragStartHandler());
            drag.on(D3Events.DRAG.event(), vertexDragHandler());
            drag.on(D3Events.DRAG_END.event(), vertexDragEndHandler());

            selection.call(drag);
            return selection;
          }
        };

    m_graphDrawer =
        new GraphDrawer(
            m_graph,
            m_vertexGroup,
            m_edgeGroup,
            dragBehavior,
            vertexClickHandler(),
            vertexContextMenuHandler(),
            vertexTooltipHandler(),
            edgeContextHandler(),
            edgeToolTipHandler());
    m_graphDrawerNoTransition =
        new GraphDrawerNoTransition(
            m_graph,
            m_vertexGroup,
            m_edgeGroup,
            dragBehavior,
            vertexClickHandler(),
            vertexContextMenuHandler(),
            vertexTooltipHandler(),
            edgeContextHandler(),
            edgeToolTipHandler());
  }
 @Override
 protected void onLoad() {
   setButtonHandlers();
   super.onLoad();
 }
 /** default method. */
 public void onLoad() {
   super.onLoad();
 }
 @Override
 public void onLoad() {
   super.onLoad();
   prepareHorizontalScroll(id);
 }
 /** {@inheritDoc} */
 @Override
 protected void onLoad() {
   super.onLoad();
   syncMapSizeWithParent();
 }
 @Override
 protected void onLoad() {
   setRelationHandlers();
   setFieldValueChangeHandler();
   super.onLoad();
 }