|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor
com.sibvisions.rad.ui.celleditor.AbstractCheckBoxCellEditor<C>
C
- the type of the content.public abstract class AbstractCheckBoxCellEditor<C>
The AbstractCheckBoxCellEditor
is an ICheckBoxCellEditor
implementation, which provides a base implementation.
Field Summary | |
---|---|
protected java.lang.Object |
deselectedValue
The deselected value. |
protected java.lang.Object |
selectedValue
The selected value. |
protected java.lang.String |
text
The text. |
Fields inherited from class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor |
---|
horizontalAlignment, verticalAlignment |
Fields inherited from interface javax.rad.ui.IAlignmentConstants |
---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
Constructor Summary | |
---|---|
protected |
AbstractCheckBoxCellEditor()
Creates a new instance of AbstractCheckBoxCellEditor . |
protected |
AbstractCheckBoxCellEditor(java.lang.Object pSelectedValue,
java.lang.Object pDeselectedValue)
Creates a new instance of AbstractCheckBoxCellEditor . |
protected |
AbstractCheckBoxCellEditor(java.lang.Object pSelectedValue,
java.lang.Object pDeselectedValue,
java.lang.String pText)
Creates a new instance of AbstractCheckBoxCellEditor . |
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 class com.sibvisions.rad.ui.celleditor.AbstractStyledCellEditor |
---|
getHorizontalAlignment, getVerticalAlignment, isDirectCellEditor, setHorizontalAlignment, setVerticalAlignment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Field Detail |
---|
protected java.lang.Object deselectedValue
protected java.lang.Object selectedValue
protected java.lang.String text
Constructor Detail |
---|
protected AbstractCheckBoxCellEditor()
AbstractCheckBoxCellEditor
.
protected AbstractCheckBoxCellEditor(java.lang.Object pSelectedValue, java.lang.Object pDeselectedValue)
AbstractCheckBoxCellEditor
.
pSelectedValue
- the selected value
.pDeselectedValue
- the deselected value
.protected AbstractCheckBoxCellEditor(java.lang.Object pSelectedValue, java.lang.Object pDeselectedValue, java.lang.String pText)
AbstractCheckBoxCellEditor
.
pSelectedValue
- the selected value
.pDeselectedValue
- the deselected value
.pText
- the text
.Method Detail |
---|
public java.lang.Object getDeselectedValue()
getDeselectedValue
in interface ICheckBoxCellEditor<C>
public java.lang.Object getSelectedValue()
getSelectedValue
in interface ICheckBoxCellEditor<C>
public java.lang.String getText()
getText
in interface ICheckBoxCellEditor<C>
public void setDeselectedValue(java.lang.Object pDeselectedValue)
setDeselectedValue
in interface ICheckBoxCellEditor<C>
pDeselectedValue
- the value for deselected state.public void setSelectedValue(java.lang.Object pSelectedValue)
setSelectedValue
in interface ICheckBoxCellEditor<C>
pSelectedValue
- the value for selected state.public void setText(java.lang.String pText)
setText
in interface ICheckBoxCellEditor<C>
pText
- the text of the checkbox button.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |