javax.rad.ui.celleditor
Interface ICheckBoxCellEditor<C>

Type Parameters:
C - Placeholder for the library dependent component type.
All Superinterfaces:
IAlignmentConstants, ICellEditor, ICellRenderer<C>, IStyledCellEditor
All Known Implementing Classes:
AbstractCheckBoxCellEditor, JVxCheckBoxCellEditor, UICheckBoxCellEditor

public interface ICheckBoxCellEditor<C>
extends IStyledCellEditor, ICellRenderer<C>

Platform and technology independent checkbox editor definition.
It is designed for use with AWT, Swing, SWT, JSP, JSF, ... .


Field Summary
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 java.lang.Object getDeselectedValue()
          Gets the value for deselected state.
 java.lang.Object getSelectedValue()
          Gets the value for selected state.
 java.lang.String getText()
          Gets the text of the checkbox button.
 void setDeselectedValue(java.lang.Object pDeselectedValue)
          Sets the value for deselected state.
 void setSelectedValue(java.lang.Object pSelectedValue)
          Sets the value for selected state.
 void setText(java.lang.String pText)
          Sets the text of the checkbox button.
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from interface javax.rad.model.ui.ICellRenderer
getCellRendererComponent
 

Method Detail

getSelectedValue

java.lang.Object getSelectedValue()
Gets the value for selected state.

Returns:
all allowed values.

setSelectedValue

void setSelectedValue(java.lang.Object pSelectedValue)
Sets the value for selected state.

Parameters:
pSelectedValue - the value for selected state.

getDeselectedValue

java.lang.Object getDeselectedValue()
Gets the value for deselected state.

Returns:
the value for deselected state.

setDeselectedValue

void setDeselectedValue(java.lang.Object pDeselectedValue)
Sets the value for deselected state.

Parameters:
pDeselectedValue - the value for deselected state.

getText

java.lang.String getText()
Gets the text of the checkbox button. If no text is set, the column label is used.

Returns:
the text of the checkbox button.

setText

void setText(java.lang.String pText)
Sets the text of the checkbox button. If no text is set, the column label is used.

Parameters:
pText - the text of the checkbox button.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.