Line - Table or tree line
A line is always considered as line in a table or tree region instance. Lines are allocated on demand, i.e. when becoming visible. In some cases, lines do also exist, when not being visible, but this cannot be guaranteed.
Usually, lines are returned to the application as current or selected line when filling a table or tree region. Line objects should not be kept in memory, since they may become invalid after processing the line. Typically, lines are accessed in the doBeforeDataSet(), doAfterDataSet(), or in the doAfterSelectSet() handler.
One may also access lines other than the current line. In order to access a specific line, it may be identified by instance LOID, key value or column content. When accessing lines by content or LOID, the first line found in the table or tree will be located.
In order to refer to a specific line, one may construct a line with appropriate constructor. One may also call locate() in order to attach the Line object to a specific line in the list.
- Line - Constructur
- assign - Assign line object
- attach - Attach list item to line
- attached - Is Line object attached to list item?
- cell - Get cell from line
- copy - - internal feature (not documented)
- expanded - Expanded property
- id - Identifier for attached list item
- isHeader - Heading property
- isLabel - Static region property
- isValid - Is line valid
- loid - Instace identifier for attached line
- nextSelected - Get next selected item and reset
- operator= - Assign line object
- position - Get line position (row)
- property - Get property handle for selected item
- regionId - Region identifier for line
- resetLayout - Reset line layout
- selected - Checked property
- setCurrent - Set current line
- setLayout - Set line layout
- treePath - Get tree hierarchy path
- type - Get current line type
- visible - Visible property
- ~Line - Destructor