Package mgui.interfaces.shapes.video
Class ChangeSectionVideoTask
java.lang.Object
mgui.interfaces.graphics.video.VideoTask
mgui.interfaces.graphics.video.VideoTask3D
mgui.interfaces.shapes.video.ChangeSectionVideoTask
public class ChangeSectionVideoTask extends VideoTask3D
Video task which changes the current section, either once or multiple times over an interval.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Nested Class Summary
Nested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType
-
Field Summary
Fields inherited from class mgui.interfaces.graphics.video.VideoTask
isOn, start_time, started, stop_time
-
Constructor Summary
Constructors Constructor Description ChangeSectionVideoTask()
ChangeSectionVideoTask(int start, int stop, InterfaceGraphic2D graphic_2d, int start_section, int end_section)
Instantiates this task with the given arguments. -
Method Summary
Modifier and Type Method Description java.lang.Object
clone()
protected boolean
do_it(InterfaceGraphic<?> g, long time)
Perform this task, contingent ontime
.java.lang.String
getName()
java.lang.String
getXMLSchema()
Returns the XML schema for this object's XML representationvoid
setFromTask(VideoTask task)
Methods inherited from class mgui.interfaces.graphics.video.VideoTask
compareTo, getDTD, getLocalName, getSchema, getShortXML, getShortXML, getStart, getStop, getXML, getXML, handleXMLElementEnd, handleXMLElementStart, handleXMLString, isActive, perform, reset, setStart, setStop, updateTask, writeXML, writeXML, writeXML
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ChangeSectionVideoTask
public ChangeSectionVideoTask() -
ChangeSectionVideoTask
public ChangeSectionVideoTask(int start, int stop, InterfaceGraphic2D graphic_2d, int start_section, int end_section)Instantiates this task with the given arguments. Sections insection_set
will be varied fromsection_start
tosection_end
.- Parameters:
section_set
-start_section
-end_section
-
-
-
Method Details
-
do_it
Description copied from class:VideoTask
Perform this task, contingent ontime
.- Specified by:
do_it
in classVideoTask
- Returns:
- Throws:
VideoException
-
getName
public java.lang.String getName() -
setFromTask
- Specified by:
setFromTask
in classVideoTask
-
getXMLSchema
public java.lang.String getXMLSchema()Description copied from interface:XMLObject
Returns the XML schema for this object's XML representation- Returns:
-
clone
public java.lang.Object clone()
-