Class: FixtureList

Assessor. FixtureList

new FixtureList

Tracks the fixtures.
Parameters:
Name Type Argument Description
fl Assessor.FixtureList <optional>
Optional import the fixtures from this list.
Source:
  • assessor.js, line 153

Extends

Members

class :String

Classname of the object the current instance is created from.
Source:
  • assessor.js, line 37

expanded :Boolean

A flag to indicate this is an actual instance.
Default Value:
  • true
Source:
  • assessor.js, line 28

list :Object

The property name is the element name as introduced by the assessment author and the property value is a reference to an element created during the actual assessment.
Source:
  • assessor.js, line 159

namespace :String

The namespace the class is in or null if the class is defined directly in the main namespace.
Source:
  • assessor.js, line 35

parameters :String

JSON string representing the constructor parameters as elements of an array.
Source:
  • assessor.js, line 49

Methods

clear

Clear all the fixtures.
Source:
  • assessor.js, line 193

get

Retrieve the current fixture of a given element.
Parameters:
Name Type Description
name String
Source:
  • assessor.js, line 173
Returns:
Type
JXG.GeometryElement

import

Import fixtures from another fixture list.
Parameters:
Name Type Description
fl Assessor.FixtureList
Source:
  • assessor.js, line 201

remove

Remove fixtures.
Source:
  • assessor.js, line 215

set

Add a new fixture.
Parameters:
Name Type Description
name Object
element JXG.GeometryElement
Source:
  • assessor.js, line 182

simplify

Replaces the target references by the elements names.
Source:
  • assessor.js, line 227
Returns:
Type
Object

toJSON

Generates a JSON representation of this object that can be used to restore it.
Source:
  • assessor.js, line 57
Returns:
Type
String