Enum UserFunction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<UserFunction>

    public enum UserFunction
    extends java.lang.Enum<UserFunction>
    The possible user functions from a button, foot pedal, or listener.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static UserFunction valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static UserFunction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Freeze

        public static final UserFunction Freeze
        Toggle freeze.
      • CaptureImage

        public static final UserFunction CaptureImage
        Capture still image.
      • CaptureCine

        public static final UserFunction CaptureCine
        Capture cine.
      • DepthDec

        public static final UserFunction DepthDec
        Decrease depth.
      • DepthInc

        public static final UserFunction DepthInc
        Increase depth.
      • GainDec

        public static final UserFunction GainDec
        Increase gain.
      • GainInc

        public static final UserFunction GainInc
        Decrease gain.
      • AutoGain

        public static final UserFunction AutoGain
        Toggle auto gain.
      • Flip

        public static final UserFunction Flip
        Toggle horizontal flip.
      • PlayCine

        public static final UserFunction PlayCine
        Play cine when frozen.
      • BMode

        public static final UserFunction BMode
        Enter B mode.
      • MMode

        public static final UserFunction MMode
        Enter M mode.
      • ColorDoppler

        public static final UserFunction ColorDoppler
        Enter color Doppler mode.
      • PowerDoppler

        public static final UserFunction PowerDoppler
        Enter power Doppler mode.
      • PwDoppler

        public static final UserFunction PwDoppler
        Enter pulsed wave Doppler mode (when available).
      • NeedleEnhance

        public static final UserFunction NeedleEnhance
        Enter needle enhance mode (when available).
      • Strain

        public static final UserFunction Strain
        Enter strain elastography mode (when available).
      • RfMode

        public static final UserFunction RfMode
        Enter rf mode (when available).
      • NeedleSide

        public static final UserFunction NeedleSide
        Toggle needle enhance side.
      • SetDepth

        public static final UserFunction SetDepth
        Set depth in cm.
      • SetGain

        public static final UserFunction SetGain
        Set gain in %.
      • CenterGuide

        public static final UserFunction CenterGuide
        Toggle center guide.
      • FullScreen

        public static final UserFunction FullScreen
        Toggle full screen.
    • Method Detail

      • values

        public static UserFunction[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (UserFunction c : UserFunction.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static UserFunction valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null