Creating a network element with the API
All you have to do is create a new network element using the class IltNetworkElement and add it to a data source.
How to create a network element through the API
IltNetworkElement ne = new IltNetworkElement("NE",
IltNetworkElement.Type.Digiphone, new IltOSIObjectState());
ne.setAttributeValue(IltObject.PositionAttribute, new IlpPoint(100,100));
IlpDataSource dataSource = new IltDefaultDataSource();
dataSource.addObject(ne);
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.