object ModelsLibrary
- Source
- ModelsLibrary.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ModelsLibrary
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class JNode extends DefaultMutableTreeNode
- case class Leaf(name: String, path: String) extends Node with Product with Serializable
- sealed trait Node extends AnyRef
- case class Tree(name: String, path: String, children: Seq[Node])(implicit childOrdering: Ordering[String]) extends Node with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def findModelsBySubstring(targetName: String): Seq[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getImagePath(filePath: String): String
-
def
getModelPath(targetName: String): Option[String]
scans for and returns the full path name to the given model in the models library.
scans for and returns the full path name to the given model in the models library.
- targetName
the name of the model to scan for, not including the ".nlogo" extension.
- returns
the path to the model, or None if no such model is in the library.
- def getModelPaths(exclusive: Boolean, useExtensionExamples: Boolean): Array[String]
- def getModelPaths(exclusive: Boolean): Array[String]
- def getModelPaths: Array[String]
- def getModelPathsAtRoot(path: String): Array[String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modelsRoot: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def needsModelScan: Boolean
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- var rootNode: Option[Node]
- def scanForModels(exclusive: Boolean, useExtensionExamples: Boolean): Unit
- def scanForModels(exclusive: Boolean): Unit
- def scanForModelsAtRoot(path: String, exclusive: Boolean): Option[Node]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object NLogoModelOrdering extends Ordering[String]
- object Tree extends Serializable