public class InlineChoiceEdit extends AssessmentItemEditorBean
BaseEditorBean.ConfirmationController
Constructor and Description |
---|
InlineChoiceEdit() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createBlank()
Creates a new blank.
|
java.lang.String |
editBlanks()
Starts editing blanks.
|
java.lang.Object |
getController()
Gets the controller.
|
java.util.List<RowItem<TextEntryInteractionItem>> |
getFillInTheBlankList(org.tencompetence.services.xml.qti.elements.InlineBlock inlineBlock)
Creates a list of all the blanks defined for the current item.
|
java.util.List<RowItem<InlineChoiceInteractionItem>> |
getInlineChoiceList(org.tencompetence.services.xml.qti.elements.InlineBlock inlineBlock)
Creates a list of all the blanks defined for the current item.
|
int |
getSelectionX()
Gets the x-coordinate of the selection.
|
int |
getSelectionY()
Gets the y-coordinate of the selection.
|
boolean |
isEditingBlanks()
Check if view is in editing blanks mode.
|
boolean |
isInlineChoice()
Check if current question is inline-choice.
|
java.lang.String |
resetBlanks()
Resets editing blanks.
|
void |
setSelectionX(int selectionX)
Sets the x-coordinate of the selection.
|
void |
setSelectionY(int selectionY)
Sets the y-coordinate of the selection.
|
getText, getTypeName, setText
cancel, fetchEditorInput, getCanNavigateBack, getConfirmationController, getDescription, getEditorInput, getPageInit, getPermissionsURL, getTitle, isAddButtonVisible, isAllowDelete, isAllowPermissions, isAllowUpdate, isAllowView, isDirty, isEditable, isReadOnly, passEditorInput, permissions, save, setDescription, setDirty, setEditorInput, setTitle, valuesChanged
checkModelPermission, checkModelPermission, checkPortletPermission, checkPortletPermission, getToggleText, isExpanded, toggle
public java.lang.Object getController()
public java.lang.String editBlanks()
public java.lang.String createBlank()
public java.lang.String resetBlanks()
public boolean isEditingBlanks()
public boolean isInlineChoice()
public int getSelectionX()
public void setSelectionX(int selectionX)
selectionX
- the new x-coordinatepublic int getSelectionY()
public void setSelectionY(int selectionY)
selectionY
- the new y-coordinatepublic java.util.List<RowItem<TextEntryInteractionItem>> getFillInTheBlankList(org.tencompetence.services.xml.qti.elements.InlineBlock inlineBlock)
inlineBlock
- the inline block containing the interaction listpublic java.util.List<RowItem<InlineChoiceInteractionItem>> getInlineChoiceList(org.tencompetence.services.xml.qti.elements.InlineBlock inlineBlock)
inlineBlock
- the inline block containing the interaction list