javax.rad.ui.celleditor
Interface ILinkedCellEditor

All Superinterfaces:
IAlignmentConstants, ICellEditor, IComboCellEditor, IInplaceCellEditor, IStyledCellEditor
All Known Implementing Classes:
JVxLinkedCellEditor, UILinkedCellEditor

public interface ILinkedCellEditor
extends IComboCellEditor

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


Field Summary
 
Fields inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
DOUBLE_CLICK, SINGLE_CLICK
 
Fields inherited from interface javax.rad.ui.IAlignmentConstants
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP
 
Method Summary
 ICondition getAdditionalCondition()
          Gets the additional condition, that is combined with And.
 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 isSearchTextAnywhere()
          True, if the text is searched anywhere.
 boolean isSortByColumnName()
          True, if the linked cell editor should sort by the column name it is editing.
 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 setAdditionalCondition(ICondition pCondition)
          Sets the additional condition, that is combined with And.
 void setLinkReference(ReferenceDefinition pReferenceDefinition)
          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 pSearchColumnNames)
          Sets search columns for which should be searched in the linked cell.
 void setSearchTextAnywhere(boolean pSearchTextAnywhere)
          True, if the text is searched anywhere.
 void setSortByColumnName(boolean pSortByColumnName)
          True, if the linked cell editor should sort by the column name it is editing.
 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 interface javax.rad.ui.celleditor.IComboCellEditor
isAutoOpenPopup, setAutoOpenPopup
 
Methods inherited from interface javax.rad.ui.celleditor.IInplaceCellEditor
getPreferredEditorMode, setPreferredEditorMode
 
Methods inherited from interface javax.rad.model.ui.ICellEditor
createCellEditorHandler, isDirectCellEditor
 
Methods inherited from interface javax.rad.ui.IAlignmentConstants
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment
 

Method Detail

getLinkReference

ReferenceDefinition getLinkReference()
Gets reference definition that defines the link.

Returns:
the link reference definition.

setLinkReference

void setLinkReference(ReferenceDefinition pReferenceDefinition)
Sets reference definition that defines the link.

Parameters:
pReferenceDefinition - the link reference definition.

getAdditionalCondition

ICondition getAdditionalCondition()
Gets the additional condition, that is combined with And.

Returns:
the additional condition.

setAdditionalCondition

void setAdditionalCondition(ICondition pCondition)
Sets the additional condition, that is combined with And.

Parameters:
pCondition - the additional condition.

getSearchColumnMapping

ColumnMapping getSearchColumnMapping()
Gets search columns for which should be searched in the linked cell.

Returns:
search columns for which should be searched in the linked cell.

setSearchColumnMapping

void setSearchColumnMapping(ColumnMapping pSearchColumnNames)
Sets search columns for which should be searched in the linked cell.

Parameters:
pSearchColumnNames - search columns for which should be searched in the linked cell.

isSortByColumnName

boolean isSortByColumnName()
True, if the linked cell editor should sort by the column name it is editing. Default is false.

Returns:
true, if the linked cell editor should sort by the column name it is editing.

setSortByColumnName

void setSortByColumnName(boolean pSortByColumnName)
True, if the linked cell editor should sort by the column name it is editing. Default is false.

Parameters:
pSortByColumnName - true, if the linked cell editor should sort by the column name it is editing.

isTableReadonly

boolean isTableReadonly()
Gets whether the table in the popup readonly.

Returns:
the table in the popup readonly.

setTableReadonly

void setTableReadonly(boolean pTableReadonly)
Sets the table in the popup readonly.

Parameters:
pTableReadonly - sets the table in the popup readonly.

isTableHeaderVisible

boolean isTableHeaderVisible()
Gets whether the table header is visible.

Returns:
whether the table header is visible.

setTableHeaderVisible

void setTableHeaderVisible(boolean pTableHeaderVisible)
Sets the table header visible.

Parameters:
pTableHeaderVisible - the table header visible.

isValidationEnabled

boolean isValidationEnabled()
Gets true, if only values from the table are allowed.

Returns:
true, if only values from the table are allowed.

setValidationEnabled

void setValidationEnabled(boolean pValidationEnabled)
Sets true, if only values from the table are allowed.

Parameters:
pValidationEnabled - true, if only values from the table are allowed.

isSearchTextAnywhere

boolean isSearchTextAnywhere()
True, if the text is searched anywhere. Default is true.

Returns:
True, if the text is searched anywhere.

setSearchTextAnywhere

void setSearchTextAnywhere(boolean pSearchTextAnywhere)
True, if the text is searched anywhere. Default is true.

Parameters:
pSearchTextAnywhere - True, if the text is searched anywhere.

getPopupSize

IDimension getPopupSize()
Gets the size of the Popup window using a Dimension object. Null means, that the Popup window opens with preferredSize.

Returns:
the Popup size of.

setPopupSize

void setPopupSize(IDimension pPopupSize)
Sets the size of the Popup window using a Dimension object. Null means, that the Popup window opens with preferredSize.

Parameters:
pPopupSize - the Popup size of.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.