Class RMSoundShapeTool<T extends RMSoundShape>


  • public class RMSoundShapeTool<T extends RMSoundShape>
    extends RMTool<T>
    Provides UI editing for RMSound shapes.
    • Constructor Detail

      • RMSoundShapeTool

        public RMSoundShapeTool()
    • Method Detail

      • getToolTipText

        public java.lang.String getToolTipText​(T aShape,
                                               java.awt.event.MouseEvent anEvent)
        Sets the tooltip to the name of the sound file
        Overrides:
        getToolTipText in class RMTool<T extends RMSoundShape>
      • getWindowTitle

        public java.lang.String getWindowTitle()
        Returns the string used for the inspector window title.
        Overrides:
        getWindowTitle in class RMTool<T extends RMSoundShape>
      • resetUI

        public void resetUI()
        Updates the UI controls from the currently selected sound.
        Overrides:
        resetUI in class UIOwner<SwingEvent,​javax.swing.JComponent>
      • respondUI

        public void respondUI​(SwingEvent anEvent)
        Updates the currently selected sound from the UI controls.
        Overrides:
        respondUI in class UIOwner<SwingEvent,​javax.swing.JComponent>