contains = SignalHandler.is_greater_than_or_equal(x, new java.lang.Integer(0)) && SignalHandler.is_smaller_than(x, width) && SignalHandler.is_greater_than_or_equal(y, new java.lang.Integer(0)) && SignalHandler.is_smaller_than(y, height) && SignalHandler.is_greater_than_or_equal(z, new java.lang.Integer(0)) && SignalHandler.is_smaller_than(z, depth);
contains = SignalHandler.greater_or_equal(x, new java.lang.Integer(0)); contains = SignalHandler.and(contains, SignalHandler.smaller(x, width)); contains = SignalHandler.and(contains, SignalHandler.greater_or_equal(y, new java.lang.Integer(0))); contains = SignalHandler.and(contains, SignalHandler.smaller(y, height));
    static java.lang.Object mouse_clicked_action(java.lang.Object p0, java.lang.Object p1, java.lang.Object p2, java.lang.Object p3) {        java.lang.Object a = null;        Item i = (Item) p0;                if (i != null) {            // Determine the action of the given screen item.            java.lang.Object action = MapHandler.get_map_element(i.items, "mouse_clicked_action");                        if (action != null) {                                a = action;            }            // Determine the action of any child screen items and overwrite            // the action of the parent screen item (set above) with it.            int count = 0;            int size = MapHandler.get_map_size(i.items);            java.lang.Object child = null;            java.lang.Object position = null;            java.lang.Object x = null;            java.lang.Object y = null;            java.lang.Object z = null;            boolean contains = false;                        while (count < size) {                child = MapHandler.get_map_element(i.items, count);                position = MapHandler.get_map_element(i.positions, count);                x = SignalHandler.subtract(p1, ItemHandler.get_item_element(position, "x_distance.quantity"));                y = SignalHandler.subtract(p2, ItemHandler.get_item_element(position, "y_distance.quantity"));                z = SignalHandler.subtract(p3, ItemHandler.get_item_element(position, "z_distance.quantity"));                width = ItemHandler.get_item_element(child, "expansion.x_distance.quantity");                height = ItemHandler.get_item_element(child, "expansion.y_distance.quantity");                depth = ItemHandler.get_item_element(child, "expansion.z_distance.quantity");                //?? This list is a recursion of AND operations!                contains = SignalHandler.is_greater_than_or_equal(x, new java.lang.Integer(0))                    && SignalHandler.is_smaller_than(x, width)                    && SignalHandler.is_greater_than_or_equal(y, new java.lang.Integer(0))                    && SignalHandler.is_smaller_than(y, height)                    && SignalHandler.is_greater_than_or_equal(z, new java.lang.Integer(0))                    && SignalHandler.is_smaller_than(z, depth);                if (contains == true) {                                    a = SignalHandler.mouse_clicked_action(child, x, y, z);                }            }            } else {                        LogHandler.log(LogHandler.ERROR_LOG_LEVEL, "Could not handle mouse clicked action. The item is null.");        }                return a;    }