Automated: update Fields |
template some stuff for now |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|SelectedItem|BrowserItem| | |SelectedItem|BrowserItem| The currently selected item being highlighted. | ||
|_previousSelectedItem|BrowserItem| | |_previousSelectedItem|BrowserItem| The item previously highlighted. | ||
|AllowSelect|Bool| | |AllowSelect|Bool| Whether this file browser allows selecting item elements. | ||
|ItemSize|Float| | |ItemSize|Float| How big the items are on the view. | ||
|_selectedText|'''[[Component:Text|Text]]'''|TypeAdv4=true| | |_selectedText|'''[[Component:Text|Text]]'''|TypeAdv4=true| The text to fill with the name of the selected item. | ||
|_pathRoot|Slot| | |_pathRoot|Slot| The root of the area being used to display the current path. | ||
|_buttonsRoot|Slot| | |_buttonsRoot|Slot| The root of the area being used to show the different button actions. | ||
|_folderGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv7=true| | |_folderGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv7=true| The grid layout Component being used to align the folders in the directory. | ||
|_itemGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv8=true| | |_itemGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv8=true| The grid layout Component being used to align the files in the directory. | ||
|_tabSprite|'''[[Component:SpriteProvider|SpriteProvider]]'''|TypeAdv9=true| | |_tabSprite|'''[[Component:SpriteProvider|SpriteProvider]]'''|TypeAdv9=true| The sprite being used to show the tab sprite. | ||
|_loadingIndicator|Slot| | |_loadingIndicator|Slot| The slot that stores the loading indicator for a newly opened directory. | ||
|_swapper|'''[[Component:SlideSwapRegion|SlideSwapRegion]]'''|TypeAdv11=true| | |_swapper|'''[[Component:SlideSwapRegion|SlideSwapRegion]]'''|TypeAdv11=true| The component to handle the slide animation when opening a different directory. | ||
|CurrentPath|String| | |CurrentPath|String| | ||
|_lastPath|String| | |_lastPath|String| |
Revision as of 18:00, 18 February 2025
Component image File:FileBrowserComponent.pngFile Browser component as seen in the Scene Inspector
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
SelectedItem
|
BrowserItem | The currently selected item being highlighted. |
_previousSelectedItem
|
BrowserItem | The item previously highlighted. |
AllowSelect
|
Bool | Whether this file browser allows selecting item elements. |
ItemSize
|
Float | How big the items are on the view. |
_selectedText
|
Text | The text to fill with the name of the selected item. |
_pathRoot
|
Slot | The root of the area being used to display the current path. |
_buttonsRoot
|
Slot | The root of the area being used to show the different button actions. |
_folderGrid
|
GridLayout | The grid layout Component being used to align the folders in the directory. |
_itemGrid
|
GridLayout | The grid layout Component being used to align the files in the directory. |
_tabSprite
|
SpriteProvider | The sprite being used to show the tab sprite. |
_loadingIndicator
|
Slot | The slot that stores the loading indicator for a newly opened directory. |
_swapper
|
SlideSwapRegion | The component to handle the slide animation when opening a different directory. |
CurrentPath
|
String | |
_lastPath
|
String | |
_user
|
direct MachineUserRef | |
_importButton
|
Button | |
_rawImportButton
|
Button | |
_createNewButton
|
Button | |
_reloadButton
|
Button |