Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gui4j.core.swing
Class Gui4jCellEditor  view Gui4jCellEditor download Gui4jCellEditor.java

java.lang.Object
  extended byjavax.swing.AbstractCellEditor
      extended byjavax.swing.DefaultCellEditor
          extended byorg.gui4j.core.swing.Gui4jCellEditor
All Implemented Interfaces:
javax.swing.CellEditor, java.io.Serializable, javax.swing.table.TableCellEditor, javax.swing.tree.TreeCellEditor

public class Gui4jCellEditor
extends javax.swing.DefaultCellEditor


Nested Class Summary
static class Gui4jCellEditor.CellEditorTextField
           
private static class Gui4jCellEditor.NotificationDocument
           
 
Nested classes inherited from class javax.swing.DefaultCellEditor
javax.swing.DefaultCellEditor.EditorDelegate
 
Field Summary
private  org.gui4j.core.Gui4jCall mNotifyCall
           
private  org.gui4j.Gui4jCallBase mNotifyCallBase
           
private  java.util.Map mNotifyParams
           
private  java.lang.Object mNotifyParamsValueKey
           
 
Fields inherited from class javax.swing.DefaultCellEditor
clickCountToStart, delegate, editorComponent
 
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
 
Constructor Summary
private Gui4jCellEditor(javax.swing.JTextField textField)
          Constructor for CellEditor.
 
Method Summary
static Gui4jCellEditor createTextEditor(java.awt.Font font, boolean withBorder)
           
 java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
          getTableCellEditorComponent
 void notifyTempValue(java.lang.String value)
          Method called by an edit component to notify the cell editor about the current temporary (non-committed) value of the editing component.
 void setNotificationCallback(org.gui4j.Gui4jCallBase gui4jController, org.gui4j.core.Gui4jCall notifyTempValue, java.util.Map params, java.lang.Object paramsValueKey)
           
 
Methods inherited from class javax.swing.DefaultCellEditor
cancelCellEditing, getCellEditorValue, getClickCountToStart, getComponent, getTreeCellEditorComponent, isCellEditable, setClickCountToStart, shouldSelectCell, stopCellEditing
 
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

mNotifyCallBase

private org.gui4j.Gui4jCallBase mNotifyCallBase

mNotifyCall

private org.gui4j.core.Gui4jCall mNotifyCall

mNotifyParams

private java.util.Map mNotifyParams

mNotifyParamsValueKey

private java.lang.Object mNotifyParamsValueKey
Constructor Detail

Gui4jCellEditor

private Gui4jCellEditor(javax.swing.JTextField textField)
Constructor for CellEditor.

Method Detail

createTextEditor

public static Gui4jCellEditor createTextEditor(java.awt.Font font,
                                               boolean withBorder)

getTableCellEditorComponent

public java.awt.Component getTableCellEditorComponent(javax.swing.JTable table,
                                                      java.lang.Object value,
                                                      boolean isSelected,
                                                      int row,
                                                      int column)
Description copied from class: javax.swing.DefaultCellEditor
getTableCellEditorComponent


setNotificationCallback

public void setNotificationCallback(org.gui4j.Gui4jCallBase gui4jController,
                                    org.gui4j.core.Gui4jCall notifyTempValue,
                                    java.util.Map params,
                                    java.lang.Object paramsValueKey)

notifyTempValue

public void notifyTempValue(java.lang.String value)
Method called by an edit component to notify the cell editor about the current temporary (non-committed) value of the editing component.