Class TextAreaTableCellEditor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      TextAreaTableCellEditor() Constructs a TableCellEditor that uses a text field.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Component getComponent() Returns a reference to the editor component.
      void setClickCountToStart(int count) Specifies the number of clicks needed to start editing.
      int getClickCountToStart() Returns the number of clicks needed to start editing.
      Object getCellEditorValue() Forwards the message from the CellEditor to the delegate.
      boolean isCellEditable(EventObject anEvent) Forwards the message from the CellEditor to the delegate.
      boolean shouldSelectCell(EventObject anEvent) Forwards the message from the CellEditor to the delegate.
      boolean stopCellEditing() Forwards the message from the CellEditor to the delegate.
      void cancelCellEditing() Forwards the message from the CellEditor to the delegate.
      Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) Implements the TreeCellEditor interface.
      Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) Implements the TableCellEditor interface.
      • Methods inherited from class javax.swing.AbstractCellEditor

        addCellEditorListener, getCellEditorListeners, removeCellEditorListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextAreaTableCellEditor

        TextAreaTableCellEditor()
        Constructs a TableCellEditor that uses a text field.
    • Method Detail

      • getComponent

         Component getComponent()

        Returns a reference to the editor component.

        Returns:

        the editor Component

      • setClickCountToStart

         void setClickCountToStart(int count)

        Specifies the number of clicks needed to start editing.

        Parameters:
        count - an int specifying the number of clicks needed to start editing
      • getClickCountToStart

         int getClickCountToStart()

        Returns the number of clicks needed to start editing.

        Returns:

        the number of clicks needed to start editing

      • stopCellEditing

         boolean stopCellEditing()

        Forwards the message from the CellEditor to the delegate.

      • cancelCellEditing

         void cancelCellEditing()

        Forwards the message from the CellEditor to the delegate.