Documentation of 'org.jplot2d.interaction.InteractionModeHandler' Java class
InteractionModeHandler
org.jplot2d.interaction

Class InteractionModeHandler



  • public class InteractionModeHandler
    extends java.lang.Object
    An operation mode contains a list of available commands and configuration of how to trigger them.
    • Field Detail

      • MODE_ENTERED_KEY

        public static final java.lang.String MODE_ENTERED_KEY
        See Also:
        Constant Field Values
    • Method Detail

      • getInteractionMode

        public final InteractionMode getInteractionMode()
        Returns the mode name.
        Returns:
        the mode name
      • keyPressed

        public void keyPressed(int modifiers,
                               int modifierKey)
      • keyReleased

        public void keyReleased(int modifiers,
                                int modifierKey)
      • draw

        public void draw(java.lang.Object graphics)
      • getValue

        public java.lang.Object getValue(java.lang.String key)
        Gets the Object associated with the specified key.
        Parameters:
        key - a string containing the specified key
        Returns:
        the binding Object stored with this key; if there are no keys, it will return null
      • putValue

        public void putValue(java.lang.String key,
                             java.lang.Object newValue)
        Sets the Value associated with the specified key.
        Parameters:
        key - the String that identifies the stored object
        newValue - the Object to store using this key
      • modeEntered

        public void modeEntered()
      • modeExited

        public void modeExited()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.