Class ControlsSpec
java.lang.Object
dev.jcputney.elearning.parser.input.lom.properties.ControlsSpec
- All Implemented Interfaces:
Serializable
Represents the controlsSpec complex type.
The following schema snippet specifies its contents:
<xs:complexType name="controlsSpec">
<xs:all>
<xs:element name="showFinishButton" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showCloseItem" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showHelp" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showProgressBar" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="useMeasureProgressBar" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showCourseStructure" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="courseStructureStartsOpen" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showNavBar" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="showTitleBar" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="enableFlowNav" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="enableChoiceNav" type="yesNoType" minOccurs="0" maxOccurs="1" />
<xs:element name="statusDisplay" type="statusDisplayType" minOccurs="0" maxOccurs="1" />
<xs:element name="forceDisableRootChoice" type="yesNoType" minOccurs="0" maxOccurs="1" />
</xs:all>
</xs:complexType>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the value of the courseStructureStartsOpen property, which determines whether the course structure starts in an open state or not.Retrieves the current state of the enableChoiceNav property.Retrieves the value of the enableFlowNav property, which indicates whether the flow navigation functionality is enabled or disabled.Retrieves the current value of the forceDisableRootChoice setting.Retrieves the value of the showCloseItem property, which indicates whether the "Close" item should be displayed or hidden.Retrieves the value of the showCourseStructure property, which determines whether the course structure should be displayed or hidden.Retrieves the value of the showFinishButton property, which determines whether the "Finish" button should be displayed or not.Retrieves the value of the showHelp property, which defines whether the help section should be displayed or not.Retrieves the value of the showNavBar property, which determines whether the navigation bar should be displayed or not.Retrieves the value of the showProgressBar property, which determines whether the progress bar should be displayed or not.Retrieves the value of the showTitleBar property, which determines whether the title bar should be displayed or not.Retrieves the current status display type.Retrieves the value of the useMeasureProgressBar property, which determines whether the measure progress bar functionality is enabled or disabled.inthashCode()voidsetCourseStructureStartsOpen(YesNoType courseStructureStartsOpen) Sets the value of the courseStructureStartsOpen property, which determines whether the course structure should start in an open state or not.voidsetEnableChoiceNav(YesNoType enableChoiceNav) Sets the enableChoiceNav property to define whether choice navigation is enabled or not.voidsetEnableFlowNav(YesNoType enableFlowNav) Sets the flow navigation enablement status.voidsetForceDisableRootChoice(YesNoType forceDisableRootChoice) Sets the value indicating whether the root choice should be forcibly disabled.voidsetShowCloseItem(YesNoType showCloseItem) Sets the value of the showCloseItem property, which determines whether the "Close" item should be displayed or hidden.voidsetShowCourseStructure(YesNoType showCourseStructure) Sets the value of the showCourseStructure property, which determines whether the course structure should be displayed or hidden.voidsetShowFinishButton(YesNoType showFinishButton) Sets the value of the showFinishButton property, which determines whether the "Finish" button should be displayed or not.voidsetShowHelp(YesNoType showHelp) Sets the value of the showHelp property, determining whether the help section should be displayed or hidden.voidsetShowNavBar(YesNoType showNavBar) Sets the value of the showNavBar property, which determines whether the navigation bar should be displayed or hidden.voidsetShowProgressBar(YesNoType showProgressBar) Sets the value of the showProgressBar property, which determines whether the progress bar should be displayed or hidden.voidsetShowTitleBar(YesNoType showTitleBar) Sets whether the title bar should be displayed.voidsetStatusDisplay(StatusDisplayType statusDisplay) Updates the status display to the specified type.voidsetUseMeasureProgressBar(YesNoType useMeasureProgressBar) Sets the value of the useMeasureProgressBar property, which determines whether the measure progress bar functionality is enabled or disabled.
-
Constructor Details
-
ControlsSpec
public ControlsSpec()Default constructor for the ControlsSpec class. This constructor initializes a new instance of the ControlsSpec class. No specific initialization is performed in this constructor.
-
-
Method Details
-
getShowFinishButton
Retrieves the value of the showFinishButton property, which determines whether the "Finish" button should be displayed or not.- Returns:
- the current value of the showFinishButton property, either as YES, NO, TRUE, or FALSE.
-
setShowFinishButton
Sets the value of the showFinishButton property, which determines whether the "Finish" button should be displayed or not.- Parameters:
showFinishButton- the value to set for the showFinishButton property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getShowCloseItem
Retrieves the value of the showCloseItem property, which indicates whether the "Close" item should be displayed or hidden.- Returns:
- the current value of the showCloseItem property, represented as one of the values defined in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setShowCloseItem
Sets the value of the showCloseItem property, which determines whether the "Close" item should be displayed or hidden.- Parameters:
showCloseItem- the value to set for the showCloseItem property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getShowHelp
Retrieves the value of the showHelp property, which defines whether the help section should be displayed or not.- Returns:
- the current value of the showHelp property, represented as one of the values in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setShowHelp
Sets the value of the showHelp property, determining whether the help section should be displayed or hidden.- Parameters:
showHelp- the value to set for the showHelp property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getShowProgressBar
Retrieves the value of the showProgressBar property, which determines whether the progress bar should be displayed or not.- Returns:
- the current value of the showProgressBar property, represented as one of the values defined in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setShowProgressBar
Sets the value of the showProgressBar property, which determines whether the progress bar should be displayed or hidden.- Parameters:
showProgressBar- the value to set for the showProgressBar property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getUseMeasureProgressBar
Retrieves the value of the useMeasureProgressBar property, which determines whether the measure progress bar functionality is enabled or disabled.- Returns:
- the current value of the useMeasureProgressBar property, represented as one of the values defined in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setUseMeasureProgressBar
Sets the value of the useMeasureProgressBar property, which determines whether the measure progress bar functionality is enabled or disabled.- Parameters:
useMeasureProgressBar- the value to set for the useMeasureProgressBar property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getShowCourseStructure
Retrieves the value of the showCourseStructure property, which determines whether the course structure should be displayed or hidden.- Returns:
- the current value of the showCourseStructure property, represented as one of the values defined in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setShowCourseStructure
Sets the value of the showCourseStructure property, which determines whether the course structure should be displayed or hidden.- Parameters:
showCourseStructure- the value to set for the showCourseStructure property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getCourseStructureStartsOpen
Retrieves the value of the courseStructureStartsOpen property, which determines whether the course structure starts in an open state or not.- Returns:
- the current value of the courseStructureStartsOpen property, represented as one of the values in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setCourseStructureStartsOpen
Sets the value of the courseStructureStartsOpen property, which determines whether the course structure should start in an open state or not.- Parameters:
courseStructureStartsOpen- the value to set for the courseStructureStartsOpen property. Accepts values of either YES, NO, TRUE, or FALSE, as defined by the YesNoType enum.
-
getShowTitleBar
Retrieves the value of the showTitleBar property, which determines whether the title bar should be displayed or not.- Returns:
- the current value of the showTitleBar property, represented as one of the values in the YesNoType enumeration (YES, NO, TRUE, or FALSE).
-
setShowTitleBar
Sets whether the title bar should be displayed.- Parameters:
showTitleBar- a YesNoType value indicating if the title bar should be visible (Yes) or hidden (No)
-
getStatusDisplay
Retrieves the current status display type.- Returns:
- the current status display of type StatusDisplayType
-
setStatusDisplay
Updates the status display to the specified type.- Parameters:
statusDisplay- the new status display type to set
-
getForceDisableRootChoice
Retrieves the current value of the forceDisableRootChoice setting.- Returns:
- the value of forceDisableRootChoice of type YesNoType
-
setForceDisableRootChoice
Sets the value indicating whether the root choice should be forcibly disabled.- Parameters:
forceDisableRootChoice- a value of type YesNoType that determines whether the root choice is forcibly disabled.
-
equals
-
hashCode
public int hashCode()
-