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.Objectclone()protected booleando_it(InterfaceGraphic<?> g, long time)Perform this task, contingent ontime.java.lang.StringgetName()java.lang.StringgetXMLSchema()Returns the XML schema for this object's XML representationvoidsetFromTask(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, writeXMLMethods 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_setwill be varied fromsection_starttosection_end.- Parameters:
section_set-start_section-end_section-
-
-
Method Details
-
do_it
Description copied from class:VideoTaskPerform this task, contingent ontime.- Specified by:
do_itin classVideoTask- Returns:
- Throws:
VideoException
-
getName
public java.lang.String getName() -
setFromTask
- Specified by:
setFromTaskin classVideoTask
-
getXMLSchema
public java.lang.String getXMLSchema()Description copied from interface:XMLObjectReturns the XML schema for this object's XML representation- Returns:
-
clone
public java.lang.Object clone()
-