JavaScript must be enabled in order for you to use JSXGraph and JSXGraph reference. However, it seems JavaScript is either disabled or not supported by your browser.

Class Index | File Index

Elements

Classes


Class JXG.Group


      ↳ JXG.Group

In this class all group management is done.

Defined in: group.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
JXG.Group(board, id, name, objects)
Creates a new instance of Group.
Field Summary
Field Attributes Field Name and Description
<deprecated>  
Method Summary
Method Attributes Method Name and Description
 
addGroup(group)
Adds all points in a group to this group.
 
addPoint(object)
Adds an Point to this group.
 
addPoints(objects)
Adds multiple points to this group.
 
removePoint(point)
Removes a point from the group.
 
Releases the group added to the points in this group, but only if this group is the last group.
 
update(point, dX, dY)
Sends an update to all group members.
Class Detail
JXG.Group(board, id, name, objects)
Creates a new instance of Group.
Parameters:
{JXG.Board} board


{String} id
Unique identifier for this object. If null or an empty string is given, an unique id will be generated by Board


{String} name
Not necessarily unique name, displayed on the board. If null or an empty string is given, an unique name will be generated.


{Array} objects
Array of points to add to this group.


Field Detail
setProperty
Deprecated:
Use setAttribute
Method Detail
addGroup(group)
Adds all points in a group to this group.
Parameters:
{JXG.Group} group
The group added to this group.

addPoint(object)
Adds an Point to this group.
Parameters:
{JXG.Point} object
The point added to the group.

addPoints(objects)
Adds multiple points to this group.
Parameters:
{Array} objects
An array of points to add to the group.

removePoint(point)
Removes a point from the group.
Parameters:
{JXG.Point} point

ungroup()
Releases the group added to the points in this group, but only if this group is the last group.

update(point, dX, dY)
Sends an update to all group members. This method is called from the points' coords object event listeners and not by the board.
Parameters:
{JXG.Point} point
The point that caused the update.
{Number} dX
{Number} dY

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 27 2013 11:32:43 GMT+0200 (CEST)