欢迎来到天天文库
浏览记录
ID:50186777
大小:152.50 KB
页数:63页
时间:2020-03-06
《门店管理系统代码.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、63packagejxl.biff.drawing;importcommon.Assert;importcommon.Logger;importjava.io.IOException;importjxl.WorkbookSettings;importjxl.write.biff.File;StoremanagementclassComboBoximplementsDrawingGroupObject{privatestaticLoggerlogger=Logger.getLogger(ComboBox.
2、class);privateEscherContainerreadSpContainer;privateEscherContainerspContainer;privateMsoDrawingRecordmsoDrawingRecord;privateObjRecordobjRecord;privatebooleaninitialized=false;privateintobjectId;privateintblipId;privateintshapeId;privateintcolumn;privat
3、eintrow;privatedoublewidth;privatedoubleheight;privateintreferenceCount;privateEscherContainerescherData;privateOriginorigin;privateDrawingGroupdrawingGroup;privateDrawingDatadrawingData;privateShapeTypetype;privateintdrawingNumber;privateWorkbookSetting
4、sworkbookSettings;StoremanagementComboBox(MsoDrawingRecordmso,ObjRecordobj,DrawingDatadd,DrawingGroupdg,WorkbookSettingsws){this.drawingGroup=dg;this.msoDrawingRecord=mso;this.drawingData=dd;this.objRecord=obj;this.initialized=false;this.workbookSettings
5、=ws;this.origin=Origin.READ;this.drawingData.addData(this.msoDrawingRecord.getData());this.drawingNumber=(this.drawingData.getNumDrawings()-1);this.drawingGroup.addDrawing(this);Assert.verify((mso!=null)&&(obj!=null));initialize();63}StoremanagementCombo
6、Box(DrawingGroupObjectdgo,DrawingGroupdg,WorkbookSettingsws){ComboBoxd=(ComboBox)dgo;Assert.verify(d.origin==Origin.READ);this.msoDrawingRecord=d.msoDrawingRecord;this.objRecord=d.objRecord;this.initialized=false;this.origin=Origin.READ;this.drawingData=
7、d.drawingData;this.drawingGroup=dg;this.drawingNumber=d.drawingNumber;this.drawingGroup.addDrawing(this);this.workbookSettings=ws;}StoremanagementComboBox(){this.initialized=true;this.origin=Origin.WRITE;this.referenceCount=1;this.type=ShapeType.HOST_CON
8、TROL;}privatevoidinitialize(){this.readSpContainer=this.drawingData.getSpContainer(this.drawingNumber);Assert.verify(this.readSpContainer!=null);EscherRecord[]children=this.readSpContainer.getChildren();Spsp=(Sp)this.readS
此文档下载收益归作者所有