Method Summary |
|
public static int | countComponents(Container c) |
public static Component | findComponentUnderGlassPaneAt(Point p, Component top) |
public static Component | findFirstComponentOfType(Component comp, Class c) |
public static Color | getBackgroundColor(Component component) |
final public static String | getBorderLayoutOrientation(Direction d) |
final public static Component | getChildAt(Container container, Point p) |
final public static Component | getChildAtLine(Container container, Point p, boolean horizontal) |
final public static int | getComponentIndex(Component component) |
public static void | getComponentTreePosition(Component c, ArrayList pos) |
public static int | getPreferredMaxHeight(Component[] components) Calculates preferred max height for the given components without checking
isVisible. |
public static int | getPreferredMaxWidth(Component[] components) Calculates preferred max width for the given components without checking
isVisible. |
public static Component | getTopLevelAncestor(Component c) |
final public static Component | getVisibleChildAt(Container container, Point p) |
public static int | getVisibleChildrenCount(Component c) |
public static boolean | hasVisibleChildren(Component c) |
public static boolean | isFocusable(Component c) |
public static boolean | isOnlyVisibleComponent(Component c) |
public static boolean | isOnlyVisibleComponents(Component[] c) |
public static boolean | requestFocus(Component component) Requests focus unless the component already has focus. |
public static void | setAllOpaque(Container c, boolean opaque) |
public static Component | smartRequestFocus(Component component) Requests focus for a component. |
public static void | validate(JComponent c) |
public static void | validate(Component c) |