Package com.inductiveautomation.rm.app
Class Animation
java.lang.Object
com.inductiveautomation.snap.ui.UIOwner<SwingEvent,JComponent>
 
com.inductiveautomation.snap.swing.SwingOwner
com.inductiveautomation.rm.app.Animation
- All Implemented Interfaces:
- RMAnimator.Listener,- EventListener
This class provides Swing UI editing for shape animation.
- 
Field SummaryFields inherited from class com.inductiveautomation.snap.ui.UIOwnerDragDrop, DragEnter, DragEvents, DragExit, DragOver, KeyEvents, KeyFinished, KeyPressed, KeyReleased, KeyTyped, MouseClicked, MouseDragged, MouseEntered, MouseEvents, MouseExited, MouseFinished, MouseMoved, MousePressed, MouseReleased
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidanimatorStarted(RMAnimator anAnimator) Animator Listener method.voidanimatorStopped(RMAnimator anAnimator) voidanimatorUpdated(RMAnimator anAnimator) Animator Listener method : updates time slider and time text when animator has been updated.voiddelete()Handles delete of key frame(s) or change(s).Returns the name for this inspector.protected voidinitUI()Initialize UI for this inspector.voidresetUI()Updates the UI panel controls from the current selection.voidrespondUI(SwingEvent anEvent) Responds to changes from UI controls.voidsetTime(int aTime) Sets the time of the current animator to the given time.voidsetTimeForScopedKeyFrame(int aTime, Integer aScope) Sets the time of the current animator to the given time.voidsetTimeSeconds(float aTime) Sets the time of the current animator to the given time.voidPopulates the combobox with all the interpolator names if necessary.Methods inherited from class com.inductiveautomation.snap.swing.SwingOwneraddKeyActionEvent, createTimer, createUI, createUI, createWindow, getNode, getNode, getNodeHelper, getTimer, getTimer, getUI, getWindow, isEventThread, isWindowVisible, requestFocus, requestFocusImpl, runLater, sendEvent, setWindowVisibleMethods inherited from class com.inductiveautomation.snap.ui.UIOwneraddNodeBinding, disableEvents, enableEvents, getBindingModelValue, getBindingNodeValue, getConversionMap, getConversionMapKey, getConversionMaps, getConversionMapValue, getFirstFocus, getModelValue, getNode, getNodeAction, getNodeBoolValue, getNodeFloatValue, getNodeIntValue, getNodeItemDisplayKey, getNodeItems, getNodeSelectedIndex, getNodeSelectedItem, getNodeStringValue, getNodeText, getNodeValue, getUI, getUIHpr, initUI, isNodeEnabled, isNodeValueAdjusting, isSendEventDisabled, isUISet, processResetUI, processRespondUI, resetLater, resetNodeBindings, runLaterDelayed, runLaterOnce, sendEvent, sendNodeAction, setBindingModelValue, setBindingNodeValue, setFirstFocus, setModelValue, setNodeAction, setNodeEnabled, setNodeItemDisplayKey, setNodeItems, setNodeItems, setNodeSelectedIndex, setNodeSelectedItem, setNodeText, setNodeValue, setSendEventDisabled
- 
Constructor Details- 
Animationpublic Animation()
 
- 
- 
Method Details- 
initUIprotected void initUI()Initialize UI for this inspector.- Overrides:
- initUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
updateInterpolatorComboboxpublic void updateInterpolatorCombobox()Populates the combobox with all the interpolator names if necessary.
- 
resetUIpublic void resetUI()Updates the UI panel controls from the current selection.- Overrides:
- resetUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
respondUIResponds to changes from UI controls.- Overrides:
- respondUIin class- UIOwner<SwingEvent,- JComponent> 
 
- 
setTimepublic void setTime(int aTime) Sets the time of the current animator to the given time.
- 
setTimeForScopedKeyFrameSets the time of the current animator to the given time.
- 
setTimeSecondspublic void setTimeSeconds(float aTime) Sets the time of the current animator to the given time.
- 
deletepublic void delete()Handles delete of key frame(s) or change(s).
- 
animatorStartedAnimator Listener method.- Specified by:
- animatorStartedin interface- RMAnimator.Listener
 
- 
animatorStopped- Specified by:
- animatorStoppedin interface- RMAnimator.Listener
 
- 
animatorUpdatedAnimator Listener method : updates time slider and time text when animator has been updated.- Specified by:
- animatorUpdatedin interface- RMAnimator.Listener
 
- 
getWindowTitleReturns the name for this inspector.
 
-