Uses of Class
com.blackrook.gui.GUIQuery
Packages that use GUIQuery
-
Uses of GUIQuery in com.blackrook.gui
Methods in com.blackrook.gui that return GUIQueryModifier and TypeMethodDescriptionAdds 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.GUI.getAnimating()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 anGUIQuery.GUIQuery.getByAttrib(Object layoutAttribute) Gets a new query result of all objects in the query with a specific layout attribute.Gets all GUI Objects with a matching name.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.Gets all GUI Objects with a matching name.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 anGUIQuery.GUIQuery.getDescendants()Gets all descendants of all of the objects in this query.GUIObject.getDescendantsAsQuery()Gets this object's entire descendant tree wrapped in anGUIQuery.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 anGUIQuery.GUIQuery.getParents()Gets all parents of all of the objects in this query.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 anGUIQuery.GUIQuery.getSubQuery(int startIndex, int endIndex) Gets a sublist of this query result as another 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.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.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.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.Sets the theme on all objects in this query result.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.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 GUIQueryWraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.static GUIQueryWraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.static GUIQueryWraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.static GUIQueryWraps 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 GUIQueryModifier and TypeMethodDescriptionGUIQuery.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).Creates a new query result that is the union of two queries.Creates a new query result that is the union of the objects in this query and another, minus the ones present in both.static GUIQueryWraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.