JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.field.cell
Class JCFieldCellRegister

java.lang.Object
  |
  +--com.klg.jclass.field.cell.JCFieldCellRegister

public class JCFieldCellRegister
extends Object

This class contains static methods to register JClass Field editors and renderers to the central CellRegistry. It also provides a method to override the default cell editors and renderers with JClass Field equivalents.

See Also:
EditorRendererRegistry

Field Summary
static String COMBO_FIELD
          Modifier type to use when a JCComboField is needed.
static String LABEL_FIELD
          Modifier type to use when a JCLabelField is needed.
static String POPUP_FIELD
          Modifier type to use when a JCPopupField is needed.
static String SPIN_FIELD
          Modifier type to use when a JCSpinField is needed.
static String TEXT_FIELD
          Modifier type to use when a JCTextField is needed.
 
Constructor Summary
JCFieldCellRegister()
           
 
Method Summary
static void registerFieldEditors()
          Registers the Field editors.
static void registerFieldRenderers()
          Registers the Field renderers.
static void useFieldCellAsDefault()
          This method will register the Field cell editors and renderers in the central registry and use them as defaults for the data types it can handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPIN_FIELD

public static final String SPIN_FIELD
Modifier type to use when a JCSpinField is needed.

See Also:
Constant Field Values

COMBO_FIELD

public static final String COMBO_FIELD
Modifier type to use when a JCComboField is needed.

See Also:
Constant Field Values

TEXT_FIELD

public static final String TEXT_FIELD
Modifier type to use when a JCTextField is needed.

See Also:
Constant Field Values

POPUP_FIELD

public static final String POPUP_FIELD
Modifier type to use when a JCPopupField is needed.

See Also:
Constant Field Values

LABEL_FIELD

public static final String LABEL_FIELD
Modifier type to use when a JCLabelField is needed.

See Also:
Constant Field Values
Constructor Detail

JCFieldCellRegister

public JCFieldCellRegister()
Method Detail

registerFieldRenderers

public static void registerFieldRenderers()
Registers the Field renderers. If this method is called, JClass Field will register its renderers to the central cell registry for data types that it can handle. For the renderer, a JCLabelFieldCellRenderer will be used. This method will NOT override the default editor/renderers.

See Also:
EditorRendererRegistry

registerFieldEditors

public static void registerFieldEditors()
Registers the Field editors. If this method is called, field will register its editors to the central cell registry for data types that it can handle. This method will NOT override the default editor/renderers.

See Also:
EditorRendererRegistry

useFieldCellAsDefault

public static void useFieldCellAsDefault()
This method will register the Field cell editors and renderers in the central registry and use them as defaults for the data types it can handle.


Copyright © 2004 Quest Software Inc..
All rights reserved.