Documentation of 'smile.swing.table.DoubleCellEditor' Java class
DoubleCellEditor
smile.swing.table

Class DoubleCellEditor

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor


    public class DoubleCellEditor
    extends javax.swing.DefaultCellEditor
    Implements a cell editor that uses a formatted text field to edit Double values.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object getCellEditorValue() 
      static DoubleCellEditor getInstance()
      Returns the default instance.
      java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column) 
      boolean stopCellEditing() 
      • Methods inherited from class javax.swing.DefaultCellEditor

        cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
      • Methods inherited from class javax.swing.AbstractCellEditor

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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.CellEditor

        addCellEditorListener, removeCellEditorListener
    • Constructor Detail

      • DoubleCellEditor

        public DoubleCellEditor()
        Constructor.
      • DoubleCellEditor

        public DoubleCellEditor(double min,
                                double max)
        Constructor.
        Parameters:
        min - the minimum of valid values.
        max - the maximum of valid values.
    • Method Detail

      • getInstance

        public static DoubleCellEditor getInstance()
        Returns the default instance.
      • getTableCellEditorComponent

        public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                              java.lang.Object value,
                                                              boolean isSelected,
                                                              int row,
                                                              int column)
        Specified by:
        getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
        Overrides:
        getTableCellEditorComponent in class javax.swing.DefaultCellEditor
      • getCellEditorValue

        public java.lang.Object getCellEditorValue()
        Specified by:
        getCellEditorValue in interface javax.swing.CellEditor
        Overrides:
        getCellEditorValue in class javax.swing.DefaultCellEditor
      • stopCellEditing

        public boolean stopCellEditing()
        Specified by:
        stopCellEditing in interface javax.swing.CellEditor
        Overrides:
        stopCellEditing in class javax.swing.DefaultCellEditor

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.