LSPS documentation logo
LSPS Documentation
Action Components

Action components produce an action event when clicked.

Button

The Button component renders as a button. On click the button produces an action event. The component can have an ActionListener that defines how the event should be handled.

It produces the events of the following types:

  • InitEvent when the component is initialized or displayed if previously hidden
  • ActionEvent when the user clicks the component
actionComponents.png
Tab with the Submit note Action Button
The Button has the following properties:

  • Text: text on the button
  • Disabled: availability of the button

    If true, the button is grayed out and cannot be clicked.

  • Help text: tooltip text

    Note: You can define the Help text on the Help Text tab in the Properties view.

Action Link

The Action Link component renders as a clickable link. On clicking the link produces an action event. The component can have an ActionListener that defines how the event should be handled. The handling typically involves navigation action.

It produces the events of the following types:

  • InitEvent when the component is initialized or displayed if previously hidden
  • ActionEvent when the user clicks the component
actionComponents.png
Tab with the Link to note Action Link
The Action Link has the following properties:

  • Text: link text
  • Disabled: whether the link is disabled (rendered as grayed out and not clickable when true)
  • Help text: tooltip text

    Note: You can define the Help text on the Help Text tab in the Properties view.

Navigation Link

The Navigation Link component renders as a hyperlink; when clicked, it redirects the user to navigation target.

  • Content: the Navigation object to be used for navigation
    new UrlNavigation(url -> "http://www.whitestein.com")
    
  • Text: text displayed in the navigation link
  • Disabled: whether the link is disabled (rendered as grayed out and not clickable)
  • Help text: tooltip text