Examples of Timeline


Examples of aurelienribon.tweenengine.Timeline

  public void enter()
  {
    super.enter();
   
      // In Scene TimeLine.
    Timeline inTimeline = Timeline.createSequence()
        .beginSequence()
          .push(Tween.to(getInSceneRoot(), GroupAccessor.POSITION_XY, 0).target(-getInScene().getWidth(), -getInScene().getHeight()).ease(getEaseEquation()))
          .push(Tween.to(getInSceneRoot(), GroupAccessor.POSITION_XY, getDurationMillis()).target(0, 0).ease(getEaseEquation()))
        .end()
        .start();

      // In Scene TimeLine Action.
    TimelineAction inTimelineAction = TimelineAction.$(inTimeline);
    getInSceneRoot().addAction(inTimelineAction);

      // Out Scene TimeLine.
    Timeline outTimeline = Timeline.createSequence()
        .beginSequence()
          .push(Tween.to(getOutSceneRoot(), GroupAccessor.POSITION_XY, 0).target(0, 0).ease(getEaseEquation()))
          .push(Tween.to(getOutSceneRoot(), GroupAccessor.POSITION_XY, getDurationMillis()).target(getOutScene().getWidth(), getOutScene().getHeight()).ease(getEaseEquation()))
          .setCallbackTriggers(TweenCallback.COMPLETE)
            .setCallback(this)
View Full Code Here

Examples of com.chap.links.client.Timeline

       
        // Note that we have defined custom styles for the timeline
        // in the file public/timelinestyle.css
       
        // create the timeline, with data and options
        timeline = new Timeline(data, options);

        RootPanel.get("mytimeline").add(timeline);
      }
    };
View Full Code Here

Examples of com.chap.links.client.Timeline

    options.setHeight("300px");
    options.setStyle(Timeline.Options.STYLE.BOX);
    options.setEditable(true);
   
    // create the timeline, with data and options
    timeline = new Timeline(data.getJavaScriptObject(), options);

    // add event handlers
    timeline.addSelectHandler(createSelectHandler(timeline));
    timeline.addRangeChangeHandler(createRangeChangeHandler(timeline));
    timeline.addChangeHandler(createChangeHandler(timeline));
View Full Code Here

Examples of com.chap.links.client.Timeline

        options.setHeight("auto");
        options.setStyle(Timeline.Options.STYLE.BOX);
        options.setEditable(true);

        // create the timeline, with data and options
        timeline = new Timeline(data, options);

        RootPanel.get("mytimeline").add(timeline);
      }
    };
View Full Code Here

Examples of com.chap.links.client.Timeline

        options.setHeight("300px");
        options.setStyle(Timeline.Options.STYLE.BOX);
        options.setEditable(true);

        // create the timeline, with data and options
        timeline = new Timeline(data, options);

        // add event handlers
        timeline.addSelectHandler(createSelectHandler(timeline));
        timeline.addRangeChangeHandler(createRangeChangeHandler(timeline));
        timeline.addChangeHandler(createChangeHandler(timeline));
View Full Code Here

Examples of com.chap.links.client.Timeline

    options.setMax(dtf.parse("2012-12-31"));         // upper limit of visible range
        options.setZoomMin(1000L * 60L * 60L * 24L); // one day in milliseconds
        options.setZoomMax(1000L * 60L * 60L * 24L * 31L * 3L)// about three months in milliseconds
       
        // create the timeline, with data and options
    timeline = new Timeline(data, options);
   
    // add event handlers
    timeline.addSelectHandler(createSelectHandler(timeline));
    timeline.addRangeChangeHandler(createRangeChangeHandler(timeline));
    timeline.addChangeHandler(createChangeHandler(timeline));
View Full Code Here

