com.yobotics.simulationconstructionset
Class StandardAllCommandsExecutor
java.lang.Object
com.yobotics.simulationconstructionset.StandardAllCommandsExecutor
- All Implemented Interfaces:
- AddCameraKeyCommandExecutor, AddKeyPointCommandExecutor, AllCommandsExecutor, CreateNewGraphWindowCommandExecutor, CreateNewViewportWindowCommandExecutor, CropBufferCommandExecutor, DataBufferCommandsExecutor, ExportSnapshotCommandExecutor, GotoInPointCommandExecutor, GotoOutPointCommandExecutor, NextCameraKeyCommandExecutor, PackBufferCommandExecutor, PlayCommandExecutor, PreviousCameraKeyCommandExecutor, RemoveCameraKeyCommandExecutor, RunCommandsExecutor, SelectGUIConfigFromFileCommandExecutor, SetInPointCommandExecutor, SetOutPointCommandExecutor, SimulateCommandExecutor, StepBackwardCommandExecutor, StepForwardCommandExecutor, StopCommandExecutor, ToggleCameraKeyModeCommandExecutor, ToggleKeyPointModeCommandExecutor, ViewportSelectorCommandExecutor, ZoomGraphCommandExecutor, GUIEnablerAndDisabler
public class StandardAllCommandsExecutor
- extends java.lang.Object
- implements AllCommandsExecutor
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardAllCommandsExecutor
public StandardAllCommandsExecutor()
setup
public void setup(SimulationConstructionSet simulationConstructionSet,
StandardSimulationGUI standardSimulationGUI,
DataBuffer dataBuffer)
addCameraKey
public void addCameraKey()
- Specified by:
addCameraKey
in interface AddCameraKeyCommandExecutor
addKeyPoint
public void addKeyPoint()
- Specified by:
addKeyPoint
in interface AddKeyPointCommandExecutor
createNewGraphWindow
public void createNewGraphWindow()
- Specified by:
createNewGraphWindow
in interface CreateNewGraphWindowCommandExecutor
createNewGraphWindow
public void createNewGraphWindow(java.lang.String graphGroupName)
- Specified by:
createNewGraphWindow
in interface CreateNewGraphWindowCommandExecutor
createNewGraphWindow
public void createNewGraphWindow(java.lang.String graphGroupName,
int screenID,
boolean maximizeWindow)
- Specified by:
createNewGraphWindow
in interface CreateNewGraphWindowCommandExecutor
createNewViewportWindow
public ViewportWindow createNewViewportWindow()
- Specified by:
createNewViewportWindow
in interface CreateNewViewportWindowCommandExecutor
createNewViewportWindow
public ViewportWindow createNewViewportWindow(java.lang.String viewportName)
- Specified by:
createNewViewportWindow
in interface CreateNewViewportWindowCommandExecutor
createNewViewportWindow
public ViewportWindow createNewViewportWindow(java.lang.String viewportName,
int screenID,
boolean maximizeWindow)
- Specified by:
createNewViewportWindow
in interface CreateNewViewportWindowCommandExecutor
cropBuffer
public void cropBuffer()
- Specified by:
cropBuffer
in interface CropBufferCommandExecutor
gotoInPoint
public void gotoInPoint()
- Specified by:
gotoInPoint
in interface GotoInPointCommandExecutor
gotoOutPoint
public void gotoOutPoint()
- Specified by:
gotoOutPoint
in interface GotoOutPointCommandExecutor
nextCameraKey
public void nextCameraKey()
- Specified by:
nextCameraKey
in interface NextCameraKeyCommandExecutor
packBuffer
public void packBuffer()
- Specified by:
packBuffer
in interface PackBufferCommandExecutor
play
public void play()
- Specified by:
play
in interface PlayCommandExecutor
previousCameraKey
public void previousCameraKey()
- Specified by:
previousCameraKey
in interface PreviousCameraKeyCommandExecutor
removeCameraKey
public void removeCameraKey()
- Specified by:
removeCameraKey
in interface RemoveCameraKeyCommandExecutor
setInPoint
public void setInPoint()
- Specified by:
setInPoint
in interface SetInPointCommandExecutor
setOutPoint
public void setOutPoint()
- Specified by:
setOutPoint
in interface SetOutPointCommandExecutor
simulate
public void simulate()
- Specified by:
simulate
in interface SimulateCommandExecutor
isSimulating
public boolean isSimulating()
- Specified by:
isSimulating
in interface SimulateCommandExecutor
stepBackward
public void stepBackward()
- Specified by:
stepBackward
in interface StepBackwardCommandExecutor
stepForward
public void stepForward()
- Specified by:
stepForward
in interface StepForwardCommandExecutor
stop
public void stop()
- Specified by:
stop
in interface StopCommandExecutor
toggleCameraKeyMode
public void toggleCameraKeyMode()
- Specified by:
toggleCameraKeyMode
in interface ToggleCameraKeyModeCommandExecutor
isKeyPointModeToggled
public boolean isKeyPointModeToggled()
- Specified by:
isKeyPointModeToggled
in interface ToggleKeyPointModeCommandExecutor
toggleKeyPointMode
public void toggleKeyPointMode()
- Specified by:
toggleKeyPointMode
in interface ToggleKeyPointModeCommandExecutor
registerToggleKeyPointModeCommandListener
public void registerToggleKeyPointModeCommandListener(ToggleKeyPointModeCommandListener commandListener)
- Specified by:
registerToggleKeyPointModeCommandListener
in interface ToggleKeyPointModeCommandExecutor
selectViewport
public void selectViewport(java.lang.String viewportName)
- Specified by:
selectViewport
in interface ViewportSelectorCommandExecutor
hideViewport
public void hideViewport()
- Specified by:
hideViewport
in interface ViewportSelectorCommandExecutor
showViewport
public void showViewport()
- Specified by:
showViewport
in interface ViewportSelectorCommandExecutor
isViewportHidden
public boolean isViewportHidden()
- Specified by:
isViewportHidden
in interface ViewportSelectorCommandExecutor
registerViewportSelectorCommandListener
public void registerViewportSelectorCommandListener(ViewportSelectorCommandListener commandListener)
- Specified by:
registerViewportSelectorCommandListener
in interface ViewportSelectorCommandExecutor
zoomIn
public void zoomIn()
- Specified by:
zoomIn
in interface ZoomGraphCommandExecutor
zoomOut
public void zoomOut()
- Specified by:
zoomOut
in interface ZoomGraphCommandExecutor
selectGUIConfigFromFile
public void selectGUIConfigFromFile(java.lang.String fullPath)
- Specified by:
selectGUIConfigFromFile
in interface SelectGUIConfigFromFileCommandExecutor
setPlaybackRealTimeRate
public void setPlaybackRealTimeRate(double realtimeRate)
- Specified by:
setPlaybackRealTimeRate
in interface RunCommandsExecutor
getPlaybackRealTimeRate
public double getPlaybackRealTimeRate()
- Specified by:
getPlaybackRealTimeRate
in interface RunCommandsExecutor
getInPoint
public int getInPoint()
- Specified by:
getInPoint
in interface DataBufferCommandsExecutor
setIndex
public void setIndex(int index)
- Specified by:
setIndex
in interface DataBufferCommandsExecutor
setIndexButDoNotNotifySimulationRewoundListeners
public void setIndexButDoNotNotifySimulationRewoundListeners(int index)
- Specified by:
setIndexButDoNotNotifySimulationRewoundListeners
in interface DataBufferCommandsExecutor
tick
public boolean tick(int ticks)
- Specified by:
tick
in interface DataBufferCommandsExecutor
tickButDoNotNotifySimulationRewoundListeners
public boolean tickButDoNotNotifySimulationRewoundListeners(int ticks)
- Specified by:
tickButDoNotNotifySimulationRewoundListeners
in interface DataBufferCommandsExecutor
getIndex
public int getIndex()
- Specified by:
getIndex
in interface DataBufferCommandsExecutor
isIndexBetweenInAndOutPoint
public boolean isIndexBetweenInAndOutPoint(int indexToCheck)
- Specified by:
isIndexBetweenInAndOutPoint
in interface DataBufferCommandsExecutor
getOutPoint
public int getOutPoint()
- Specified by:
getOutPoint
in interface DataBufferCommandsExecutor
exportSnapshot
public void exportSnapshot(java.io.File snapshotFile)
- Specified by:
exportSnapshot
in interface ExportSnapshotCommandExecutor
enableGUIComponents
public void enableGUIComponents()
- Specified by:
enableGUIComponents
in interface GUIEnablerAndDisabler
disableGUIComponents
public void disableGUIComponents()
- Specified by:
disableGUIComponents
in interface GUIEnablerAndDisabler