Class ListContainerEvent


  • public class ListContainerEvent
    extends Event
    An event generated when the user clicks on ListContainer.Item.
    Since:
    SuperWaba 5.54
    • Field Detail

      • ITEM_SELECTED_EVENT

        public static final int ITEM_SELECTED_EVENT
        Event generated when a new item was selected.
        See Also:
        Constant Field Values
      • LEFT_IMAGE_CLICKED_EVENT

        public static final int LEFT_IMAGE_CLICKED_EVENT
        Event generated when the left image was clicked. Verify the isImage2 member to determine the current image that's displayed.
        See Also:
        Constant Field Values
      • RIGHT_IMAGE_CLICKED_EVENT

        public static final int RIGHT_IMAGE_CLICKED_EVENT
        Event generated when the right image was clicked. Verify the isImage2 member to determine the current image that's displayed.
        See Also:
        Constant Field Values
      • isImage2

        public boolean isImage2
        True if the new image is the second one. If there are two images, one as an unselected image and a second one as the selected, using this field you can find which one is being displayed.
      • source

        public Control source
        The control that originated the event. When the user clicks on an Image, the target is the Image, and the source is the control where the image is.
    • Constructor Detail

      • ListContainerEvent

        public ListContainerEvent()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Event