SDMGuiAutoConvertable
org.nlogo.sdm.gui.SDMGuiAutoConvertable
object SDMGuiAutoConvertable extends AutoConvertable
Attributes
- Source
- SDMGuiAutoConvertable.scala
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Attributes
- Source
- SDMGuiAutoConvertable.scala
Attributes
- Definition Classes
- Source
- SDMGuiAutoConvertable.scala
Inherited methods
def autoConvert(original: Model, autoConverter: AutoConverter): Either[(Model, Seq[Exception]), Model]
Converts the component and returns the updated model
Converts the component and returns the updated model
Returns an either which encapsulates the result of the conversion process. A left indicates that something went wrong and includes both the model, assumed to have undergone a best-effort conversion, and exceptions indicating failures encountered in conversion.
For instance, if a widget errors during conversion, the widget converter converts and returns a Left
containing the model with the other widgets converted and the erroring widget unconverted, as well as the exceptions when converting the widgets
Attributes
- Returns
-
Either a partially-converted model and exceptions, or a fully-converted model
- Inherited from:
- AutoConvertable
- Source
- AutoConverter.scala
Attributes
- Inherited from:
- AutoConvertable
- Source
- AutoConverter.scala
Concrete fields
Attributes
- Source
- SDMGuiAutoConvertable.scala
In this article