Uses of Class
com.blackrook.gui.GUIObject
Packages that use GUIObject
Package
Description
Containing GUI components.
Contains action groups that can affect a group of objects.
Contains layout objects to be added to GUI objects.
Contains objects to add to the GUI scene.
-
Uses of GUIObject in com.blackrook.gui
Classes in com.blackrook.gui with type parameters of type GUIObjectModifier and TypeInterfaceDescriptionstatic interfaceGUI.Animation<G extends GUIObject>Describes an animation to be performed on an object.static classGUI.AnimationState<T extends GUIObject>Animation state.Classes in com.blackrook.gui that implement interfaces with type arguments of type GUIObjectModifier and TypeClassDescriptionclassDescribes an animation to be performed on an object in the GUI system.final classThe results of a scene query.Fields in com.blackrook.gui declared as GUIObjectMethods in com.blackrook.gui that return GUIObjectModifier and TypeMethodDescriptionfinal GUIObjectAdd a child object to this one.final GUIObjectAdd a child object to this one and sets a layout attribute to it, as thoughGUIObject.setLayoutAttrib(Object)GUIObject.animate(long duration, GUIAnimation... animations) Enqueues an animation on this GUI Object, linear transition.GUIObject.animate(long duration, GUIEasingType transition, GUIAnimation... animations) Enqueues an animation on this GUI Object.GUIObject.animate(GUIAnimation... animations) Enqueues an animation on this GUI Object, no duration.GUIObject.animateAbort()Aborts the animation on this object, abandoning it mid-animation.GUIObject.animateDelay(long duration) Enqueues a delay between animations on this GUI Object.GUIObject.animateFinish()Finishes the animation on this object all the way to the end.final GUIObjectGUIObject.bindAction(GUIAction action, String... types) Adds an action bound to an event type.GUI.getFocusedObject()GUIEvent.getObject()Returns a reference to the object that is the source of this event.GUIQuery.getObject(int index) Gets an GUIObject in this query.final GUIObjectGUIObject.getParent()Gets the parent object of this one.final GUIObjectGUIObject.moveDown()Moves the order of this object back among its siblings, so that it is rendered earlier than the one before it (pushing it "further from the camera").final GUIObjectGUIObject.moveToBack()Moves the order of this object back among its siblings, so that it is rendered first (pushing it "farthest from the camera").final GUIObjectGUIObject.moveToFront()Moves the order of this object up among its siblings, so that it is rendered last (bringing it "closest to the camera").final GUIObjectGUIObject.moveUp()Moves the order of this object up among its siblings, so that it is rendered later than the one after it (bringing it "closer to the camera").GUIObject.releaseFocus()Releases focus on this object if this object currently has focus in the scene it belongs to.final GUIObjectGUIObject.remove()Removes this object from its GUI.final GUIObjectGUIObject.removeChild(GUIObject obj) Removes a child object from this one.final GUIObjectGUIObject.removeName(String... names) Removes a single name or series of names from this object.GUIObject.requestFocus()Requests focus on this object in the scene it belongs to.GUIObject.rotate(float degrees) Rotates this object by a number of degrees.GUIObject.setBounds(float x, float y, float width, float height) Sets the object bounds.Sets the object bounds.GUIObject.setColor(float red, float green, float blue, float alpha) Sets the color of this object.Sets the object's color.GUIObject.setColorNotInherited(boolean enabled) Sets if this object DOESN'T pass on its color to its children.GUIObject.setConstrainToParent(boolean constrainToParent) Sets if this should constrain its position to its parent.GUIObject.setDimensions(float width, float height) Sets the object width and height.GUIObject.setEnabled(boolean enabled) Sets if the object can accept input (and its children).GUIObject.setInert(boolean inert) Sets if the object can accept/intercept input, but does NOT affect its "enabled" state, unless its parent is enabled/disabled.Sets this object's layout type for resizing object children, should this object get resized itself.GUIObject.setLayoutAttrib(Object attrib) Sets this object's layout attribute, used by some layouts in order to affect the parent's layout behavior when resizing this component (as a child).GUIObject.setOpacity(float opacity) Gets this object's opacity (0 to 1).GUIObject.setPosition(float x, float y) Sets the object position.GUIObject.setRendered(boolean rendered) Sets if the object is visible (and its children).GUIObject.setRotationZ(float degrees) Sets this object's rotation in degrees.GUIObject.setScaleType(GUIObject.ScaleType scaleType) Sets this object's texture scaling type.GUIObject.setTexture(String texture) Sets this object's texture.Sets the theme used by this object, and its descendants if they do not have a theme set.GUIObject.setVisible(boolean visible) Sets if the object is visible (and its children).GUIObject.stretch(float width, float height) Changes this object's width/height by an x or y-coordinate amount.GUIObject.translate(float x, float y) Changes this object's position by an x or y-coordinate amount.final GUIObjectGUIObject.unbindAction(GUIAction action, String... types) Removes an action bound to an event type.final GUIObjectGUIObject.unbindAllActions(String... types) Removes all actions bound to event types.Methods in com.blackrook.gui that return types with arguments of type GUIObjectMethods in com.blackrook.gui with parameters of type GUIObjectModifier and TypeMethodDescriptionfinal GUIObjectAdd a child object to this one.final GUIObjectAdd a child object to this one and sets a layout attribute to it, as thoughGUIObject.setLayoutAttrib(Object)voidAdds a GUI Object to this GUI (plus children).voidAdds the renderable characteristics for an object to this.abstract floatGUIObject.ScaleType.getTextureScaleS(GUIObject object) Get the texture S-scaling according to the object.abstract floatGUIObject.ScaleType.getTextureScaleT(GUIObject object) Get the texture T-scaling according to the object.final GUIObjectGUIObject.removeChild(GUIObject obj) Removes a child object from this one.booleanGUI.removeObject(GUIObject obj) Removes a GUI Object from this GUI (plus children).voidGUI.requestObjectFocus(GUIObject object) Requests an object focus and fires object events.voidGUI.requestObjectUnfocus(GUIObject object) Requests that an object be unfocused, but only if it was the one currently in focus.voidGUILayout.resizeChild(GUIObject object, int index, int childTotal) Called when a child object needs resizing.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.Method parameters in com.blackrook.gui with type arguments of type GUIObjectModifier and TypeMethodDescriptionstatic GUIQueryWraps a set of objects in a new query, where its contents consist of the provided objects, in the same order.Constructors in com.blackrook.gui with parameters of type GUIObject -
Uses of GUIObject in com.blackrook.gui.group
Fields in com.blackrook.gui.group declared as GUIObjectModifier and TypeFieldDescriptionprotected GUIObjectFocusOrderGroup.GroupAction.backwardObjectprotected GUIObjectFocusOrderGroup.GroupAction.forwardObjectprotected GUIObject[]FocusOrderGroup.orderObject order list.Methods in com.blackrook.gui.group with parameters of type GUIObjectModifier and TypeMethodDescriptionprotected voidBinds the actions in this group to the objects in the group.Constructors in com.blackrook.gui.group with parameters of type GUIObjectModifierConstructorDescriptionFocusOrderGroup(FocusOrderGroup.Direction direction, boolean loopOrder, GUIObject... objects) Creates a newFocusOrderGroupand binds the required actions to the objects provided.FocusOrderGroup(FocusOrderGroup.Direction direction, GUIObject... objects) Creates a newFocusOrderGroupand binds the required actions to the objects provided.GroupAction(GUIObject backward, GUIObject forward) ToggleGroup(GUIObject... objects) Creates a newToggleGroupand binds the required actions to the objects provided.Constructor parameters in com.blackrook.gui.group with type arguments of type GUIObjectModifierConstructorDescriptionFocusOrderGroup(FocusOrderGroup.Direction direction, boolean loopOrder, Iterable<GUIObject> objects) Creates a newFocusOrderGroupand binds the required actions to the objects provided.FocusOrderGroup(FocusOrderGroup.Direction direction, Iterable<GUIObject> objects) Creates a newFocusOrderGroupand binds the required actions to the objects provided.ToggleGroup(Iterable<GUIObject> objects) Creates a newToggleGroupand binds the required actions to the objects provided. -
Uses of GUIObject in com.blackrook.gui.layout
Subclasses of GUIObject in com.blackrook.gui.layoutModifier and TypeClassDescriptionprotected static classSpecial panel that acts as a "new line" in a flow.Fields in com.blackrook.gui.layout declared as GUIObjectModifier and TypeFieldDescriptionprotected GUIObjectFramedLayout.bottomCenterBottom-center object lifted from resizeChild().protected GUIObjectFramedLayout.bottomLeftBottom-left object lifted from resizeChild().protected GUIObjectFramedLayout.bottomRightBottom-right object lifted from resizeChild().protected GUIObjectFramedLayout.contentContent object lifted from resizeChild().protected GUIObjectFramedLayout.middleLeftMiddle-left object lifted from resizeChild().protected GUIObjectFramedLayout.middleRightMiddle-right object lifted from resizeChild().protected GUIObjectCardLayout.objectRefReference to object bound to this layout.protected GUIObjectFramedLayout.topCenterTop-center object lifted from resizeChild().protected GUIObjectFramedLayout.topLeftTop-left object lifted from resizeChild().protected GUIObjectFramedLayout.topRightTop-right object lifted from resizeChild().Methods in com.blackrook.gui.layout that return GUIObjectModifier and TypeMethodDescriptionstatic GUIObjectFlowLayout.createNewLinePanel()Creates a special panel that is used for deciding to create a new line in the flow layout.Methods in com.blackrook.gui.layout with parameters of type GUIObjectModifier and TypeMethodDescriptionprotected voidFlowLayout.orientChildren(GUIObject parent) protected voidFlowLayout.prepareLayout(GUIObject parent) voidAnchorLayout.resizeChild(GUIObject object, int index, int childTotal) voidCappedLayout.resizeChild(GUIObject object, int index, int childTotal) voidCardLayout.resizeChild(GUIObject object, int index, int childTotal) voidFlowLayout.resizeChild(GUIObject object, int index, int childTotal) voidFramedLayout.resizeChild(GUIObject object, int index, int childTotal) voidGridLayout.resizeChild(GUIObject object, int index, int childTotal) voidPaddedLayout.resizeChild(GUIObject object, int index, int childTotal) Constructors in com.blackrook.gui.layout with parameters of type GUIObject -
Uses of GUIObject in com.blackrook.gui.object
Subclasses of GUIObject in com.blackrook.gui.objectModifier and TypeClassDescriptionclassA toggle panel that has its own theme keys depending on its state, checkbox style.classGUICycler<T>Option cycler abstract.classA "framed" pane object that already adds the frame elements around the object, as well as a means to make the frame resizable around its edges, and draggable at its top.classA special panel that goes not add itself to render sets (but still adds its children), so it is not rendered itself, but still is a panel otherwise.classGUI Object that holds and displays text data.classA standard rectangular panel.classImplementation of a progress bar.classA toggle panel that has its own theme keys depending on its state, radio button style.classGUISlider<T>A slider class that alters an internal value depending on where the slider sits on the slider bar.classA checkbox object that holds a boolean switch.Fields in com.blackrook.gui.object declared as GUIObjectModifier and TypeFieldDescriptionprotected GUIObjectGUIProgressBar.emptyBarObjectInternal object for the empty bar.protected GUIObjectGUIProgressBar.fullBarObjectInternal object for the full bar.protected GUIObjectGUIProgressBar.thumbObjectInternal object for the thumb.protected GUIObjectGUISlider.thumbObjectInternal object for the thumb.protected GUIObjectGUISlider.trackEndObjectInternal object for the track end.protected GUIObjectGUISlider.trackObjectInternal object for the track.protected GUIObjectGUISlider.trackStartObjectInternal object for the track start.Methods in com.blackrook.gui.object that return GUIObjectModifier and TypeMethodDescriptionGUIProgressBar.getEmptyBarObject()GUIProgressBar.getFullBarObject()GUISlider.getThumb()GUIProgressBar.getThumbObject()GUISlider.getTrack()GUISlider.getTrackEnd()GUISlider.getTrackStart()GUILabel.setBounds(float x, float y, float width, float height) Sets the object bounds.This uses a special layout; to preserve it, this throws UnsupportedOperationException.This uses a special layout; to preserve it, this throws UnsupportedOperationException.This uses a special layout; to preserve it, this throws UnsupportedOperationException.GUILabel.stretch(float width, float height) Changes this object's width/height by an x or y-coordinate amount.