org
.
nlogo
.
core
Model
Related Docs:
object Model
|
package core
case class
Model
(
code:
String
=
""
,
widgets:
Seq
[
Widget
] =
List(View())
,
info:
String
=
""
,
version:
String
=
"NetLogo 6.0"
,
turtleShapes:
Seq
[
VectorShape
] =
Model.defaultShapes
,
linkShapes:
Seq
[
LinkShape
] =
Model.defaultLinkShapes
,
optionalSections:
Seq
[
OptionalSection
[_]] =
Seq()
)
extends
Product
with
Serializable
Source
Model.scala
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Model
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Model
(
code:
String
=
""
,
widgets:
Seq
[
Widget
] =
List(View())
,
info:
String
=
""
,
version:
String
=
"NetLogo 6.0"
,
turtleShapes:
Seq
[
VectorShape
] =
Model.defaultShapes
,
linkShapes:
Seq
[
LinkShape
] =
Model.defaultLinkShapes
,
optionalSections:
Seq
[
OptionalSection
[_]] =
Seq()
)
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[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
code
:
String
def
constraints
:
Map
[
String
,
ConstraintSpecification
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hasValueForOptionalSection
(
key:
String
)
:
Boolean
val
info
:
String
def
interfaceGlobalCommands
:
Seq
[
String
]
def
interfaceGlobals
:
Seq
[
String
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
linkShapes
:
Seq
[
LinkShape
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
optionalSectionValue
[
A <:
AnyRef
]
(
key:
String
)
(
implicit
ct:
ClassTag
[
OptionalSection
[
A
]]
)
:
Option
[
A
]
val
optionalSections
:
Seq
[
OptionalSection
[_]]
def
plots
:
Seq
[
Plot
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
turtleShapes
:
Seq
[
VectorShape
]
val
version
:
String
def
view
:
View
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
widgets
:
Seq
[
Widget
]
def
withOptionalSection
[
A <:
AnyRef
]
(
key:
String
,
sectionValue:
Option
[
A
]
,
default:
A
)
:
Model
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped