arlas-web-components / Exports / ResultGridTileComponent
Class: ResultGridTileComponent
Hierarchy
ItemComponent
↳ ResultGridTileComponent
Implements
OnInit
Table of contents
Constructors
Properties
- SHOW_IMAGE
- ThumbnailFitEnum
- actionOnItemEvent
- activatedActionsPerItem
- cellTooltip
- clickedOnItemEvent
- detailedDataRetriever
- displayInfoIcon
- gridTile
- idFieldName
- options
- retrievedDataEvent
- selectedItemPositionEvent
- selectedItems
- selectedItemsEvent
- thumbnailFit
Methods
- determinateItem
- hideCellTooltip
- ngOnInit
- retrieveAdditionalInfo
- setClickedOnItem
- setSelectedItem
- showCellTooltip
- triggerActionOnItem
Constructors
constructor
• new ResultGridTileComponent()
Overrides
ItemComponent.constructor
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:127
Properties
SHOW_IMAGE
• SHOW_IMAGE: "Click to show details"
Constant
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:39
ThumbnailFitEnum
• ThumbnailFitEnum: typeof ThumbnailFitEnum
= ThumbnailFitEnum
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:125
actionOnItemEvent
• actionOnItemEvent: Subject
<{ action
: Action
; elementidentifier
: ElementIdentifier
}>
Output
Description
Emits the event of applying the specified action on the specified item.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:100
activatedActionsPerItem
• activatedActionsPerItem: Map
<string
, Set
<string
>>
Input
: Angular
Description
Map
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:87
cellTooltip
• cellTooltip: MatTooltip
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:42
clickedOnItemEvent
• clickedOnItemEvent: Subject
<Item
>
Output
Description
Emits the the item that it has been clicked on it.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:121
detailedDataRetriever
• detailedDataRetriever: DetailedDataRetriever
Input
Description
A detailed-data-retriever object that implements DetailedDataRetriever interface.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:69
displayInfoIcon
• displayInfoIcon: boolean
= false
Input
Description
Display or not big full info icon on the grid.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:92
gridTile
• gridTile: Item
Input
Description
An object representing an Item .
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:48
idFieldName
• idFieldName: string
Input
Description
Name of the id field.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:81
options
• options: ResultListOptions
Input
: Angular
Description
An input to customize the resultlist behaviour
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:75
retrievedDataEvent
• Protected
retrievedDataEvent: Observable
<AdditionalInfo
>
Description
Emits the retrieved detailed data.
Inherited from
ItemComponent.retrievedDataEvent
Defined in
projects/arlas-components/src/lib/components/results/model/itemComponent.ts:30
selectedItemPositionEvent
• selectedItemPositionEvent: Subject
<Item
>
Output
Description
Emits the selected/unselected item.
Deprecated
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:115
selectedItems
• selectedItems: Set
<string
>
Input
Description
List of all selected items in the result-list.component. This component sets directly this list.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:63
selectedItemsEvent
• selectedItemsEvent: Subject
<Set
<string
>>
Output
Description
Emits the list of selected items in result-list.component.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:108
thumbnailFit
• thumbnailFit: ThumbnailFitEnum
= ThumbnailFitEnum.contain
Input
Description
How to fit the thumbnail to the tile:
- height
fit the height of the thumbnail.
- width
fit the width of the thumbnail.
- contain
fit the wholethumbnail.
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:57
Methods
determinateItem
▸ determinateItem(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:157
hideCellTooltip
▸ hideCellTooltip(event
): void
Hides the cell's tooltip when the mouse is over the attachements buttons
Parameters
Name | Type | Description |
---|---|---|
event |
Event |
mouseover event |
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:135
ngOnInit
▸ ngOnInit(): void
Returns
void
Implementation of
OnInit.ngOnInit
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:147
retrieveAdditionalInfo
▸ retrieveAdditionalInfo(detailedDataRetriever
, item
): void
Parameters
Name | Type |
---|---|
detailedDataRetriever |
DetailedDataRetriever |
item |
Item |
Returns
void
Inherited from
ItemComponent.retrieveAdditionalInfo
Defined in
projects/arlas-components/src/lib/components/results/model/itemComponent.ts:45
setClickedOnItem
▸ setClickedOnItem(): void
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:165
setSelectedItem
▸ setSelectedItem(): void
Returns
void
Overrides
ItemComponent.setSelectedItem
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:150
showCellTooltip
▸ showCellTooltip(): void
Shows the cell's tooltip when the mouse is over the tile
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:143
triggerActionOnItem
▸ triggerActionOnItem(action
): void
Parameters
Name | Type |
---|---|
action |
Action |
Returns
void
Defined in
projects/arlas-components/src/lib/components/results/result-grid-tile/result-grid-tile.component.ts:170