|
ION Java User's Guide: ION Java Class and Method Reference |
|
The addIONDrawable() method adds an object that implements the IONDrawable interface to the internal list of drawing areas maintained by this object. An IONDrawable represents an area that graphic primitives can be rendered onto. When the window is added to this class, that drawing area is made the current drawing area being used for graphical output. The developer has the option of telling ION what index to use and also requesting that the method send information about the new drawable to the server. The function returns the window index number that is used by IDL to reference the drawing area.
public final int addIONDrawable(IONDrawable drawable)
public final int addIONDrawable(IONDrawable drawable, int index)
public final int addIONDrawable(IONDrawable drawable, boolean bSendAttr)
public final int addIONDrawable(IONDrawable drawable, int index, boolean bSendAttr)
An object that implements the IONDrawable interface.
The index to assign to the drawable. If no index is supplied, a free index is used.
If true, the server is notified of the change to the current drawable.
The function returns the window index number that is used by IDL to reference the drawable.
None.
int iIndex = addIONDrawable( drawable); int iIndex = addIONDrawable( drawable, index);
IDL Online Help (March 06, 2007)