mschart.java
来自「此文件为OPC Client IsVJTrend源代码,在VJ++开发环境下调试」· Java 代码 · 共 1,322 行 · 第 1/5 页
JAVA
1,322 行
//
// Auto-generated using JActiveX.EXE 5.00.2918
// ("D:\Program Files\Microsoft Visual Studio\VJ98\jactivex.exe" /wfc /t "D:\Program Files\Microsoft Visual Studio\VJ98\wfc.jnf" /w /xi /X:rkc /l "C:\TEMP\jvcCBC.tmp" /nologo /d "E:\InfoServer\clients\Java\Trend\ISVjTrend" "C:\WINNT\System32\MSCHRT20.OCX")
//
// WARNING: Do not remove the comments that include "@com" directives.
// This source file must be compiled by a @com-aware compiler.
// If you are using the Microsoft Visual J++ compiler, you must use
// version 1.02.3920 or later. Previous versions will not issue an error
// but will not generate COM-enabled class files.
//
package mschrt20.MSChart;
import com.ms.com.*;
import com.ms.com.IUnknown;
import com.ms.com.Variant;
import msdatsrc.*;
public class MSChart extends com.ms.wfc.ui.AxHost
{
private mschrt20._DMSChart _jcommem_ocx;
private mschrt20.MSChart.MSChartEventMulticaster _jcommem_eventmulticaster1;
private com.ms.com.ConnectionPointCookie _jcommem_cookie1;
mschrt20.MSChart.OLEStartDragHandler onOLEStartDrag;
mschrt20.MSChart.OLEGiveFeedbackHandler onOLEGiveFeedback;
mschrt20.MSChart.OLESetDataHandler onOLESetData;
mschrt20.MSChart.OLECompleteDragHandler onOLECompleteDrag;
mschrt20.MSChart.OLEDragOverHandler onOLEDragOver;
mschrt20.MSChart.OLEDragDropHandler onOLEDragDrop;
mschrt20.MSChart.ChartSelectedHandler onChartSelected;
mschrt20.MSChart.TitleSelectedHandler onTitleSelected;
mschrt20.MSChart.FootnoteSelectedHandler onFootnoteSelected;
mschrt20.MSChart.LegendSelectedHandler onLegendSelected;
mschrt20.MSChart.PlotSelectedHandler onPlotSelected;
mschrt20.MSChart.AxisSelectedHandler onAxisSelected;
mschrt20.MSChart.AxisLabelSelectedHandler onAxisLabelSelected;
mschrt20.MSChart.AxisTitleSelectedHandler onAxisTitleSelected;
mschrt20.MSChart.PointSelectedHandler onPointSelected;
mschrt20.MSChart.PointLabelSelectedHandler onPointLabelSelected;
mschrt20.MSChart.SeriesSelectedHandler onSeriesSelected;
mschrt20.MSChart.ChartActivatedHandler onChartActivated;
mschrt20.MSChart.TitleActivatedHandler onTitleActivated;
mschrt20.MSChart.FootnoteActivatedHandler onFootnoteActivated;
mschrt20.MSChart.LegendActivatedHandler onLegendActivated;
mschrt20.MSChart.PlotActivatedHandler onPlotActivated;
mschrt20.MSChart.AxisActivatedHandler onAxisActivated;
mschrt20.MSChart.AxisLabelActivatedHandler onAxisLabelActivated;
mschrt20.MSChart.AxisTitleActivatedHandler onAxisTitleActivated;
mschrt20.MSChart.PointActivatedHandler onPointActivated;
mschrt20.MSChart.PointLabelActivatedHandler onPointLabelActivated;
mschrt20.MSChart.SeriesActivatedHandler onSeriesActivated;
mschrt20.MSChart.AxisUpdatedHandler onAxisUpdated;
mschrt20.MSChart.AxisLabelUpdatedHandler onAxisLabelUpdated;
mschrt20.MSChart.AxisTitleUpdatedHandler onAxisTitleUpdated;
mschrt20.MSChart.ChartUpdatedHandler onChartUpdated;
mschrt20.MSChart.FootnoteUpdatedHandler onFootnoteUpdated;
mschrt20.MSChart.LegendUpdatedHandler onLegendUpdated;
mschrt20.MSChart.PlotUpdatedHandler onPlotUpdated;
mschrt20.MSChart.PointUpdatedHandler onPointUpdated;
mschrt20.MSChart.PointLabelUpdatedHandler onPointLabelUpdated;
mschrt20.MSChart.SeriesUpdatedHandler onSeriesUpdated;
mschrt20.MSChart.TitleUpdatedHandler onTitleUpdated;
mschrt20.MSChart.DataUpdatedHandler onDataUpdated;
com.ms.wfc.core.EventHandler onDonePainting;
//------------------------------------------------------------------------
// Constructors
//------------------------------------------------------------------------
public MSChart()
{
super( "{3A2B370C-BA0A-11D1-B137-0000F8753F5D}" );
super.setAboutBoxDelegate( new com.ms.wfc.ui.AxHost.AboutBoxDelegate( this.AboutBox ) );
}
//------------------------------------------------------------------------
// These methods override com.ms.wfc.ui.AxHost methods.
//------------------------------------------------------------------------
protected synchronized void createSink()
{
try
{
_jcommem_cookie1 = new com.ms.com.ConnectionPointCookie(_jcommem_ocx, _jcommem_eventmulticaster1, mschrt20._DMSChartEvents.class);
}
catch( Throwable _jcom_t )
{
}
}
protected synchronized void detachSink()
{
try
{
_jcommem_cookie1.disconnect();
_jcommem_cookie1 = null;
}
catch( Throwable _jcom_t )
{
}
}
protected synchronized void attachInterfaces()
{
try
{
_jcommem_ocx = (mschrt20._DMSChart)(getOcx());
_jcommem_eventmulticaster1 = new mschrt20.MSChart.MSChartEventMulticaster( this );
}
catch( Exception _jcom_e )
{
}
}
//------------------------------------------------------------------------
// These methods invoke methods directly on the ActiveX Control.
//------------------------------------------------------------------------
public synchronized boolean getAutoIncrement() {
return _jcommem_ocx.getAutoIncrement();
}
public synchronized void setAutoIncrement(boolean AutoIncrement) {
_jcommem_ocx.setAutoIncrement(AutoIncrement);
}
public synchronized boolean getRandomFill() {
return _jcommem_ocx.getRandomFill();
}
public synchronized void setRandomFill(boolean RandomFill) {
_jcommem_ocx.setRandomFill(RandomFill);
}
public synchronized int getChartType() {
return _jcommem_ocx.getChartType();
}
public synchronized void setChartType(int chartType) {
_jcommem_ocx.setChartType(chartType);
}
public synchronized short getColumn() {
return _jcommem_ocx.getColumn();
}
public synchronized void setColumn(short Column) {
_jcommem_ocx.setColumn(Column);
}
public synchronized short getColumnCount() {
return _jcommem_ocx.getColumnCount();
}
public synchronized void setColumnCount(short ColumnCount) {
_jcommem_ocx.setColumnCount(ColumnCount);
}
public synchronized String getColumnLabel() {
return _jcommem_ocx.getColumnLabel();
}
public synchronized void setColumnLabel(String ColumnLabel) {
_jcommem_ocx.setColumnLabel(ColumnLabel);
}
public synchronized short getColumnLabelCount() {
return _jcommem_ocx.getColumnLabelCount();
}
public synchronized void setColumnLabelCount(short ColumnLabelCount) {
_jcommem_ocx.setColumnLabelCount(ColumnLabelCount);
}
public synchronized short getColumnLabelIndex() {
return _jcommem_ocx.getColumnLabelIndex();
}
public synchronized void setColumnLabelIndex(short ColumnLabelIndex) {
_jcommem_ocx.setColumnLabelIndex(ColumnLabelIndex);
}
public synchronized String getData() {
return _jcommem_ocx.getData();
}
public synchronized void setData(String Data) {
_jcommem_ocx.setData(Data);
}
public synchronized String getFootnoteText() {
return _jcommem_ocx.getFootnoteText();
}
public synchronized void setFootnoteText(String FootnoteText) {
_jcommem_ocx.setFootnoteText(FootnoteText);
}
public synchronized boolean getRepaint() {
return _jcommem_ocx.getRepaint();
}
public synchronized void setRepaint(boolean Repaint) {
_jcommem_ocx.setRepaint(Repaint);
}
public synchronized short getRow() {
return _jcommem_ocx.getRow();
}
public synchronized void setRow(short Row) {
_jcommem_ocx.setRow(Row);
}
public synchronized short getRowCount() {
return _jcommem_ocx.getRowCount();
}
public synchronized void setRowCount(short RowCount) {
_jcommem_ocx.setRowCount(RowCount);
}
public synchronized String getRowLabel() {
return _jcommem_ocx.getRowLabel();
}
public synchronized void setRowLabel(String RowLabel) {
_jcommem_ocx.setRowLabel(RowLabel);
}
public synchronized short getRowLabelCount() {
return _jcommem_ocx.getRowLabelCount();
}
public synchronized void setRowLabelCount(short RowLabelCount) {
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?