Package adams.gui.core
Class UserModeUtils
- java.lang.Object
-
- adams.gui.core.UserModeUtils
-
public class UserModeUtils extends Object
Methods for handling user mode.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description UserModeUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractApplicationFrame
getApplicationFrame(Container parent)
Determines the application frame.static UserMode
getUserMode(Container parent)
Returns the user mode to apply.
-
-
-
Method Detail
-
getApplicationFrame
public static AbstractApplicationFrame getApplicationFrame(Container parent)
Determines the application frame.- Returns:
- the application frame, null if failed to determine
-
-