📄 jgraphiclist.java
字号:
// **********************************************************************// // <copyright>// // BBN Technologies// 10 Moulton Street// Cambridge, MA 02138// (617) 873-8000// // Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/corba/com/bbn/openmap/layer/specialist/JGraphicList.java,v $// $RCSfile: JGraphicList.java,v $// $Revision: 1.2.2.1 $// $Date: 2004/10/14 18:26:30 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.specialist;import com.bbn.openmap.omGraphics.*;/** class JGraphic */public class JGraphicList extends OMGraphicList { /** * Construct an OMGraphicList. */ public JGraphicList() { super(); }; /** * Construct an OMGraphicList with an initial capacity. * * @param initialCapacity the initial capacity of the list */ public JGraphicList(int initialCapacity) { super(initialCapacity); }; /** * Construct an OMGraphicList with an initial capacity and a * standard increment value. * * @param initialCapacity the initial capacity of the list * @param capacityIncrement the capacityIncrement for resizing */ public JGraphicList(int initialCapacity, int capacityIncrement) { super(initialCapacity); }; public OMGraphic getOMGraphicWithId(String gID) { java.util.Iterator targets = iterator(); while (targets.hasNext()) { OMGraphic graphic = (OMGraphic) targets.next(); if (graphic instanceof JObjectHolder) { com.bbn.openmap.CSpecialist.EComp ecomp = ((JObjectHolder) graphic).getObject(); if (ecomp.cID.equals(gID)) { return graphic; } } } return null; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -