Package pgui.type
Class ElementList
java.lang.Object
pgui.type.ElementList
A datatype used for organising multiple elements together
-
Method Summary
-
Method Details
-
get
Returns the Element with the given ID- Parameters:
ID
- Element ID- Returns:
- The corresponding Element with that ID
-
ID
Returns the ID of the given Element- Parameters:
x
- Element- Returns:
- Element's ID
-
append
Appends an element to the ElementList- Parameters:
x
- The Element to be addedID
- The ID of the Element to be added
-
index
- Returns:
- The index of the specified element
-