Last modified: Mon, 04/03/2017 - 17:29
API for the LASContentCell javascript component.
Class LASContentCell
Object | +--LASContentCell
- class LASContentCell
This is the basic LASContentCell class. Defined in LASContentCell.js
Constructor Summary | |
LASContentCell () Constructs a new LASContentCell object. The LASContentCell object knows how to deal with the following types of information returned in the LASResponse: <ul> <li> errors <li> images </ul> |
Method Summary | |
void | display(LASResponse,result_type) Displays the contents of the LASResponse Result of type = 'type'. |
void | render(<string> element_id,<string> type) Creates a table with sub-elements appropriate to the LASResponse. |
Constructor Detail |
LASContentCell
LASContentCell()
- Constructs a new LASContentCell object.
The LASContentCell object knows how to deal with the following types of information returned in the LASResponse: <ul> <li> errors <li> images </ul>
- Returns:
- A new LASContentCell object
Method Detail |
display
void display(LASResponse,result_type)
- Displays the contents of the LASResponse Result of type = 'type'. // TODO: Should we use 'type' or 'ID' for this switch in the code?
Any children of element_id will be removed and replaced with a Select object
- Parameters:
element_id
- 'id' attribute of the element into which the ContentCell is inserted. type
- ignored for now render
void render(<string> element_id,<string> type)
- Creates a table with sub-elements appropriate to the LASResponse.
Any children of element_id will be removed and replaced with a Select object
- Parameters:
element_id
- 'id' attribute of the element into which the ContentCell is inserted. type
- ignored for now Documentation generated by JSDoc on Sat Jul 28 07:25:04 2007