Class ListViewItemEditor

    • Constructor Detail

      • ListViewItemEditor

        public ListViewItemEditor()
    • Method Detail

      • getListView

        public ListView getListView()
      • getItemIndex

        public int getItemIndex()
      • getTextInput

        public TextInput getTextInput()
      • beginEdit

        public void beginEdit​(ListView listViewArgument,
                              int itemIndexArgument)
        Description copied from interface: ListView.ItemEditor
        Called to begin editing a list item.
        Specified by:
        beginEdit in interface ListView.ItemEditor
        Parameters:
        listViewArgument - The list view being edited.
        itemIndexArgument - The index if the particular item being edited.
      • endEdit

        public void endEdit​(boolean result)
        Description copied from interface: ListView.ItemEditor
        Terminates an edit operation.
        Specified by:
        endEdit in interface ListView.ItemEditor
        Parameters:
        result - true to perform the edit; false to cancel it.
      • isEditing

        public boolean isEditing()
        Description copied from interface: ListView.ItemEditor
        Tests whether an edit is currently in progress.
        Specified by:
        isEditing in interface ListView.ItemEditor
        Returns:
        Whether an edit is in progress.
      • open

        public void open​(Display display,
                         Window owner)
        Description copied from class: Window
        Opens the window.

        Note that this method is not a synchronous call, it schedules an event to open the window.

        Overrides:
        open in class Window
        Parameters:
        display - The display on which the window will be opened.
        owner - The window's owner, or null if the window has no owner.
      • close

        public void close()
        Description copied from class: Window
        Closes the window and all of its owned windows. If any owned window fails to close, this window will also fail to close.
        Overrides:
        close in class Window