Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data VisualCustomAction = VisualCustomAction' {}
- newVisualCustomAction :: Text -> Text -> VisualCustomActionTrigger -> NonEmpty VisualCustomActionOperation -> VisualCustomAction
- visualCustomAction_status :: Lens' VisualCustomAction (Maybe WidgetStatus)
- visualCustomAction_customActionId :: Lens' VisualCustomAction Text
- visualCustomAction_name :: Lens' VisualCustomAction Text
- visualCustomAction_trigger :: Lens' VisualCustomAction VisualCustomActionTrigger
- visualCustomAction_actionOperations :: Lens' VisualCustomAction (NonEmpty VisualCustomActionOperation)
Documentation
data VisualCustomAction Source #
A custom action defined on a visual.
See: newVisualCustomAction
smart constructor.
VisualCustomAction' | |
|
Instances
newVisualCustomAction Source #
:: Text | |
-> Text | |
-> VisualCustomActionTrigger | |
-> NonEmpty VisualCustomActionOperation | |
-> VisualCustomAction |
Create a value of VisualCustomAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:VisualCustomAction'
, visualCustomAction_status
- The status of the VisualCustomAction
.
$sel:customActionId:VisualCustomAction'
, visualCustomAction_customActionId
- The ID of the VisualCustomAction
.
$sel:name:VisualCustomAction'
, visualCustomAction_name
- The name of the VisualCustomAction
.
$sel:trigger:VisualCustomAction'
, visualCustomAction_trigger
- The trigger of the VisualCustomAction
.
Valid values are defined as follows:
DATA_POINT_CLICK
: Initiates a custom action by a left pointer click on a data point.DATA_POINT_MENU
: Initiates a custom action by right pointer click from the menu.
$sel:actionOperations:VisualCustomAction'
, visualCustomAction_actionOperations
- A list of VisualCustomActionOperations
.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
visualCustomAction_status :: Lens' VisualCustomAction (Maybe WidgetStatus) Source #
The status of the VisualCustomAction
.
visualCustomAction_customActionId :: Lens' VisualCustomAction Text Source #
The ID of the VisualCustomAction
.
visualCustomAction_name :: Lens' VisualCustomAction Text Source #
The name of the VisualCustomAction
.
visualCustomAction_trigger :: Lens' VisualCustomAction VisualCustomActionTrigger Source #
The trigger of the VisualCustomAction
.
Valid values are defined as follows:
DATA_POINT_CLICK
: Initiates a custom action by a left pointer click on a data point.DATA_POINT_MENU
: Initiates a custom action by right pointer click from the menu.
visualCustomAction_actionOperations :: Lens' VisualCustomAction (NonEmpty VisualCustomActionOperation) Source #
A list of VisualCustomActionOperations
.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.