org.tbee.swing.table
Class PercentEditor

java.lang.Object
  extended by javax.swing.AbstractCellEditor
      extended by javax.swing.DefaultCellEditor
          extended by org.tbee.swing.table.DefaultCellEditor
              extended by org.tbee.swing.table.NumberEditor
                  extended by org.tbee.swing.table.PercentEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor, TreeCellEditor

public class PercentEditor
extends NumberEditor

Version:
$Revision: 1.9 $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.DefaultCellEditor
DefaultCellEditor.EditorDelegate
 
Field Summary
static String SOURCECODE_VERSION
          Standard variable for determining version of a class file.
 
Fields inherited from class org.tbee.swing.table.NumberEditor
iClass, iConstructor, iJTextField, iNumberFormat, iValidatedObject
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
PercentEditor()
           
PercentEditor(Locale pLocale)
           
PercentEditor(Locale pLocale, int pMinFraction, int pMaxFraction)
           
 
Method Summary
 boolean stopCellEditing()
          validate and return false if it failed
 
Methods inherited from class org.tbee.swing.table.NumberEditor
getAllowNull, getCellEditorValue, getTableCellEditorComponent, requestFocus, setAllowNull
 
Methods inherited from class org.tbee.swing.table.DefaultCellEditor
useAsRenderer
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell
 
Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, removeCellEditorListener
 

Field Detail

SOURCECODE_VERSION

public static final String SOURCECODE_VERSION
Standard variable for determining version of a class file.

See Also:
Constant Field Values
Constructor Detail

PercentEditor

public PercentEditor()

PercentEditor

public PercentEditor(Locale pLocale)
Parameters:
pLocale -

PercentEditor

public PercentEditor(Locale pLocale,
                     int pMinFraction,
                     int pMaxFraction)
Parameters:
pLocale -
pMinFraction -
pMaxFraction -
Method Detail

stopCellEditing

public boolean stopCellEditing()
validate and return false if it failed

Specified by:
stopCellEditing in interface CellEditor
Overrides:
stopCellEditing in class NumberEditor


Copyright © 2011 KnowledgePlaza. All Rights Reserved.