Package

net.sf.jguiraffe.gui.platform.javafx.builder.components

cell

Permalink

package cell

Visibility
  1. Public
  2. All

Type Members

  1. trait EditableCell[T] extends IndexedCell[T]

    Permalink

    A trait providing functionality for editable cells.

    A trait providing functionality for editable cells.

    This trait can be mixed into custom implementations of JavaFX cells, e.g. for trees or tables. It implements the major part of the functionality for making the cell editable. This includes providing a text field acting as editor control. The text field is accordingly configured to react on typical key events for committing or canceling the edit operation.

    A concrete sub class has to implement a method for persisting a successful edit operation and a method which returns a string representing the current content of the cell.

    It is also possible to enhance the functionality for reacting on keys in the edit text field. For this purpose a partial function can be returned by the editKeyHandler() method.

    T

    the type of the content of the cell

Ungrouped