public interface Contextual
|Modifier and Type||Method and Description|
Gets the application context to which the object belongs.
Gets the application context to which the object belongs, or null if
Sets the application context to which the object belongs.
setContext(Context)has not yet been called on this object.
default void setContext(Context context)
Typically this method simply delegates to
and should be called only once to populate the context. Most contextual
objects do not support later alteration of the context, and will throw
IllegalStateException if this method is invoked again.
Copyright © 2015–2019 SciJava. All rights reserved.