Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
web:wall [2018/04/14 16:09] 127.0.0.1 external edit |
web:wall [2019/10/23 05:53] (current) |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Events ==== | ==== Events ==== | ||
^ Definition ^ Description ^ | ^ Definition ^ Description ^ | ||
- | | | This class exposes no events. | | + | | KeyPress(KeyCode as Integer, AltKey as Boolean, CtrlKey as Boolean, ShiftKey as Boolean) | Fires when a key or key combination is pressed on the keyboard while the Wall has focus. | |
+ | | ScrollBottom() | Fires when the user has scrolled all the way to the bottom of the available height. Typically used to lazy load more panels. | | ||
==== Methods ==== | ==== Methods ==== | ||
^ Definition ^ Description ^ | ^ Definition ^ Description ^ | ||
| AddPanel( thePanel as GraffitiWebWallPanel ) | Adds a panel to the wall. | | | AddPanel( thePanel as GraffitiWebWallPanel ) | Adds a panel to the wall. | | ||
- | | GetIndex( thePanel as GraffitiWebWallPanel ) as [[http://developer.xojo.com/integer|Integer]] | Returns the index of the panel. | | + | | GetIndex( thePanel as GraffitiWebWallPanel ) as Integer | Returns the index of the panel. | |
- | | GetPanel( panelIndex as [[http://developer.xojo.com/integer|Integer]] ) as GraffitiWebWallPanel | Returns the panel at the panelIndex position of the panels array. | | + | | GetPanel( panelIndex as Integer ) as GraffitiWebWallPanel | Returns the panel at the panelIndex position of the panels array. | |
- | | InsertPanel( AtIndex as [[http://developer.xojo.com/integer|Integer]], thePanel as GraffitiWebWallPanel ) | Inserts a panel at the given index. | | + | | InsertPanel( AtIndex as Integer, thePanel as GraffitiWebWallPanel ) | Inserts a panel at the given index. | |
- | | PanelCount() as [[http://developer.xojo.com/integer|Integer]] | The number of panels currently displayed. | | + | | PanelCount() as Integer | The number of panels currently displayed. | |
| RemoveAll() | Remove all panels. | | | RemoveAll() | Remove all panels. | | ||
- | | RemovePanel( panelIndex as [[http://developer.xojo.com/integer|Integer]] ) | Removes the panel at panelIndex in the panels array from the display. | | + | | RemovePanel( panelIndex as Integer ) | Removes the panel at panelIndex in the panels array from the display. | |
| RemovePanel( thePanel as GraffitiWebWallPanel ) | Removes the specified panel. | | | RemovePanel( thePanel as GraffitiWebWallPanel ) | Removes the specified panel. | | ||
==== Properties ==== | ==== Properties ==== | ||
^ Name ^ Type ^ Default Value ^ Description ^ | ^ Name ^ Type ^ Default Value ^ Description ^ | ||
- | | GutterHeight | [[http://developer.xojo.com/integer|Integer]] | 10 | The height of the bottom margins of each panel. | | + | | GutterHeight | Integer | 10 | The height of the bottom margins of each panel. | |
- | | GutterWidth | [[http://developer.xojo.com/integer|Integer]] | 10 | The width of the left/right gutter between the items. | | + | | GutterWidth | Integer | 10 | The width of the left/right gutter between the items. | |
- | | LockUpdate | [[http://developer.xojo.com/boolean|Boolean]] | False | Block the display from updating, when true. Update display when set to false. | | + | | LockUpdate | Boolean | False | Block the display from updating, when true. Update display when set to false. | |
| Panels() | GraffitiWebWallPanel | Nil | The current array of panels. Editing this manually will not cause updates to the display. Please use the built-in methods. | | | Panels() | GraffitiWebWallPanel | Nil | The current array of panels. Editing this manually will not cause updates to the display. Please use the built-in methods. | | ||