Previous ION Java User's Guide: ION Java Class and Method Reference Next

removeDrawable()

The removeDrawable() method removes a graphic from the connection object. Once the graphic has been removed from the connection object, the graphic can no longer communicate with the ION Server.

Syntax

public IONDrawable removeDrawable(IONGrDrawable ionGraphic)

public IONDrawable removeDrawable(IONJGrDrawable ionGraphic)

public IONDrawable removeDrawable(int iGraphic)

Return Value

This method returns a reference to the removed IONGrDrawable object.

Arguments

ionGraphic

An object of the IONGrDrawable class that is being removed from the connection.

iGraphic

A zero-based integer index designating which IONGrDrawable object to remove from the connection (the IDL window index).

Exceptions

None.

Example

IONGrDrawable draw = con.removeDrawable(iongraphic);  
IONGrDrawable draw = con.removeDrawable(1);  

  IDL Online Help (March 06, 2007)