com.togethersoft.openapi.ide.inspector.util.editors
Class SwingNumberEditor

java.lang.Object
  |
  +--java.beans.PropertyEditorSupport
        |
        +--com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
              |
              +--com.togethersoft.openapi.ide.inspector.util.editors.SwingNumberEditor

public class SwingNumberEditor
extends SwingEditorSupport

Represents editor for float number properties as a TextField.

Author:
TogetherSoft

Fields inherited from class com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
MEDIUM_DIMENSION, panel, SMALL_DIMENSION

Constructor Summary
SwingNumberEditor()
           Constructs editor and adds KeyListener for keyPressed event.

Method Summary
 voidsetValue(Object obj)
           Sets value to this TextField.

Methods inherited from class com.togethersoft.openapi.ide.inspector.util.editors.SwingEditorSupport
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCustomEditor, init, removeCellEditorListener, setAlignment, supportsCustomEditor

Methods inherited from class java.beans.PropertyEditorSupport
getValue, isPaintable, paintValue, getJavaInitializationString, getAsText, setAsText, getTags, addPropertyChangeListener, removePropertyChangeListener, firePropertyChange

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Constructor Detail

SwingNumberEditor

public SwingNumberEditor()
Constructs editor and adds KeyListener for keyPressed event.
Method Detail

setValue

public void setValue(Object obj)
Sets value to this TextField.
Parameters:
obj - Value to be set

Association Links

to Class javax.swing.JTextField