Index
All Classes and Interfaces|All Packages
A
- add(int, E) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- add(E) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- addAll(int, Collection<? extends E>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- addAll(Collection<? extends E>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- addAll(E...) - Method in interface io.github.somesourcecode.someguiapi.collections.ObservableList
-
A convenience method to add varargs elements to the list.
- addAll(E...) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- addListener(ListChangeListener<? super E>) - Method in interface io.github.somesourcecode.someguiapi.collections.ObservableList
-
Adds a listener that is called whenever the list changes.
- addListener(ListChangeListener<? super E>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- appendBlankLine() - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Appends a blank line to the end of the lore.
- appendLine(Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Appends the given line to the end of the lore.
- asItemStack() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the
ItemStackrepresentation of this item. - at(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Relocates the item to the given coordinates.
- atX(int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Relocates the item to the given x coordinate.
- atY(int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Relocates the item to the given y coordinate.
B
- Background - Interface in io.github.somesourcecode.someguiapi.scene
-
Represents a background for a node or scene.
- backgroundAt(int, int) - Method in interface io.github.somesourcecode.someguiapi.scene.Background
-
Returns the item stack that should be displayed at the given layout coordinates.
- blankLine() - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Appends a blank line to the end of the lore.
- blankLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Sets the line at the specified index to a blank line.
- build() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Builds the GuiItem object.
- build() - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Builds the lore object.
C
- Change<E> - Class in io.github.somesourcecode.someguiapi.collections
-
Represents a change in a list.
- Change(List<? extends E>, List<? extends E>) - Constructor for class io.github.somesourcecode.someguiapi.collections.Change
-
Constructs a new change with the specified added and removed sublists.
- checkerboard(GuiItem, GuiItem) - Static method in interface io.github.somesourcecode.someguiapi.scene.Background
-
Creates a checkerboard background with the given primary and secondary items.
- ChestGui - Class in io.github.somesourcecode.someguiapi.scene.gui
-
Represents a GUI that can be shown to players.
- ChestGui(Component, int) - Constructor for class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Constructs a new ChestGui with the specified title and number of rows.
- clear() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- clear() - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Clears all lines from the lore.
- clear() - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Removes all lines from the lore.
- consume() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Consumes the click.
- contains(Object) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- containsAll(Collection<?>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- create() - Static method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Constructs a new empty lore builder.
- create(Lore) - Static method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Constructs a new lore builder with the lines of the given lore.
- create(Material) - Static method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Constructs a new empty GuiItem builder with the given material.
E
- EMPTY - Static variable in class io.github.somesourcecode.someguiapi.util.Insets
-
Empty insets.
- equals(Object) - Method in class io.github.somesourcecode.someguiapi.util.Insets
-
Indicates whether some other object is "equal to" this one.
F
- fill(GuiItem) - Static method in interface io.github.somesourcecode.someguiapi.scene.Background
-
Creates a background that fills the background with the given item.
- fireOnClick(NodeClickContext) - Method in class io.github.somesourcecode.someguiapi.scene.Scene
-
Fires the onClick event for the node at the given coordinates.
- FlowPane - Class in io.github.somesourcecode.someguiapi.scene.pane
-
A layout pane that arranges its children in a flow, wrapping at the pane's bounds.
- FlowPane() - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with horizontal orientation.
- FlowPane(int, int) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given horizontal and vertical gaps.
- FlowPane(int, int, Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given horizontal and vertical gaps and children.
- FlowPane(Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given children.
- FlowPane(Orientation) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given orientation.
- FlowPane(Orientation, int, int) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given orientation, horizontal and vertical gaps.
- FlowPane(Orientation, int, int, Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given orientation, horizontal and vertical gaps, and children.
- FlowPane(Orientation, Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Constructs a new FlowPane with the given orientation and children.
G
- get(int) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- getAddedSubList() - Method in class io.github.somesourcecode.someguiapi.collections.Change
-
Returns the list of elements that were added.
- getBackground() - Method in class io.github.somesourcecode.someguiapi.scene.Parent
-
Returns the background of this parent.
- getBackground() - Method in class io.github.somesourcecode.someguiapi.scene.Scene
-
Returns the background of the scene.
- getBottom() - Method in class io.github.somesourcecode.someguiapi.util.Insets
-
Returns the bottom inset.
- getChildren() - Method in class io.github.somesourcecode.someguiapi.scene.pane.Pane
- getChildren() - Method in class io.github.somesourcecode.someguiapi.scene.Parent
-
Returns the list of children of this parent.
- getHeight() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
- getHeight() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the height of the node.
- getHeight() - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
- getHGap() - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Returns the amount of space between each node in a horizontal FlowPane or the space between each column in a vertical FlowPane.
- getHotBarButton() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns the hot bar button that was clicked.
- getIndex() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the index of this item.
- getInventory() - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
- getLayoutX() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the x coordinate of the node's origin.
- getLayoutY() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the y coordinate of the node's origin.
- getLeft() - Method in class io.github.somesourcecode.someguiapi.util.Insets
-
Returns the left inset.
- getLines() - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Returns the lines of the lore, represented as a list of components.
- getLore() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the lore of this item.
- getMaterial() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the material of this item.
- getOnClick() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the consumer that is called when the node is clicked.
- getOnHotBarClick() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the consumer that is called when the node receives a hot bar click.
- getOnLeftClick() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the consumer that is called when the node is left-clicked.
- getOnRightClick() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the consumer that is called when the node is right-clicked.
- getOnShiftClick() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the consumer that is called when the node is shift-clicked.
- getOrientation() - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Returns the orientation of the flow pane.
- getPadding() - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Returns the padding of this region.
- getParent() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the parent of this node.
- getPlayer() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns the player that clicked the node.
- getRemovedSubList() - Method in class io.github.somesourcecode.someguiapi.collections.Change
-
Returns the list of elements that were removed.
- getRight() - Method in class io.github.somesourcecode.someguiapi.util.Insets
-
Returns the right inset.
- getRoot() - Method in class io.github.somesourcecode.someguiapi.scene.Scene
-
Returns the root of the scene.
- getRows() - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Returns the number of rows of this GUI.
- getScene() - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Returns the
Sceneof this GUI. - getSlotX() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns the x coordinate of the slot that was clicked.
- getSlotY() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns the y coordinate of the slot that was clicked.
- getSpacing() - Method in class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Returns the amount of horizontal space between each child node.
- getSpacing() - Method in class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Returns the amount of vertical space between each child node.
- getTitle() - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Returns the title of this GUI.
- getTitle() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the title of this item.
- getTop() - Method in class io.github.somesourcecode.someguiapi.util.Insets
-
Returns the top inset.
- getTranslateX() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the x translation of the node.
- getTranslateY() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the y translation of the node.
- getType() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns the type of click that was performed.
- getVGap() - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Returns the amount of space between each node in a vertical FlowPane or the space between each row in a horizontal FlowPane.
- getViewers() - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
- getViewers() - Method in class io.github.somesourcecode.someguiapi.scene.gui.Gui
-
Returns a list of players that are currently viewing this GUI.
- getWidth() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
- getWidth() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the width of the node.
- getWidth() - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
- Gui - Class in io.github.somesourcecode.someguiapi.scene.gui
-
The base class for GUIs that can be shown to players.
- Gui() - Constructor for class io.github.somesourcecode.someguiapi.scene.gui.Gui
- GuiItem - Class in io.github.somesourcecode.someguiapi.scene
-
Represents an item in a GUI.
- GuiItem(Material) - Constructor for class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Constructs a new GuiItem with the specified material.
- GuiItem(Material, Component) - Constructor for class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Constructs a new GuiItem with the specified material and title.
- GuiItem(Material, Component, Lore) - Constructor for class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Constructs a new GuiItem with the specified material, title, and lore.
- GuiItem.Builder - Class in io.github.somesourcecode.someguiapi.scene
-
The builder for the GuiItem class.
- GuiListener - Class in io.github.somesourcecode.someguiapi
-
A listener that listens for GUI interactions.
- GuiListener() - Constructor for class io.github.somesourcecode.someguiapi.GuiListener
H
- HBox - Class in io.github.somesourcecode.someguiapi.scene.pane
-
A layout pane that arranges its children in a horizontal row.
- HBox() - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Constructs a new HBox with a spacing of 0.
- HBox(int) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Constructs a new HBox with the given spacing.
- HBox(int, Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Constructs a new HBox with the given spacing and children.
- HBox(Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Constructs a new HBox with the given children.
- HORIZONTAL - Enum constant in enum class io.github.somesourcecode.someguiapi.util.Orientation
I
- indexOf(Object) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- insertBlankLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Inserts a blank line at the specified index.
- insertBlankLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Inserts a blank line at the specified index.
- insertLine(int, Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Inserts the given line at the specified index.
- insertLine(int, Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Inserts the given line at the specified index.
- Insets - Class in io.github.somesourcecode.someguiapi.util
-
Represents the distance from the edges of a container to its content.
- Insets(int) - Constructor for class io.github.somesourcecode.someguiapi.util.Insets
-
Constructs a new Insets instance with same value for all four offsets.
- Insets(int, int) - Constructor for class io.github.somesourcecode.someguiapi.util.Insets
-
Constructs a new Insets instance with same value for top and bottom, and for right and left.
- Insets(int, int, int, int) - Constructor for class io.github.somesourcecode.someguiapi.util.Insets
-
Constructs a new Insets instance with four different offsets.
- inventory - Variable in class io.github.somesourcecode.someguiapi.scene.gui.Gui
- io.github.somesourcecode.someguiapi - package io.github.somesourcecode.someguiapi
- io.github.somesourcecode.someguiapi.collections - package io.github.somesourcecode.someguiapi.collections
- io.github.somesourcecode.someguiapi.scene - package io.github.somesourcecode.someguiapi.scene
- io.github.somesourcecode.someguiapi.scene.action - package io.github.somesourcecode.someguiapi.scene.action
- io.github.somesourcecode.someguiapi.scene.gui - package io.github.somesourcecode.someguiapi.scene.gui
- io.github.somesourcecode.someguiapi.scene.pane - package io.github.somesourcecode.someguiapi.scene.pane
- io.github.somesourcecode.someguiapi.util - package io.github.somesourcecode.someguiapi.util
- isClipping() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
- isClipping() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns whether the node is clipping its children.
- isConsumed() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Returns true if the click has been consumed; false otherwise.
- isEmpty() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- isGlow() - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns whether this item should have a glow effect.
- isHotBarClick() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Return true if the click was a hot bar click; false otherwise.
- isLeftClick() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Return true if the click was a left click; false otherwise.
- isRightClick() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Return true if the click was a right click; false otherwise.
- isShiftClick() - Method in class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Return true if the click was a shift click; false otherwise.
- isVisible() - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns whether the node is visible.
- iterator() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
L
- lastIndexOf(Object) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- layout() - Method in class io.github.somesourcecode.someguiapi.scene.Parent
-
Recursively applies the layout to all children and itself.
- layoutChildren() - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
- layoutChildren() - Method in class io.github.somesourcecode.someguiapi.scene.pane.HBox
- layoutChildren() - Method in class io.github.somesourcecode.someguiapi.scene.pane.VBox
- layoutChildren() - Method in class io.github.somesourcecode.someguiapi.scene.Parent
- line(int, Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Replaces the line at the specified index with the given line.
- line(Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Appends the given line to the end of the lore.
- lines(List<Component>) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Sets the lines of the lore.
- lines(Component...) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Sets the lines of the lore.
- ListChangeListener<E> - Interface in io.github.somesourcecode.someguiapi.collections
-
A listener that is called whenever an
ObservableListchanges. - listIterator() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- listIterator(int) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- Lore - Class in io.github.somesourcecode.someguiapi.scene
-
Represents the lore of an item.
- Lore() - Constructor for class io.github.somesourcecode.someguiapi.scene.Lore
-
Constructs a new empty lore.
- Lore(List<Component>) - Constructor for class io.github.somesourcecode.someguiapi.scene.Lore
-
Constructs a new lore with the given lines.
- Lore(Component...) - Constructor for class io.github.somesourcecode.someguiapi.scene.Lore
-
Constructs a new lore with the given lines.
- Lore.Builder - Class in io.github.somesourcecode.someguiapi.scene
-
The builder for the Lore class.
M
- Main - Class in io.github.somesourcecode.someguiapi
- Main() - Constructor for class io.github.somesourcecode.someguiapi.Main
N
- Node - Class in io.github.somesourcecode.someguiapi.scene
-
The base class for all nodes in the scene graph.
- Node() - Constructor for class io.github.somesourcecode.someguiapi.scene.Node
- nodeAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns the node at the given coordinates.
- nodeAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns the node at the given coordinates.
- nodeAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.Parent
- NodeClickContext - Class in io.github.somesourcecode.someguiapi.scene.action
-
Represents the context of a node click.
- NodeClickContext(int, int, ClickType, Player, int) - Constructor for class io.github.somesourcecode.someguiapi.scene.action.NodeClickContext
-
Creates a new node click context.
O
- ObservableList<E> - Interface in io.github.somesourcecode.someguiapi.collections
-
A list that can be observed for changes.
- ObservableListBase<E> - Class in io.github.somesourcecode.someguiapi.collections
-
A base implementation of an
ObservableList. - ObservableListBase(List<E>) - Constructor for class io.github.somesourcecode.someguiapi.collections.ObservableListBase
-
Constructs a new observable list with the specified base list.
- onChanged(Change<? extends E>) - Method in interface io.github.somesourcecode.someguiapi.collections.ListChangeListener
-
Called whenever the list changes.
- onClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the consumer that is called when the node is clicked.
- onEnable() - Method in class io.github.somesourcecode.someguiapi.Main
- onGuiClick(InventoryClickEvent) - Method in class io.github.somesourcecode.someguiapi.GuiListener
- onHotBarClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the consumer that is called when the node receives a hot bar click.
- onLeftClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the consumer that is called when the node is left-clicked.
- onRightClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the consumer that is called when the node is right-clicked.
- onShiftClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the consumer that is called when the node is shift-clicked.
- Orientation - Enum Class in io.github.somesourcecode.someguiapi.util
-
Represents the orientation of a control or layout.
P
- Pane - Class in io.github.somesourcecode.someguiapi.scene.pane
-
Pane does not modify the layout of its children in any way.
- Pane() - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.Pane
-
Constructs a new pane empty.
- Pane(Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.Pane
-
Constructs a new pane with the given children.
- Parent - Class in io.github.somesourcecode.someguiapi.scene
-
The base class for all nodes that can have children.
- Parent() - Constructor for class io.github.somesourcecode.someguiapi.scene.Parent
-
Constructs a new parent node.
- pixelAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Returns an
ItemStackrepresenting the pixel at the given coordinates. - pixelAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Returns an
ItemStackrepresenting the pixel at the given coordinates. - pixelAt(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.Parent
R
- Region - Class in io.github.somesourcecode.someguiapi.scene.pane
-
The Base class for parent nodes whose size can be freely set.
- Region() - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Constructs a new region with a width and height of 0.
- relocate(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Moves the node to the specified location.
- remove(int) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- remove(Object) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- removeAll(E...) - Method in interface io.github.somesourcecode.someguiapi.collections.ObservableList
-
A convenience method to remove varargs elements from the list.
- removeAll(E...) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- removeAll(Collection<?>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- removeLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore.Builder
-
Removes the line at the specified index.
- removeLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Removes the line at the specified index.
- removeListener(ListChangeListener<? super E>) - Method in interface io.github.somesourcecode.someguiapi.collections.ObservableList
-
Removes a listener.
- removeListener(ListChangeListener<? super E>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- resize(int, int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Resizes this region to the specified width and height.
- resizeRelocate(int, int, int, int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Resizes and relocates this region to the specified layoutX, layoutY, width, and height.
- retainAll(Collection<?>) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
S
- Scene - Class in io.github.somesourcecode.someguiapi.scene
-
The Scene class is the container for all content in a scene graph.
- Scene() - Constructor for class io.github.somesourcecode.someguiapi.scene.Scene
-
Constructs a new empty scene.
- Scene(Parent) - Constructor for class io.github.somesourcecode.someguiapi.scene.Scene
-
Constructs a new scene with the given root.
- set(int, E) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- setBackground(Background) - Method in class io.github.somesourcecode.someguiapi.scene.Parent
-
Sets the background of this parent.
- setBackground(Background) - Method in class io.github.somesourcecode.someguiapi.scene.Scene
-
Sets the background of the scene.
- setBlankLine(int) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Sets the line at the specified index to a blank line.
- setClipping(boolean) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets whether the node is clipping its children.
- setGlow(boolean) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets whether this item should have a glow effect.
- setHeight(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Sets the height of this region.
- setHGap(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Sets the amount of space between each node in a horizontal FlowPane or the space between each column in a vertical FlowPane.
- setIndex(int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets the index of this item.
- setLayoutX(int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the x coordinate of the node's origin.
- setLayoutY(int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the y coordinate of the node's origin.
- setLine(int, Component) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Replaces the line at the specified index with the given line.
- setLines(List<Component>) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Sets the lines of the lore.
- setLines(Component...) - Method in class io.github.somesourcecode.someguiapi.scene.Lore
-
Sets the lines of the lore.
- setLore(Lore) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets the lore of this item.
- setMaterial(Material) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets the material of this item.
- setOnClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the consumer that is called when the node is clicked.
- setOnHotBarClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the consumer that is called when the node receives a hot bar click.
- setOnLeftClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the consumer that is called when the node is left-clicked.
- setOnRightClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the consumer that is called when the node is right-clicked.
- setOnShiftClick(Consumer<NodeClickContext>) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the consumer that is called when the node is shift-clicked.
- setOrientation(Orientation) - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Sets the orientation of the flow pane.
- setPadding(Insets) - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Sets the padding of this region.
- setParent(Parent) - Method in class io.github.somesourcecode.someguiapi.scene.Node
- setRoot(Parent) - Method in class io.github.somesourcecode.someguiapi.scene.Scene
-
Sets the root of the scene.
- setRows(int) - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Sets the number of rows of this GUI.
- setScene(Scene) - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Sets the
Sceneof this GUI. - setSpacing(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.HBox
-
Sets the amount of horizontal space between each child node.
- setSpacing(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Sets the amount of vertical space between each child node.
- setTitle(String) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets the title of this item.
- setTitle(Component) - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
-
Sets the title of this GUI.
- setTitle(Component) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem
-
Sets the title of this item.
- setTranslateX(int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the x translation of the node.
- setTranslateY(int) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets the y translation of the node.
- setVGap(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.FlowPane
-
Sets the amount of space between each node in a vertical FlowPane or the space between each row in a horizontal FlowPane.
- setVisible(boolean) - Method in class io.github.somesourcecode.someguiapi.scene.Node
-
Sets whether the node is visible.
- setWidth(int) - Method in class io.github.somesourcecode.someguiapi.scene.pane.Region
-
Sets the width of this region.
- show(Player) - Method in class io.github.somesourcecode.someguiapi.scene.gui.ChestGui
- show(Player) - Method in class io.github.somesourcecode.someguiapi.scene.gui.Gui
-
Shows this GUI to the specified player.
- size() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- subList(int, int) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
T
- toArray() - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
- toArray(T[]) - Method in class io.github.somesourcecode.someguiapi.collections.ObservableListBase
U
- update() - Method in class io.github.somesourcecode.someguiapi.scene.gui.Gui
-
Updates the GUI for all viewers.
V
- valueOf(String) - Static method in enum class io.github.somesourcecode.someguiapi.util.Orientation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.somesourcecode.someguiapi.util.Orientation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VBox - Class in io.github.somesourcecode.someguiapi.scene.pane
-
A layout pane that arranges its children in a vertical column.
- VBox() - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Constructs a new VBox with a spacing of 0.
- VBox(int) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Constructs a new VBox with the given spacing.
- VBox(int, Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Constructs a new VBox with the given spacing and children.
- VBox(Node...) - Constructor for class io.github.somesourcecode.someguiapi.scene.pane.VBox
-
Constructs a new VBox with the given children.
- VERTICAL - Enum constant in enum class io.github.somesourcecode.someguiapi.util.Orientation
W
- wasAdded() - Method in class io.github.somesourcecode.someguiapi.collections.Change
-
Returns whether elements were added.
- wasRemoved() - Method in class io.github.somesourcecode.someguiapi.collections.Change
-
Returns whether elements were removed.
- withGlow(boolean) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets whether the item should have a glow effect.
- withIndex(int) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the index of the item.
- withLore(Lore) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the lore of the item.
- withMaterial(Material) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the material of the item.
- withTitle(String) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the title of the item.
- withTitle(Component) - Method in class io.github.somesourcecode.someguiapi.scene.GuiItem.Builder
-
Sets the title of the item.
All Classes and Interfaces|All Packages