资源简介
代码片段和文件信息
/*
* Copyright (c) 1999-2004 Sourceforge JACOB Project.
* All rights reserved. Originator: Dan Adler (http://danadler.com).
* Get more information about JACOB at http://sourceforge.net/projects/jacob-project
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not write to the Free Software
* Foundation Inc. 51 Franklin St Fifth Floor Boston MA 02110-1301 USA
*/
package com.jacob.activeX;
import com.jacob.com.Dispatch;
import com.jacob.com.Jacobobject;
import com.jacob.com.Variant;
/**
* This class provides a higher level more object like wrapper for top of the
* Dispatch object. The Dispatch class‘s method essentially directly map to
* Microsoft C API including the first parameter that is almost always the
* target of the message. ActiveXComponent assumes the target of every message
* is the MS COM object behind the ActiveXComponent. This removes the need to
* pass the Dispatch object into every method.
*
* It is really up to the developer as to whether they want to use the Dispatch
* interface or the ActiveXComponent interface.
*
* This class simulates com.ms.activeX.ActiveXComponent only in the sense that
* it is used for creating Dispatch objects
*/
public class ActiveXComponent extends Dispatch {
/**
* Normally used to create a new connection to a microsoft application. The
* passed in parameter is the name of the program as registered in the
* registry. It can also be the object name.
*
* This constructor causes a new Windows object of the requested type to be
* created. The windows CoCreate() function gets called to create the
* underlying windows object.
*
*
* new ActiveXComponent("scriptControl");
*
*
* @param programId
*/
public ActiveXComponent(String programId) {
super(programId);
}
/**
* Creates an active X component that is built on top of the COM pointers
* held in the passed in dispatch. This widens the Dispatch object to pick
* up the ActiveXComponent API
*
* @param dispatchToBeWrapped
*/
public ActiveXComponent(Dispatch dispatchToBeWrapped) {
super(dispatchToBeWrapped);
}
/**
* only used by the factories
*
*/
private ActiveXComponent() {
super();
}
/**
* Probably was a cover for something else in the past. Should be
* deprecated.
*
* @retur
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-11-09 18:57 jacob个版本\
目录 0 2008-02-01 20:34 jacob个版本\jacob-1.14\
目录 0 2008-04-23 20:56 jacob个版本\jacob-1.14.1\
目录 0 2008-03-08 12:05 jacob个版本\jacob-1.14.1\docs\
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\
文件 4008 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\allclasses-fr
文件 3448 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\allclasses-nofr
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\jacob\
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\
文件 77471 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\ActiveXComponent.html
文件 20793 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\ActiveXDispatchEvents.html
文件 16884 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\ActiveXInvocationProxy.html
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\class-use\
文件 14624 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\class-use\ActiveXComponent.html
文件 6002 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\class-use\ActiveXDispatchEvents.html
文件 6012 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\class-use\ActiveXInvocationProxy.html
文件 1202 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\package-fr
文件 6742 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\package-summary.html
文件 7003 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\package-tree.html
文件 6783 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\activeX\package-use.html
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\
目录 0 2008-04-23 20:03 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\
文件 7552 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\ComException.html
文件 5912 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\ComFailException.html
文件 5842 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\ComThread.html
文件 10692 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\Currency.html
文件 5882 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\DateUtilities.html
文件 91401 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\Dispatch.html
文件 7599 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\DispatchEvents.html
文件 5932 2008-04-23 20:56 jacob个版本\jacob-1.14.1\docs\api\com\jacob\com\class-use\DispatchIdentifier.html
............此处省略891个文件信息
- 上一篇:华容道(项目源代码)
- 下一篇:Android Studio编写的简单数字时钟
相关资源
- 华容道(项目源代码)
- Thinking in Java 4th Edition Annotated Solutio
- JSP+JavaBean+Servlet制作通讯录.zip
- 阿尔法贝塔剪枝算法Java五子棋
- java多线程面试题和答案
- 基于java web的求职招聘网站
- java web 写的一个寻物招领平台
- java swing学生信息系统
- jSP课程设计图书借阅管理系统
- Java Web的简单实现,适合初学者.zip
- 超详细的Java复习知识点2019——个人笔
- Java万年历包含公历农历星期二十四节
- Java web课程设计宿舍管理系统)文档
- 韩顺平java全部代码
- SSM框架搭建
- 根据表结构生成JavaBean,史上最强最专
- linux和windows实现word转pdf
- Java仓库管理系统项目源码
- Java开发实战经典—2 (李兴华)(P
- 基于javaweb的运动与健康管理系统源代
- 基于JAVA的打砖块游戏
- Data Structures and Algorithms in Java 6th Edi
- java web校园二手交易
- java web网上书店
- java对PDF签名签章demo
- 酒店预订管理系统的设计与实现
- JAVA核心面试知识整理.pdf
- servlet+jsp+oracle简单的增删改查及导出
- rfid java开发项目
- 基于 Servlet jsp js 等技术的网上商城
评论
共有 条评论