|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.swing.ext.celleditor.JVxStyledCellEditor
com.sibvisions.rad.ui.swing.ext.celleditor.JVxLinkedCellEditor
public class JVxLinkedCellEditor
The JVxLinkedCellEditor provides the generation of the
physical linked editor component, handles correct all events, and
gives standard access to edited values.
| Nested Class Summary | |
|---|---|
static class |
JVxLinkedCellEditor.CellEditorHandler
Sets the internal changed Flag, and informs the CellEditorListener if editing is completed. |
| Field Summary |
|---|
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
JVxLinkedCellEditor()
Constructs a new JVxLinkedCellEditor. |
|
JVxLinkedCellEditor(ReferenceDefinition pLinkReference)
Constructs a new JVxLinkedCellEditor with the given link reference. |
|
| Method Summary | |
|---|---|
ICellEditorHandler<JComponent> |
createCellEditorHandler(ICellEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
creates an ICellEditorHandler library dependent component. |
ReferenceDefinition |
getLinkReference()
Gets reference definition that defines the link. |
IDimension |
getPopupSize()
Gets the size of the Popup window using a Dimension object. |
ColumnMapping |
getSearchColumnMapping()
Gets search columns for which should be searched in the linked cell. |
boolean |
isDirectCellEditor()
Defines, if the editor should edit directly in complex controls. |
boolean |
isTableHeaderVisible()
Gets whether the table header is visible. |
boolean |
isTableReadonly()
Gets whether the table in the popup readonly. |
boolean |
isValidationEnabled()
Gets true, if only values from the table are allowed. |
void |
setLinkReference(ReferenceDefinition pLinkReference)
Sets reference definition that defines the link. |
void |
setPopupSize(IDimension pPopupSize)
Sets the size of the Popup window using a Dimension object. |
void |
setSearchColumnMapping(ColumnMapping pSearchColumnMapping)
Sets search columns for which should be searched in the linked cell. |
void |
setTableHeaderVisible(boolean pTableHeaderVisible)
Sets the table header visible. |
void |
setTableReadonly(boolean pTableReadonly)
Sets the table in the popup readonly. |
void |
setValidationEnabled(boolean pValidationEnabled)
Sets true, if only values from the table are allowed. |
| Methods inherited from class com.sibvisions.rad.ui.swing.ext.celleditor.JVxStyledCellEditor |
|---|
getHorizontalAlignment, getVerticalAlignment, 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.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Constructor Detail |
|---|
public JVxLinkedCellEditor()
public JVxLinkedCellEditor(ReferenceDefinition pLinkReference)
pLinkReference - the link reference.| Method Detail |
|---|
public ICellEditorHandler<JComponent> createCellEditorHandler(ICellEditorListener pCellEditorListener,
IDataRow pDataRow,
String pColumnName)
ICellEditorHandler library dependent component.
createCellEditorHandler in interface ICellEditorpCellEditorListener - the ICellEditorListenerpDataRow - the IDataRowpColumnName - the column name
ICellEditorHandler.public boolean isDirectCellEditor()
isDirectCellEditor in interface ICellEditorICellEditorHandler.public ReferenceDefinition getLinkReference()
getLinkReference in interface ILinkedCellEditorpublic void setLinkReference(ReferenceDefinition pLinkReference)
setLinkReference in interface ILinkedCellEditorpLinkReference - the link reference definition.public ColumnMapping getSearchColumnMapping()
getSearchColumnMapping in interface ILinkedCellEditorpublic void setSearchColumnMapping(ColumnMapping pSearchColumnMapping)
setSearchColumnMapping in interface ILinkedCellEditorpSearchColumnMapping - search columns for which should be searched in the linked cell.public boolean isTableReadonly()
isTableReadonly in interface ILinkedCellEditorpublic void setTableReadonly(boolean pTableReadonly)
setTableReadonly in interface ILinkedCellEditorpTableReadonly - sets the table in the popup readonly.public boolean isTableHeaderVisible()
isTableHeaderVisible in interface ILinkedCellEditorpublic void setTableHeaderVisible(boolean pTableHeaderVisible)
setTableHeaderVisible in interface ILinkedCellEditorpTableHeaderVisible - the table header visible.public boolean isValidationEnabled()
isValidationEnabled in interface ILinkedCellEditorpublic void setValidationEnabled(boolean pValidationEnabled)
setValidationEnabled in interface ILinkedCellEditorpValidationEnabled - true, if only values from the table are allowed.public IDimension getPopupSize()
Dimension object.
Null means, that the Popup window opens with preferredSize.
getPopupSize in interface ILinkedCellEditorpublic void setPopupSize(IDimension pPopupSize)
Dimension object.
Null means, that the Popup window opens with preferredSize.
setPopupSize in interface ILinkedCellEditorpPopupSize - the Popup size of.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||