|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scone.accesstracking2.FrameHistory
public class FrameHistory
Keeps the history of one Window/Frame of a Web-browser to amalyse the movements of the user.
Constructor Summary | |
---|---|
FrameHistory()
|
Method Summary | |
---|---|
void |
add(Access a)
Adds the new Access object to history list. |
boolean |
contains(Access a)
Checks if the given Access object matches one in the FrameHistory in following fields: userId, nodeId, frameName, fragment, query |
Access |
getEventAt(int i)
Get access event at position i |
int |
getLastAction()
Get lastAction |
Access |
getLastEvent()
Get last access event |
java.lang.String |
getLastLinkAnchor()
Get getLastLinkAnchor |
java.lang.String |
getLastLinkPos()
Get getLast Link Position |
java.lang.String |
getLastLinkTitle()
Get LastLinkTitle |
int |
getLastLinkType()
Get lastLinkType |
java.lang.String |
getLastReferrer()
Get getLastReferrer |
java.lang.String |
getLastWindowSize()
Get getWindowSize |
int |
getPosition()
Get position in history |
int |
getPosition(Access a)
Get position and matching Access Object a in the FrameHistory. |
void |
replaceLastEvent(Access a)
Replace last megTime and access event |
void |
replaceLastEvent(java.lang.String frameName,
Access a)
Replace last megTime and access event. |
void |
setLastAction(int lastAction)
Set lastAction |
void |
setLastLinkAnchor(java.lang.String lastLinkAnchor)
Set setLastReferrer |
void |
setLastLinkPos(java.lang.String lastLinkPos)
Set setLastLinkPos |
void |
setLastLinkTitle(java.lang.String lastLinkTitle)
Set setLastLinkTitle |
void |
setLastLinkType(int lastLinkType)
Set lastLinkType |
void |
setLastReferrer(java.lang.String nodeId)
Set setLastReferrer |
void |
setLastWindowSize(java.lang.String lastWindowSize)
Set setLast Window Size |
void |
setPosition(int position)
Set position in history |
void |
showFrameContents()
Show the contents of the FrameHistory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameHistory()
Method Detail |
---|
public void add(Access a)
megTime
- The time when the JavaScriptCode was generateda
- The Access object to add to listpublic boolean contains(Access a)
a
- The Access object
true
if "a" matches one in the FrameHistorypublic int getLastAction()
public void setLastAction(int lastAction)
lastAction
- Bit array that holds reason for last page changepublic int getLastLinkType()
public void setLastLinkType(int lastLinkType)
lastLinkType
- Bit array that holds type of last clicked link...public java.lang.String getLastReferrer()
public void setLastReferrer(java.lang.String nodeId)
lastAction
- Bit array that holds reason for last page changepublic java.lang.String getLastLinkAnchor()
public void setLastLinkAnchor(java.lang.String lastLinkAnchor)
LinkAnchor
- text of last linkpublic java.lang.String getLastLinkTitle()
public void setLastLinkTitle(java.lang.String lastLinkTitle)
title
- of last linkpublic java.lang.String getLastWindowSize()
public void setLastWindowSize(java.lang.String lastWindowSize)
size
- of window at last clickpublic java.lang.String getLastLinkPos()
public void setLastLinkPos(java.lang.String lastLinkPos)
position
- of click on page (inlcuding the scrolling!)public void setPosition(int position)
position
- Position in historypublic int getPosition()
public Access getLastEvent()
public Access getEventAt(int i)
i
- position of event
public void replaceLastEvent(Access a)
megTime
- a
- public void replaceLastEvent(java.lang.String frameName, Access a)
frameName
- Identifies the framemegTime
- a
- The Access Eventpublic int getPosition(Access a)
a
- The Access object
public void showFrameContents()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |