Skip to content

MTreeEditorStyle

Stanislav Podolia edited this page Jul 21, 2020 · 2 revisions

Flow Wiki

MTreeEditorStyle

  • MTreeStyle

  • AccessRole

  • AccessDescription

  • AccessKbdShortcutString

  • AccessSelectable

  • AccessCallback

  • AccessChildSelected

  • AccessFocused

  • AccessState

      	* **FAccessTabindex**<br />
      		* **tabindex** : [Transform](Transform)\<int\><br />
    
      	* **FAccessEnabled**<br />
      		* **enabled** : [Transform](Transform)\<bool\><br />
    
      	* **FAccessAttribute**<br />
      		* **name** : string<br />
      		* **value** : [Transform](Transform)\<string\><br />
    
      	* **FAccessStyle**<br />
      		* **name** : string<br />
      		* **value** : [Transform](Transform)\<string\><br />
    
      	* **FAccessTabOrder**<br />
      		* **tabOrder** : [Transform](Transform)\<\[ int \]\><br />
    
      	* **FAccessZorder**<br />
      		* **zOrder** : [Transform](Transform)\<int\><br />
    
      	* **FAccessVisible**<br />
      		* **visible** : [Transform](Transform)\<bool\><br />
    
  • TagName

  • LangAttribute

      * **MEnabled**<br />
      	Disables inner clickable materials in most of the components<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **MFocusEnabled**<br />
      	Enable or disable shortcuts and keys for focus, theme changer and feedback snapshots.<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **MClickEnabled**<br />
      	Disable any mouse interaction without making component disabled<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **MKeysEnabled**<br />
      	Disable any keyboard interaction without making component disabled<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **IScriptBehaviour**<br />
      	* **name** : string<br />
      	* **beh** : DynamicBehaviour\<flow\><br />
      	* **type** : [IScriptRecordType](IScriptRecordType)<br />
    
      * **MFocusName**<br />
      	* **name** : string<br />
    
      * **MActive**<br />
      	* **active** : DynamicBehaviour\<bool\><br />
    
      * **MChildActive**<br />
      	Is there any child being focused, hovered or pressed (i.e. interacted by user)<br />
      	* **active** : DynamicBehaviour\<bool\><br />
    
      * **MFocusId**<br />
      	Set MFocus id which acts also as taborder inside parent MFocusGroup<br />
      	Components with same MFocusId inside same parent can cause problems<br />
      	* **id** : [Transform](Transform)\<int\><br />
    
      * **MFocused**<br />
      	Shows is this component focused<br />
      	Also allows to set focus<br />
      	* **focused** : DynamicBehaviour\<bool\><br />
    
      * **IScriptId**<br />
      	* **id** : string<br />
    
      * **IScriptRecordingEnabled**<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **MFocusVertical**<br />
      	Switch focus using up and down arrows<br />
      	* **vertical** : bool<br />
    
      * **MFocusHorizontal**<br />
      	Switch focus using left and right arrows<br />
      	* **horizontal** : bool<br />
    
      * **MZorder**<br />
      	* **zorder** : [Transform](Transform)\<int\><br />
    
      * **MHintMarkerEnabled**<br />
      	Shows pulsing circle around some clickable elements. The circle will disappear on hover or after click on the element.<br />
      	False by default.<br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
    
      * **MaterialTheme**<br />
      	* **palette** : MaterialPalette<br />
      	* **shape** : MaterialShapeManager<br />
      	* **type** : MaterialFontManager<br />
      	* **enableAnimations** : bool<br />
      	* **enableRipple** : bool<br />
    
      * **MLightBackground**<br />
      	Change material dark/light theme<br />
      	* **light** : bool<br />
    
      * **MGetParent**<br />
      	* **parent** : DynamicBehaviour\<Maybe\<MFocusGroup\>\><br />
    
      * **MSetParent**<br />
      	* **parent** : [Transform](Transform)\<Maybe\<MFocusGroup\>\><br />
    
      * **UpdateMaterialTheme**<br />
      	Create new MaterialTheme from the parent's one<br />
      	* **fn** : (MaterialTheme) -> MaterialTheme<br />
    
  • SetRTL

      * **MScrollInfo**<br />
      	* **position** : DynamicBehaviour\<Point\><br />
      	* **contentWH** : [Transform](Transform)\<WidthHeight\><br />
      	* **enabled** : [Transform](Transform)\<bool\><br />
      	* **scrollToFocusEnabled** : [Transform](Transform)\<bool\><br />
    
  • THovering

    • MTreeSelection

      • selected : DynamicBehaviour<Set<[ int ]>>
    • MTreeOrder

      • order : DynamicBehaviour<[ MTreeOrderNode<?> ]>
    • MTreeOnOrderChange

      • onChange : (newOrder : [ MTreeOrderNode<?> ]) -> void
    • MTreeExpanded

      • expanded : DynamicBehaviour<Set<[ int ]>>
    • MSingleSelection
      Helpers for easier selection, for advanced stuff use MListSelection

      • selected : DynamicBehaviour<int>
    • MMultiSelection

      • selected : DynamicBehaviour<Set<int>>
    • MThemeColor

    • MItemsLength

      • length : DynamicBehaviour<int>
    • MTreeHideSeparators

    • MTreeLazyLoad

      • loadCount : int
      • buildPanelFn : Maybe<(onClick : () -> void) -> Material>
    • MTreeLazyScrollMode
      Content is loaded by button clicking

  • MTreeEditorNodeMaterial
    Replace node view with custom material

  • MTreeEditorToolbar
    Provide additional items and style for the editor toolbar

  • MTreeEditorNodeIsEmpty
    Custom function to determine if node is empty

    • fn : (node : MTreeEditorNode<?, ??>) -> bool
Clone this wiki locally