JIDE 3.5.15

com.jidesoft.grid
Class EditorContext

java.lang.Object
  extended by com.jidesoft.converter.AbstractContext
      extended by com.jidesoft.grid.EditorContext
All Implemented Interfaces:
Serializable

public class EditorContext
extends AbstractContext

The editor context is used by CellRendererManager and CellEditorManager so that for the same type, different editor/renderer can be registered since the EditorContext is different.

See Also:
Serialized Form

Field Summary
static EditorContext DEFAULT_CONTEXT
          Default editor context with empty name and no user object.
static EditorContext DEFAULT_CONTEXT_DYNAMIC_VALUE
          Deprecated. 
 
Constructor Summary
EditorContext(String name)
          Creates an editor context with a name.
EditorContext(String name, Object object)
          Creates an editor context with a name and an object.
 
Method Summary
 
Methods inherited from class com.jidesoft.converter.AbstractContext
equals, getName, getUserObject, hashCode, setName, setUserObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_CONTEXT

public static EditorContext DEFAULT_CONTEXT
Default editor context with empty name and no user object.


DEFAULT_CONTEXT_DYNAMIC_VALUE

@Deprecated
public static EditorContext DEFAULT_CONTEXT_DYNAMIC_VALUE
Deprecated. 
Default dynamic value editor to work with CellEditorValueProvider and ConverterContext.DEFAULT_CONTEXT_DYNAMIC_VALUE.

Constructor Detail

EditorContext

public EditorContext(String name)
Creates an editor context with a name.

Parameters:
name - the name of the editor context

EditorContext

public EditorContext(String name,
                     Object object)
Creates an editor context with a name and an object.

Parameters:
name - the name of the editor context
object - the user object. It can be used as any object to pass information along.

JIDE 3.5.15