Class UserModeUtils


  • public class UserModeUtils
    extends Object
    Methods for handling user mode.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • UserModeUtils

        public UserModeUtils()
    • Method Detail

      • getApplicationFrame

        public static AbstractApplicationFrame getApplicationFrame​(Container parent)
        Determines the application frame.
        Returns:
        the application frame, null if failed to determine
      • getUserMode

        public static UserMode getUserMode​(Container parent)
        Returns the user mode to apply.
        Returns:
        the user mode