public class ViewUtilities extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkViewHierarchy(View v)
Check correctness of the hierarchy under the given view.
|
static View |
createDocumentView(Element elem)
Create view that will cover the whole document.
|
static boolean |
isAxisValid(int axis)
Test whether the axis is valid.
|
public static View createDocumentView(Element elem)
public static void checkViewHierarchy(View v)
public static boolean isAxisValid(int axis)
axis
- integer axisView.X_AXIS
or View.Y_AXIS
. False is returned otherwise.