(private) new GridDisplay(frameid, kind)
Generic grid MDI display
- Description:
following kinds are supported
- vertical or horizontal - only first letter matters, defines basic orientation
- 'x' in the name disable interactive separators
- v4 or h4 - 4 equal elements in specified direction
- v231 - created 3 vertical elements, first divided on 2, second on 3 and third on 1 part
- v23_52 - create two vertical elements with 2 and 3 subitems, size ratio 5:2
- gridNxM - normal grid layout without interactive separators
- gridiNxM - grid layout with interactive separators
- simple - no layout, full frame used for object drawings
- Source:
Parameters:
Name | Type | Description |
---|---|---|
frameid |
string | where grid display is created |
kind |
string | kind of grid |
Methods
createFrame()
Create new frame
- Source:
(private) createGroup()
Create frames group
- Source:
(private) createSeparator()
Create group separator
- Source:
forEachFrame()
Call function for each frame
- Source:
getActiveFrame()
Returns active frame
- Source:
getGridFrame()
Return grid frame by its id
- Source:
(private) handleSeparator()
Handle interactive separator movement
- Source:
numGridFrames()
Returns number of frames in grid layout
- Source: