zoukankan      html  css  js  c++  java
  • TimerToPdf

    1.----------------TimerEvent-------------------
    var today:Date=new Date();
    hours == today.hours;
    minutes == total.minutes;

    if(hours==8 && minutes==11){

    }

    public function ShortTimer()
    {
    // cuplayer.com提示creates a new five-second Timer
    var minuteTimer:Timer = new Timer(1000, 5);

    // designates listeners for the interval and completion events
    minuteTimer.addEventListener(TimerEvent.TIMER, onTick);
    minuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE, onTimerComplete);

    // cuplayer.com提示starts the timer ticking
    minuteTimer.start();
    }

    public function onTick(evt:TimerEvent):void
    {
    // cuplayer.com提示displays the tick count so far
    // The target of this event is the Timer instance itself.
    trace("tick " + evt.target.currentCount);
    }

    public function onTimerComplete(evt:TimerEvent):void
    {
    trace("Time's Up!");
    }

    2-----------------------timerToPdf-------------------------------------
    1 timer --> 2 Servlet --> timerToPdf-->
    context=new org.springframework.context.support.ClassPathXmlApplicationContext("spring/*.xml");
    -->reportAttachmentService[applicationContext-service.xml]-->ReportAttachmentService-->
    ReportAttachmentImpl-->getSqlMapClientTemplate().insert(ReportAttachment.class.getName()+".insert", object);
    [SqlMapConigPMS-->ReportAttachment.xml]

  • 相关阅读:
    linux配置Java环境变量(详细)
    linux下的挂载点和分区是什么关系
    VNC的安装与配置
    Linux下的字符集问题
    Freemarker学习中遇到的问题
    ABAP- INCLUDE Zxxx IF FOUND.
    ABAP读取工单状态 STATUS_READ
    WIN7系统设置wifi
    201702-增强记
    20170301 Excel 分多个sheet 导出
  • 原文地址:https://www.cnblogs.com/BillLei/p/5945739.html
Copyright © 2011-2022 走看看