|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.motion.MotionContainerListenerAdapter
public class MotionContainerListenerAdapter
Adapter class for IMotionContainerListener without any additional implementation.
IMotionContainerListener| Constructor Summary | |
|---|---|
MotionContainerListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
containerFinished(IMotionContainer container)
Invoked when all motions inside the container have been finished. |
void |
motionFinished(IMotionContainer container,
IMotion motion)
Invoked when the specified motion was finished. |
void |
motionStarted(IMotionContainer container,
IMotion motion)
Invoked when the execution of a motion was started. |
void |
onContainerStateChanged(IMotionContainer container,
MotionContainerState state)
Invoked when the motion container changed its state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MotionContainerListenerAdapter()
| Method Detail |
|---|
public void motionStarted(IMotionContainer container,
IMotion motion)
IMotionContainerListenerIMovable, but also for the other
motions contained in the original motion.
For each motion that was started, a corresponding IMotionContainerListener.motionFinished(IMotionContainer, IMotion) event will
be triggered when the motion is finished. Note however, that if a combined motion is commanded like described
above, there might be multiple IMotionContainerListener.motionStarted(IMotionContainer, IMotion) events in a row before the first
motion is finished.
Caution: Because this method is not synchronized to the motion container, the motion might already be finished by the time this method is called.
motionStarted in interface IMotionContainerListenercontainer - the motion containermotion - the started motion
public void motionFinished(IMotionContainer container,
IMotion motion)
IMotionContainerListener
motionFinished in interface IMotionContainerListenercontainer - the motion containermotion - the motion that was finished.public void containerFinished(IMotionContainer container)
IMotionContainerListenerIMotionContainer.append(IMotion).
containerFinished in interface IMotionContainerListenercontainer - the finished motion container
public void onContainerStateChanged(IMotionContainer container,
MotionContainerState state)
IMotionContainerListenerCaution: Because this method is not synchronized to the motion container, its current state might have progressed to another state by the time this method is called.
onContainerStateChanged in interface IMotionContainerListenercontainer - the motion containerstate - the state that the container changed into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||