Package edu.tufts.hrilab.vision
Class Misc
java.lang.Object
edu.tufts.hrilab.vision.Misc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Icon
static int
static boolean
isEven
(int number) static boolean
isOdd
(int number) static boolean
IsSelected
(JToggleButton optionButton) static void
PaintImmediately
(JComponent component) static String
RemoveWhitespace
(String inputString) static void
ShowExceptionError
(Component component, Exception e, String errorTitle) static void
ShowExceptionError
(Component component, String errorTitle, String message, Exception e) static Color
validColor
(int[] c) static Color
validColor
(int r, int g, int b)
-
Constructor Details
-
Misc
public Misc()
-
-
Method Details
-
getIntOr0
-
IsSelected
-
ShowExceptionError
-
ShowExceptionError
-
GetIcon
-
PaintImmediately
-
RemoveWhitespace
-
validColor
-
validColor
-
isEven
public static boolean isEven(int number) -
isOdd
public static boolean isOdd(int number)
-