com.dlsc.flexgantt.swing

## Interface IEditable

- All Known Implementing Classes:
    SpreadsheetLayer, TreeTable

      public interface IEditable

  A common interface for the tree table and the layer container so that both components can support cell editing.
  Since:
    2.1
  Author:
    Dirk Lemmermann

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `editCellFocused(InputEvent evt)` Invoked from outside to tell the component to edit the currently focused cell
    `Component` | `getEditorComponent()` Returns the component that is used for editing a cell within the parent component.
    `boolean` | `isEditing()` Checks whether the component is currently in "editing" mode.

- - ### Method Detail

    - #### isEditing

          boolean isEditing()

      Checks whether the component is currently in "editing" mode. This is the case when the component displays an editor component anywhere within its bounds.
      Returns:
        TRUE if the component is currently being edited by the user
      Since:
        2.1

    - #### getEditorComponent

          Component getEditorComponent()

      Returns the component that is used for editing a cell within the parent component.
      Returns:
        the component used for editing cell values
      Since:
        2.1

    - #### editCellFocused

          boolean editCellFocused(InputEvent evt)

      Invoked from outside to tell the component to edit the currently focused cell
      Parameters:
        `evt` - the input event that triggered the edit operation
      Returns:
        TRUE if the editing can take place
      Since:
        2.1

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.