t

org.nlogo.fileformat

AbstractNLogoFormat

trait AbstractNLogoFormat[A <: ModelFormat[Array[String], A]] extends ModelFormat[Array[String], A]

Source
NLogoFormat.scala
Linear Supertypes
ModelFormat[Array[String], A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractNLogoFormat
  2. ModelFormat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def is3DFormat: Boolean
  2. abstract def isCompatible(model: Model): Boolean
    Definition Classes
    ModelFormat
  3. abstract def isCompatible(location: URI): Boolean
    Definition Classes
    ModelFormat
  4. abstract def isCompatible(source: String): Boolean
    Definition Classes
    ModelFormat
  5. abstract def name: String
    Definition Classes
    AbstractNLogoFormatModelFormat
  6. abstract def widgetReaders: Map[String, WidgetReader]

Concrete Value Members

  1. val Separator: String
  2. val SeparatorRegex: String
  3. def baseModel: Model
    Definition Classes
    ModelFormat
  4. def codeComponent: CodeComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  5. def constructModel(components: Seq[ComponentSerialization[Array[String], A]], sections: Map[String, Array[String]]): Try[Model]
    Definition Classes
    ModelFormat
  6. def defaultComponents: Seq[ComponentSerialization[Array[String], A]]
    Definition Classes
    ModelFormat
  7. lazy val defaultView: View
  8. def emptyModel(optionalComponents: Seq[ComponentSerialization[Array[String], A]]): Model
    Definition Classes
    ModelFormat
  9. def infoComponent: InfoComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  10. def interfaceComponent: InterfaceComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  11. def linkShapesComponent: LinkShapesComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  12. def load(location: URI, optionalComponents: Seq[ComponentSerialization[Array[String], A]]): Try[Model]
    Definition Classes
    ModelFormat
  13. def load(source: String, optionalComponents: Seq[ComponentSerialization[Array[String], A]]): Try[Model]
    Definition Classes
    ModelFormat
  14. def save(model: Model, uri: URI, optionalComponents: Seq[ComponentSerialization[Array[String], A]]): Try[URI]
    Definition Classes
    ModelFormat
  15. lazy val sectionNames: Seq[String]
  16. def sections(location: URI): Try[Map[String, Array[String]]]
    Definition Classes
    AbstractNLogoFormatModelFormat
  17. def sectionsFromSource(source: String): Try[Map[String, Array[String]]]
    Definition Classes
    AbstractNLogoFormatModelFormat
  18. def sectionsToSource(sections: Map[String, Array[String]]): Try[String]
    Definition Classes
    AbstractNLogoFormatModelFormat
  19. def shapesComponent: VectorShapesComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  20. def sourceString(model: Model, optionalComponents: Seq[ComponentSerialization[Array[String], A]]): Try[String]
    Definition Classes
    ModelFormat
  21. def version: VersionComponent.type
    Definition Classes
    AbstractNLogoFormatModelFormat
  22. def writeSections(sections: Map[String, Array[String]], location: URI): Try[URI]
    Definition Classes
    AbstractNLogoFormatModelFormat
  23. object CodeComponent extends ComponentSerialization[Array[String], A]
  24. object InfoComponent extends ComponentSerialization[Array[String], A]
  25. object InterfaceComponent extends ComponentSerialization[Array[String], A]
  26. object LinkShapesComponent extends ComponentSerialization[Array[String], A]
  27. object VectorShapesComponent extends ComponentSerialization[Array[String], A]
  28. object VersionComponent extends ComponentSerialization[Array[String], A]