Creates an instance of a ListView with the supplied parameters.
Supplies draw parameters to the items
Puts a PopUpElement on the GUI.
Puts a PopUpElement on the GUI at the given position.
Pastes a bitmap to the given point using blitter, which threats color #0 as transparency.
Pastes a slice of a bitmap to the given point using blitter, which threats color #0 as transparency.
Pastes a repeated bitmap pattern over the specified area.
Removes all entries in the list.
Clears the area within the target
Closes a single popup element.
Draws an empty rectangle.
Draws an empty rectangle with line patterns.
Draws a filled rectangle with a specified color.
Draws a line.
Draws a line pattern.
Draws a multi line text within the given prelimiter.
Draws a single line text within the given prelimiter.
When called, the listener should drop all text input.
Ends the popup session and closes all popups.
Fills an area with the specified color.
Returns the absolute position of the element.
Called if text input should be initialized.
Inserts an element at the given index.
Moves the entry to the given position.
Accesses data entries in a safe manner.
Accesses data entries in a safe manner.
Allows to append a single element to the entry list.
Allows to append multiple elements to the entry list.
Passes mouse click event
Passes mouse move event
Passes mouse scroll event
Recalculates the total width and height of the list view's field, also generates scrollbars if needed.
Refreshes the list view. Must be called every time when adding new items is finished.
Removes an item from the entries. Returns the removed entry.
Sets the cursor to the given type on request.
Gives focus to the element if applicable
Returns the current x and y scroll positions.
Sets the scrolling to pos, then returns the new scrolling positions.
Sets a new header, also able to supply new entries.
Passes text editing events to the target, alongside with a window ID and a timestamp.
Passes the inputted text to the target, alongside with a window ID and a timestamp.
Passes text input key events to the target, e.g. cursor keys.
XOR blits a repeated bitmap pattern over the specified area.
XOR blits a color index over a specified area.
Enables or disables the text editing of this element.
Returns true if text editing is enabled.
Enables or disables editing for multiple cells. If disabled, the first cell with editing enabled will be able to be edited.
Returns true if text editing for multiple cells is enabled.
Returns the numfer of entries the ListView has.
Returns the currently selected element, or null if none is selected.
Returns the number of the selected item, or minus one if nothing is selected.
Sets the selected item and then does a redraw. -1 sets selection to none.
The header of the ListView. Accessed in a safe manner to ensure it's being updated on the output raster.
Position of cursor.
Holds shared draw parameters that are used when the element is being drawn. Should be set to null otherwise.
Entries in the ListView. Accessed in a safe manner to ensure it's being updated on the output raster and that the number of columns match.
Filters the input to the cell if not null.
Horizontal scrolling speed.
Horizontal selection for text editing.
Horizontal scroll bar.
Horizontal text offset if text cannot fit the cell.
Called when an item is selected
Called when text input is finished and accepted Event value is CellEditEvent
Selected item's number, or -1 if none selected.
Text editing area.
Lenght of selected characters.
Vertical scrolling speed.
Vertical scroll bar.
Common input handler, must be set upon program initialization for text input, etc.
Contains the position of the element. Should be only modified with functions to ensure consistency.
Points to the container for two-way communication
Contains the text of the element if any. Should be modified with functions to ensure redraws.
Passed with other event informations when event is caused. Can be something like the name of the instance.
Contains various status flags.
Sets a custom style for this element. If not set, then it'll get the style from it's parent.
Called when drawing is finished
Called on left mouseclick released
Called on right mouseclick released
Called on middle mouseclick released
Called if mouse is moved on object
Called if mouse is scrolled on object
Stores the last known mouse position for future reference
Returns the text of this element.
Sets whether the element is enabled or not.
Returns whether the element is enabled or not.
Updates the output. Every subclass must override it.
Returns the source string.
Returns true if the element will generate events on mouse press and mouse release. By default, only release is used.
Returns true if the element will generate events on mouse press and mouse release. By default, only release is used.
Returns the next available StyleSheet.
Called when an object receives focus.
Called when an object loses focus.
Cycles the focus on a single element. Returns -1 if end is reached, or the number of remaining elements that are cycleable in the direction.
Passes key events to the focused element when not in text editing mode.
Returns whether the element is focused
Returns whether the element is pressed
Returns whether the element is checked
Sets whether the element is checked
Implements a basic ListView