Uses of Class
com.blackrook.gui.GUIQuery

Packages that use GUIQuery
Package
Description
Containing GUI components.
  • Uses of GUIQuery in com.blackrook.gui

    Methods in com.blackrook.gui that return GUIQuery
    Modifier and Type
    Method
    Description
    GUIQuery.addName(String... names)
    Adds a name (or several) to the objects in this query.
    GUIQuery.animate(long cumulativeDelay, long duration, GUIAnimation... animations)
    Enqueues an animation on this GUI Object, linear transition, and with a cumulative delay added to each object.
    GUIQuery.animate(long cumulativeDelay, long duration, GUIEasingType transition, GUIAnimation... animations)
    Enqueues an animation on this GUI Object, and with a cumulative delay added to each object.
    GUIQuery.animate(long duration, GUIAnimation... animations)
    Enqueues an animation on this GUI Object, linear transition.
    GUIQuery.animate(long duration, GUIEasingType transition, GUIAnimation... animations)
    Enqueues an animation on this GUI Object.
    GUIQuery.animate(GUIAnimation... animations)
    Enqueues an animation on this GUI Object, no duration.
    GUIQuery.animateAbort()
    Aborts the animation on this object, abandoning it mid-animation.
    GUIQuery.animateDelay(long duration)
    Enqueues a delay between animations on this GUI Object.
    GUIQuery.animateFinish()
    Finishes the animation on this object all the way to the end.
    GUIQuery.bindAction(GUIAction action, String... types)
    Binds an action of a particular type to the objects inside this query.
    GUIQuery.callAction(GUIAction action)
    Calls an action on the objects inside the query.
    GUIQuery.copy()
    Copies this query, returning a new query with the same objects.
    GUIQuery.get(int index)
    Gets an object in this query wrapped in a query.
    GUI.getAll()
    Gets all GUI Objects.
    Gets all GUI Objects that are in an animation.
    GUIQuery.getAnimating()
    Gets a new query result containing objects that are currently animating.
    GUIObject.getAsQuery()
    Gets this object wrapped in an GUIQuery.
    GUIQuery.getByAttrib(Object layoutAttribute)
    Gets a new query result of all objects in the query with a specific layout attribute.
    GUI.getByName(String name)
    Gets all GUI Objects with a matching name.
    GUIQuery.getByName(String... names)
    Gets all GUI Objects that match all of the names provided in this query.
    GUI.getByPattern(Pattern pattern)
    Gets all GUI Objects with a matching name RegEx pattern.
    GUIQuery.getByPattern(Pattern pattern)
    Gets all GUI Objects with a matching name regex pattern in this query.
    GUI.getByType(Class<?> clazz)
    Gets all GUI Objects with a matching name.
    GUIQuery.getByType(Class<?> clazz)
    Gets a new query result of all objects in the query with the same class.
    GUIQuery.getChildren()
    Gets all children of all of the objects in this query.
    GUIObject.getChildrenAsQuery()
    Gets this object's children wrapped in an GUIQuery.
    GUIQuery.getDescendants()
    Gets all descendants of all of the objects in this query.
    Gets this object's entire descendant tree wrapped in an GUIQuery.
    GUIQuery.getDifference(GUIQuery query)
    Creates a new query result that is the objects in this query minus the ones present in another.
    GUIQuery.getEvens()
    Gets each even-indexed object in this query as a new query.
    GUIQuery.getEveryMultiple(int n)
    Gets every n-th object in this query as a new query.
    GUIQuery.getFirst()
    Returns the first object in this query wrapped in a query.
    GUIQuery.getHavingToggleState(boolean state)
    Gets a new query result containing objects with a matching toggle state.
    GUIQuery.getIntersection(GUIQuery query)
    Creates a new query result that is the intersection of two queries (both objects must exist in this query and the other to be included).
    GUIQuery.getLast()
    Returns the last object in this query wrapped in a query.
    GUIQuery.getOdds()
    Gets each odd-indexed object in this query as a new query.
    GUIQuery.getOffsetAndModulo(int offset, int modulo)
    Gets every object at the index pattern specified in this query as a new query.
    GUIObject.getParentAsQuery()
    Gets this object's parent wrapped in an GUIQuery.
    GUIQuery.getParents()
    Gets all parents of all of the objects in this query.
    GUIQuery.getRandom(Random random)
    Gets a new query result that is a random sub-selection of objects in this query.
    GUIQuery.getRandomAmount(Random random, int objects)
    Gets a new query result that is a random sub-selection of a specific amount of objects in this query.
    GUIQuery.getRandomSample(Random random, float chance)
    Gets a new query result that is a random sub-selection of objects in this query, weighted by a chance to select each one.
    GUIQuery.getSiblings()
    Gets all siblings of all of the objects in this query.
    GUIObject.getSiblingsAsQuery()
    Gets this object's siblings wrapped in an GUIQuery.
    GUIQuery.getSubQuery(int startIndex, int endIndex)
    Gets a sublist of this query result as another query.
    GUIQuery.getUnion(GUIQuery query)
    Creates a new query result that is the union of two queries.
    GUIQuery.getVisible()
    Gets a new query result containing objects that are visible.
    GUIQuery.getXOr(GUIQuery query)
    Creates a new query result that is the union of the objects in this query and another, minus the ones present in both.
    GUIQuery.releaseFocus()
    Requests release of focus on all of the objects in the query.
    GUIQuery.removeName(String... names)
    Removes a name (or several) from the objects in this query.
    GUIQuery.requestFocus()
    Requests focus on the first object in the query.
    GUIQuery.rotate(float rotation)
    Rotates this object by an amount of degrees on all objects in this query result.
    GUIQuery.setBounds(float x, float y, float width, float height)
    Sets the object bounds on all objects in this query result.
    GUIQuery.setColor(float red, float green, float blue, float alpha)
    Sets the color on all objects in this query result.
    GUIQuery.setColor(GUIColor color)
    Sets the color on all objects in this query result.
    GUIQuery.setDimensions(float width, float height)
    Sets the object width and height on all objects in this query result.
    GUIQuery.setEnabled(boolean enabled)
    Sets if the object can accept input on all objects in this query result.
    GUIQuery.setOpacity(float opacity)
    Sets the opacity on all objects in this query result.
    GUIQuery.setPosition(float x, float y)
    Sets the object position on all objects in this query result.
    GUIQuery.setRotationZ(float rotation)
    Sets this object's rotation in degrees on all objects in this query result.
    GUIQuery.setState(boolean state)
    Sets the state of all objects in this query result.
    GUIQuery.setText(String text)
    Sets the text of all objects in this query result.
    GUIQuery.setTexture(String texture)
    Sets this object's texture on all objects in this query result.
    GUIQuery.setTheme(GUITheme theme)
    Sets the theme on all objects in this query result.
    GUIQuery.setValue(Object value)
    Sets the value on all objects in this query result.
    GUIQuery.setVisible(boolean visible)
    Sets if the object is visible on all objects in this query result.
    GUIQuery.shuffle(Random random)
    Randomizes the order of the objects in this query.
    GUIQuery.stretch(float width, float height)
    Changes this object's width/height by an x or y-coordinate amount on all objects in this query result.
    GUIQuery.toggle()
    Toggles the state of all objects in this query result.
    GUIQuery.translate(float x, float y)
    Changes this object's position by an x or y-coordinate amount on all objects in this query result.
    GUIQuery.unbindAction(GUIAction action, String... types)
    Unbinds an action of a particular type from the objects inside this query.
    GUIQuery.unbindAllActions(String type)
    Unbinds all actions of a particular type from the objects inside this query.
    static GUIQuery
    GUIQuery.wrap(GUIObject object)
    Wraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.
    static GUIQuery
    GUIQuery.wrap(GUIObject... objects)
    Wraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.
    static GUIQuery
    GUIQuery.wrap(GUIQuery query)
    Wraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.
    static GUIQuery
    GUIQuery.wrap(Iterable<GUIObject> objects)
    Wraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.
    Methods in com.blackrook.gui with parameters of type GUIQuery
    Modifier and Type
    Method
    Description
    GUIQuery.getDifference(GUIQuery query)
    Creates a new query result that is the objects in this query minus the ones present in another.
    GUIQuery.getIntersection(GUIQuery query)
    Creates a new query result that is the intersection of two queries (both objects must exist in this query and the other to be included).
    GUIQuery.getUnion(GUIQuery query)
    Creates a new query result that is the union of two queries.
    GUIQuery.getXOr(GUIQuery query)
    Creates a new query result that is the union of the objects in this query and another, minus the ones present in both.
    static GUIQuery
    GUIQuery.wrap(GUIQuery query)
    Wraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.