org.olat.ims.qti.editor.tree
Interface IQtiNode

All Superinterfaces:
INode
All Known Implementing Classes:
AssessmentNode, GenericQtiNode, ItemNode, SectionNode

public interface IQtiNode
extends INode

Initial Date: Nov 18, 2004

Author:
patrick

Method Summary
 TabbedPane createEditTabbedPane(UserRequest ureq, WindowControl wControl, Translator trnsltr, QTIEditorMainController editorMainController)
           
 Controller createRunController(UserRequest ureq, WindowControl wControl)
           
 QTIObject getQTIObjectAt(int position)
          Return the QTI Object at the given position.
 QTIObject getUnderlyingQTIObject()
           
 void insertQTIObjectAt(QTIObject object, int position)
          Insert a QTI node at the specific position.
 QTIObject removeQTIObjectAt(int position)
          Remove the QTI node at the specific position.
 
Methods inherited from interface org.olat.core.util.nodes.INode
addChild, getChildAt, getChildCount, getIdent, getParent, getPosition, insert, remove, removeAllChildren, removeFromParent, setParent
 

Method Detail

createRunController

Controller createRunController(UserRequest ureq,
                               WindowControl wControl)
Parameters:
ureq -
wControl -
Returns:
Controller

createEditTabbedPane

TabbedPane createEditTabbedPane(UserRequest ureq,
                                WindowControl wControl,
                                Translator trnsltr,
                                QTIEditorMainController editorMainController)
Parameters:
ureq -
wControl -
trnsltr -
editorMainController - TODO
Returns:
Controller

getUnderlyingQTIObject

QTIObject getUnderlyingQTIObject()
Returns:
The underlying QTI Object.

getQTIObjectAt

QTIObject getQTIObjectAt(int position)
Return the QTI Object at the given position.

Parameters:
position -
Returns:
QTI Object

insertQTIObjectAt

void insertQTIObjectAt(QTIObject object,
                       int position)
Insert a QTI node at the specific position.

Parameters:
object -
position -

removeQTIObjectAt

QTIObject removeQTIObjectAt(int position)
Remove the QTI node at the specific position.

Parameters:
position -
Returns:
The removed node