|
ION Java User's Guide: ION Java Class and Method Reference |
|
The addDrawable() method adds the specified ION graphic to the connection object. In turn, the graphic objects sets its reference back to the connection. Once added, the graphic can communicate with the ION Server and thus request graphics and information.
| Note When using an IONGrConnection class, it is recommended that you add a drawable method using addDrawable(). Do not use the parent class IONGraphicsClient.addIONDrawable since this method does not set the connection from the drawable method back to the connection. |
public int addDrawable(IONGrDrawable ionGraphic)
public int addDrawable(IONJGrDrawable ionGraphic)
This method returns a reference to the added IONGrDrawable/IONJGrDrawable object.
An object of the IONGrDrawable class to add to the connection object.
None.
IONGrDrawable draw; con.addDrawable(draw);
IDL Online Help (March 06, 2007)