Runtime.SetRetrievableObject

Prototypes

static void SetRetrievableObject( Object obj )

Parameters

Object obj
A reference to the object.

Remarks

This method instructs the Runtime class to store a reference to an arbitrary Java object for retrieval at a later time. Use the method Runtime.GetRetrievableObject to retrieve a reference to the object.

Notes
Example
start CreatePlot( x, y );
    declare ScatterPlot plot;
    plot = ScatterPlot.Create( "Example", x, y );
    Runtime.SetRetrievableObject( plot );
finish;

x = 1:10;
y = 1:10;
run CreatePlot( x, y );
declare Plot plot = Runtime.GetRetrievableObject();
plot.ShowReferenceLines();
See Also

Runtime.GetRetrievableObject

Runtime.GetRetrievableString

Runtime.SetRetrievableString