JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.cell
Interface JCCellTextEditor

All Superinterfaces:
JCCellEditor, JCCellEditorEventSource, Serializable
All Known Implementing Classes:
BaseCellEditor, JCMultilineCellEditor, JCTextFieldCellEditor

public interface JCCellTextEditor
extends JCCellEditor

The JCTextCellEditor interface allows objects to specify custom cell text editors.

See Also:
JCCellEditor

Method Summary
 String getCellEditorText()
          Gets the text for the editor (as a String).
 boolean getSelectAll()
          Returns whether this editor will select the text on initialization.
 void processKeyEvent(KeyEvent e)
          Overrides the key event processor.
 void setCellEditorText(String text)
          Sets the text for the editor.
 
Methods inherited from interface com.klg.jclass.cell.JCCellEditor
cancelCellEditing, getCellEditorValue, getComponent, getReservedKeys, initialize, isModified, stopCellEditing
 
Methods inherited from interface com.klg.jclass.cell.JCCellEditorEventSource
addCellEditorListener, removeCellEditorListener
 

Method Detail

getSelectAll

public boolean getSelectAll()
Returns whether this editor will select the text on initialization.

Returns:
whether text will be selected on initialization

getCellEditorText

public String getCellEditorText()
Gets the text for the editor (as a String).

Returns:
the current text in the editor

setCellEditorText

public void setCellEditorText(String text)
Sets the text for the editor.

Parameters:
text - the new cell editor text value

processKeyEvent

public void processKeyEvent(KeyEvent e)
Overrides the key event processor. This allows the parent to pass a key event to this editor that it otherwise might not get.

Parameters:
e - the event to pass

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