Class Index | File Index

Classes


Class zwt.ui.table.CellEditor


Extends zwt.ui.Widget.

A cell editor is a specific kind of widget used to edit the content of the cells in a table.

One instance is associated to a table column and used for all the cells in this column.

This default implementation is a simple text field to modify text data.


Defined in: CellEditor.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a cell editor.
Method Summary
Method Attributes Method Name and Description
 
Return the cell editor event manager attached to the button.
 
Return the current value in the editor.
 
processCellEditorEvent(zwt_event_Event_event)
Process the specified cell editor event.
 
processEvent(zwt_event_Event_event)
Process the specified event.
 
processFocusEvent(zwt_event_FocusEvent_event)
Process the specified focus event.
 
setValue(object_value)
Set the specified value in the editor.
 
setVisible(boolean_flag)
Make this widget visible.
Methods borrowed from class zwt.ui.Widget:
addStyle, draw, getContextFill, getDimension, getElement, getElementDimension, getFill, getFocusEventManager, getId, getKeyboardEventManager, getParent, getRelativeLeft, getRelativeTop, getStyle, getWheelEventManager, hasFocus, hasStyle, isFocusable, isVisible, onEvent, processContentEvent, processKeyboardEvent, processWheelEvent, redraw, removeStyle, replaceStyle, setFill, setFocusable, setId, setStyle
Class Detail
zwt.ui.table.CellEditor()
Construct a cell editor.
Author: Jeremy KUHN.
See:
zwt.ui.table.Column
Method Detail
{zwt.ui.table.CellEditorEventManager} getCellEditorEventManager()
Return the cell editor event manager attached to the button.
Returns:
The cell editor event manager

{Object} getValue()
Return the current value in the editor.
Returns:
The editor value

processCellEditorEvent(zwt_event_Event_event)
Process the specified cell editor event.
Parameters:
{zwt.ui.table.CellEditorEvent} zwt_event_Event_event
The cell editor event to process

processEvent(zwt_event_Event_event)
Process the specified event.
Parameters:
{zwt.event.Event} zwt_event_Event_event
The event to process

processFocusEvent(zwt_event_FocusEvent_event)
Process the specified focus event.
Parameters:
{zwt.event.FocusEvent} zwt_event_FocusEvent_event
The focus event to process

setValue(object_value)
Set the specified value in the editor.
Parameters:
{Object} object_value
The value to set

setVisible(boolean_flag)
Make this widget visible. This implementation doesn't trigger any redraw operation.
Parameters:
{Boolean} boolean_flag
true to make the widget visible, otherwise false.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 09 2011 19:29:09 GMT+0100 (CET)