JBCSolutions - Jbcgrid v1.6

This document is the API specification for the JbcGrid, version 1.6


jbc.grid
Class JbcCellEditorScientificNotation

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by javax.swing.DefaultCellEditor
          extended by jbc.grid.JbcCellEditorScientificNotation
All Implemented Interfaces:
java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class JbcCellEditorScientificNotation
extends javax.swing.DefaultCellEditor

This class implements a JTextField as an editor and allows to edit values in a table cell. This class uses the ClickCountToStart value provided by JbcGridTable as a default value. This CellEditor takes the alternate background color feature into account. This class is extended from DefaultCellEditor.

This editor verifies entry characters. It accepts any 0 to 9 digit, one decimal separator, one - sign, the letter E as an exponent.

Author:
Copyright © 1999-2004, JBC. All Rights Reserved.
Licensed Materials - Property of JBC.
See Also:
Serialized Form

Constructor Summary
JbcCellEditorScientificNotation()
          Creates a JbcCellEditorScientificNotation using the default pattern ("######0.0######E0") and the symbols for the default locale.
JbcCellEditorScientificNotation(java.lang.String pattern)
          Creates a JbcCellEditorScientificNotation using the given pattern and the symbols for the default locale.
 
Method Summary
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTableCellEditorComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
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
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
 

Constructor Detail

JbcCellEditorScientificNotation

public JbcCellEditorScientificNotation()
Creates a JbcCellEditorScientificNotation using the default pattern ("######0.0######E0") and the symbols for the default locale. For more information about "Special Pattern Characters", see java.text.DecimalFormat.

See Also:
DecimalFormat

JbcCellEditorScientificNotation

public JbcCellEditorScientificNotation(java.lang.String pattern)
Creates a JbcCellEditorScientificNotation using the given pattern and the symbols for the default locale. For more information about "Special Pattern Characters", see java.text.DecimalFormat.

Parameters:
pattern - A non-localized pattern string.
See Also:
DecimalFormat

JBCSolutions - Jbcgrid v1.6

JBCSolutions - Jbcgrid v1.6