public class MiscUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MiscUtils.IntAndIndex |
Constructor and Description |
---|
MiscUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areEqual(Object a,
Object b) |
static Point |
convertPointFromScreen(Point pOnScreen,
Component c) |
static Point |
convertPointToScreen(Component c,
Point pInC) |
static Border |
createEmptyBorder(int size) |
static Box |
createVerticalBox(Component... cs) |
static <T> T |
getAncestorOfClass(Class<? extends T> clazz,
Component c) |
static int |
iround(double d) |
static MiscUtils.IntAndIndex |
minValueAndIndex(int... vs) |
static Point |
pointRelativeToAncestor(MouseEvent ev,
Component ancestor) |
static <T> Iterable<T> |
reversed(List<T> list) |
public static MiscUtils.IntAndIndex minValueAndIndex(int... vs)
public static Point pointRelativeToAncestor(MouseEvent ev, Component ancestor)
public static Border createEmptyBorder(int size)
public static int iround(double d)
Copyright © 2016 Metron, Inc.. All rights reserved.