Examples of com.eagerlogic.cubee.client.properties.Timeline

                }

                int newSelectedIndex = selectedIndex.get();
                if (lastSelectedIndex > newSelectedIndex) {
                    // slide right
                    tl = new Timeline(new KeyFrame(0l, views[lastSelectedIndex].translateXProperty(), views[lastSelectedIndex].translateXProperty().get()),
                            new KeyFrame(0l, views[newSelectedIndex].translateXProperty(), -clientWidthProperty().get()),
                            new KeyFrame(250l, views[lastSelectedIndex].translateXProperty(), clientWidthProperty().get() + 10),
                            new KeyFrame(250l, views[newSelectedIndex].translateXProperty(), 0));
                    tl.start();
                } else if (lastSelectedIndex < newSelectedIndex) {
                    // slide left
                    tl = new Timeline(new KeyFrame(0l, views[lastSelectedIndex].translateXProperty(), views[lastSelectedIndex].translateXProperty().get()),
                            new KeyFrame(0l, views[newSelectedIndex].translateXProperty(), clientWidthProperty().get()),
                            new KeyFrame(250l, views[lastSelectedIndex].translateXProperty(), -clientWidthProperty().get() + 10),
                            new KeyFrame(250l, views[newSelectedIndex].translateXProperty(), 0));
                    tl.start();
                } else {
View Full Code Here

Examples of com.kokakiwi.mclauncher.core.TimeLine

   
    private void init(String[] args)
    {
        config = Configuration.getLauncherConfiguration();
       
        timeLine = new TimeLine(this);
        loginer = new Loginer(this);
        updater = new Updater(this);
        launcher = new Launcher(this);
       
        api = new LauncherAPI(this);
View Full Code Here

Examples of com.vaadin.addon.timeline.Timeline

    panel.setWidth("660px");
    panel.setHeight("375px");
    panel.setCaption("Synthèse du Mois");

    Timeline timeline = new Timeline(title);
    timeline.setWidth("100%");

    // create the data sources
    Container.Indexed graphDataSource = createGraphDataSource();
    Container.Indexed markerDataSource = createmarkerDataSource();
    final Container.Indexed eventDataSource = createEventDateSource();

    // add our data sources
    timeline.addGraphDataSource(graphDataSource,
        Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.VALUE);
    timeline.setMarkerDataSource(markerDataSource,
        Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.CAPTION,
        Timeline.PropertyId.VALUE);
    timeline.setEventDataSource(eventDataSource,
        Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.CAPTION);

    timeline.setGraphLegend(graphDataSource, "dimension x");
    timeline.setGraphOutlineColor(graphDataSource, Color.BLUE);
    timeline.setBrowserFillColor(graphDataSource, new Color(255, 0, 0, 128));
    timeline.setGraphOutlineThickness(2.0);

    timeline.setBrowserOutlineColor(graphDataSource, Color.BLACK);
    timeline.setBrowserFillColor(graphDataSource, new Color(0, 0, 0, 128));

    // adding a listener
    timeline.addListener(new Timeline.EventClickListener() {

      @Override
      public void eventClick(EventButtonClickEvent event) {
        Item item = eventDataSource.getItem(event.getItemIds()
            .iterator().next());
View Full Code Here

Examples of com.vaadin.addon.timeline.Timeline

    panel.setWidth("660px");
    panel.setHeight("375px");
   
    panel.setCaption("Synthèse de l'année");
   
    Timeline timeline = new Timeline(title);
    timeline.setWidth("100%");
   
    //create the data sources
    Container.Indexed graphDataSource = createGraphDataSource();
    Container.Indexed markerDataSource = createmarkerDataSource();
    final Container.Indexed eventDataSource = createEventDateSource();
   
    //add our data sources
    timeline.addGraphDataSource(graphDataSource, Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.VALUE);
    timeline.setMarkerDataSource(markerDataSource, Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.CAPTION, Timeline.PropertyId.VALUE);
    timeline.setEventDataSource(eventDataSource, Timeline.PropertyId.TIMESTAMP, Timeline.PropertyId.CAPTION);
   
    timeline.setGraphLegend(graphDataSource, "dimension y");
    timeline.setGraphOutlineColor(graphDataSource, Color.GREEN);
    timeline.setBrowserFillColor(graphDataSource, new Color(255,0,0,128));
    timeline.setGraphOutlineThickness(2.0);
   
    timeline.setBrowserOutlineColor(graphDataSource, Color.BLACK);
    timeline.setBrowserFillColor(graphDataSource, new Color(0,0,0,128));
   
    //adding a listener
    timeline.addListener(new Timeline.EventClickListener(){

      @Override
      public void eventClick(EventButtonClickEvent event) {
        Item item = eventDataSource.getItem(event.getItemIds().iterator().next());
        Date sunday = (Date) item.getItemProperty(Timeline.PropertyId.TIMESTAMP).getValue();
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.