public interface VisualResource extends Resource
| Modifier and Type | Method and Description |
|---|---|
void |
setHandle(Handle handle)
Used by the main GUI to tell this VR what handle created it.
|
void |
setTarget(Object target)
Called by the GUI when this viewer/editor has to initialise itself for a
specific object.
|
default void |
targetReinitialised()
Used by the main GUI to tell this VR that the object it's displaying has
been reinitialised and so the VR may need to update it's display.
|
cleanup, getParameterValue, init, setParameterValue, setParameterValuesgetFeatures, setFeaturesgetName, setNamevoid setTarget(Object target) throws IllegalArgumentException
target - the object (be it a Resource,
DataStore or whatever) this viewer has to displayIllegalArgumentException - if the view is incapable of displaying
the supplied target resource, for whatever reason.void setHandle(Handle handle)
default void targetReinitialised()
Copyright © 2024 GATE. All rights reserved.