com
.
metl
.
data
History
Related Docs:
object History
|
package data
case class
History
(
jid:
String
,
xScale:
Double
=
1.0
,
yScale:
Double
=
1.0
,
xOffset:
Double
=
0
,
yOffset:
Double
=
0
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
History
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
History
(
jid:
String
,
xScale:
Double
=
1.0
,
yScale:
Double
=
1.0
,
xOffset:
Double
=
0
,
yOffset:
Double
=
0
)
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
def
addAttendance
(
s:
Attendance
,
store:
Boolean
=
true
)
:
History
def
addCommand
(
s:
MeTLCommand
,
store:
Boolean
=
true
)
:
History
def
addHighlighter
(
s:
MeTLInk
,
store:
Boolean
=
true
)
:
History
def
addImage
(
s:
MeTLImage
,
store:
Boolean
=
true
)
:
History
def
addInk
(
s:
MeTLInk
,
store:
Boolean
=
true
)
:
History
def
addMeTLMoveDelta
(
s:
MeTLMoveDelta
,
store:
Boolean
=
true
)
:
History
def
addQuiz
(
s:
MeTLQuiz
,
store:
Boolean
=
true
)
:
History
def
addQuizResponse
(
s:
MeTLQuizResponse
,
store:
Boolean
=
true
)
:
History
def
addStanza
(
s:
MeTLStanza
)
:
History
def
addSubmission
(
s:
MeTLSubmission
,
store:
Boolean
=
true
)
:
History
def
addText
(
s:
MeTLText
,
store:
Boolean
=
true
)
:
History
def
adjustToVisual
(
xT:
Double
,
yT:
Double
,
xS:
Double
,
yS:
Double
)
:
History
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
attachRealtimeHook
(
hook: (
MeTLStanza
) ⇒
Unit
)
:
History
var
attendances
:
List
[
Attendance
]
Attributes
protected
var
bottom
:
Double
Attributes
protected
def
calculateBounds
:
Unit
Attributes
protected
def
calculateBoundsWithout
(
sLeft:
Double
,
sRight:
Double
,
sTop:
Double
,
sBottom:
Double
)
:
Unit
Attributes
protected
var
canvasContents
:
List
[
MeTLCanvasContent
]
Attributes
protected
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
var
commands
:
List
[
MeTLCommand
]
Attributes
protected
def
createHistory
(
jid:
String
,
xScale:
Double
,
yScale:
Double
,
xOffset:
Double
,
yOffset:
Double
)
:
History
Attributes
protected
var
dirtyImages
:
List
[
MeTLDirtyImage
]
Attributes
protected
var
dirtyInks
:
List
[
MeTLDirtyInk
]
Attributes
protected
var
dirtyTexts
:
List
[
MeTLDirtyText
]
Attributes
protected
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
filter
(
filterFunc: (
MeTLStanza
) ⇒
Boolean
)
:
History
def
filterCanvasContents
(
filterFunc: (
MeTLCanvasContent
) ⇒
Boolean
,
includeNonCanvasContents:
Boolean
=
true
)
:
History
def
filterCanvasContentsForMoveDelta
(
md:
MeTLMoveDelta
)
:
History
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getAll
:
List
[
MeTLStanza
]
def
getAttendances
:
List
[
Attendance
]
def
getBottom
:
Double
def
getCanvasContents
:
List
[
MeTLCanvasContent
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getCommands
:
List
[
MeTLCommand
]
def
getHighlighters
:
List
[
MeTLInk
]
def
getImageByIdentity
(
identity:
String
)
:
Option
[
MeTLImage
]
def
getImageBySource
(
source:
String
)
:
Option
[
MeTLImage
]
def
getImages
:
List
[
MeTLImage
]
def
getInks
:
List
[
MeTLInk
]
def
getLatestCommands
:
Map
[
String
,
MeTLCommand
]
def
getLatestTimestamp
:
Long
def
getLeft
:
Double
def
getQuizByIdentity
(
identity:
String
)
:
Option
[
MeTLQuiz
]
def
getQuizResponses
:
List
[
MeTLQuizResponse
]
def
getQuizzes
:
List
[
MeTLQuiz
]
def
getRenderable
:
List
[
MeTLCanvasContent
]
def
getRenderableGrouped
: (
List
[
MeTLText
],
List
[
MeTLInk
],
List
[
MeTLInk
],
List
[
MeTLImage
])
def
getRight
:
Double
def
getSubmissionByAuthorAndIdentity
(
author:
String
,
identity:
String
)
:
Option
[
MeTLSubmission
]
def
getSubmissions
:
List
[
MeTLSubmission
]
def
getTexts
:
List
[
MeTLText
]
def
getTop
:
Double
def
getUserSpecificHistory
(
user:
String
,
isTeacher:
Boolean
=
false
)
:
History
def
growBounds
(
sLeft:
Double
,
sRight:
Double
,
sTop:
Double
,
sBottom:
Double
)
:
Unit
Attributes
protected
var
highlighters
:
List
[
MeTLInk
]
Attributes
protected
var
images
:
List
[
MeTLImage
]
Attributes
protected
var
inks
:
List
[
MeTLInk
]
Attributes
protected
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
jid
:
String
def
lastModified
:
Long
var
lastModifiedTime
:
Long
Attributes
protected
def
lastVisuallyModified
:
Long
var
lastVisuallyModifiedTime
:
Long
Attributes
protected
var
latestCommands
:
Map
[
String
,
MeTLCommand
]
Attributes
protected
var
latestTimestamp
:
Long
Attributes
protected
var
left
:
Double
Attributes
protected
def
merge
(
other:
History
)
:
History
var
metlMoveDeltas
:
List
[
MeTLMoveDelta
]
Attributes
protected
def
moveContent
(
s:
MeTLMoveDelta
)
:
Unit
Attributes
protected
def
moveIndividualContent
(
s:
MeTLMoveDelta
,
c:
MeTLCanvasContent
,
left:
Double
=
0
,
top:
Double
=
0
)
:
Unit
Attributes
protected
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
var
outputHook
: (
MeTLStanza
) ⇒
Unit
Attributes
protected
def
processNewStanza
(
s:
MeTLStanza
)
:
History
var
quizResponses
:
List
[
MeTLQuizResponse
]
Attributes
protected
var
quizzes
:
List
[
MeTLQuiz
]
Attributes
protected
def
removeImage
(
dirtyImage:
MeTLDirtyImage
,
store:
Boolean
=
true
)
:
History
def
removeInk
(
dirtyInk:
MeTLDirtyInk
,
store:
Boolean
=
true
)
:
History
def
removeText
(
dirtyText:
MeTLDirtyText
,
store:
Boolean
=
true
)
:
History
def
resetToOriginalVisual
:
History
var
right
:
Double
Attributes
protected
def
scale
(
factor:
Double
)
:
History
def
scaleItemToSuitHistory
(
cc:
MeTLCanvasContent
)
:
MeTLCanvasContent
Attributes
protected
def
shouldAdd
(
cc:
MeTLCanvasContent
)
:
Boolean
Attributes
protected
def
shouldAdjust
:
Boolean
Attributes
protected
def
shouldRender
:
Boolean
var
stanzas
:
List
[
MeTLStanza
]
Attributes
protected
var
submissions
:
List
[
MeTLSubmission
]
Attributes
protected
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
var
texts
:
List
[
MeTLText
]
Attributes
protected
var
top
:
Double
Attributes
protected
def
unscaleItemToSuitHistory
(
cc:
MeTLCanvasContent
)
:
MeTLCanvasContent
Attributes
protected
def
until
(
before:
Long
)
:
History
def
update
(
visual:
Boolean
)
:
Unit
Attributes
protected
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
xOffset
:
Double
val
xScale
:
Double
val
yOffset
:
Double
val
yScale
:
Double
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped