|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.genui.AbstractUIFactoryResource<CE>
javax.rad.genui.celleditor.UICellEditor<CE>
javax.rad.genui.celleditor.UIInplaceCellEditor<CE>
javax.rad.genui.celleditor.UIComboCellEditor<ILinkedCellEditor>
javax.rad.genui.celleditor.UILinkedCellEditor
public class UILinkedCellEditor
Platform and technology independent linked editor. 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_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Constructor Summary | |
|---|---|
|
UILinkedCellEditor()
Creates a new instance of UILinkedCellEditor. |
protected |
UILinkedCellEditor(ILinkedCellEditor pEditor)
Creates a new instance of UILinkedCellEditor with the given
linked cell editor. |
|
UILinkedCellEditor(ReferenceDefinition pReferenceDefinition)
Creates a new instance of UILinkedCellEditor with LinkReference. |
| Method Summary | |
|---|---|
ICondition |
getAdditionalCondition()
Gets the additional condition, that is combined with And. |
ColumnView |
getColumnView()
Returns the ColumnView displayed by this control. |
java.lang.String |
getDisplayReferencedColumnName()
Gets the name of the referenced column that is used for displaying values. |
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 |
setColumnView(ColumnView pColumnView)
Sets the ColumnView displayed by this control. |
void |
setDisplayReferencedColumnName(java.lang.String pDisplayReferencedColumnName)
Sets the name of the referenced column that is used for displaying values. |
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 class javax.rad.genui.celleditor.UIComboCellEditor |
|---|
isAutoOpenPopup, setAutoOpenPopup |
| Methods inherited from class javax.rad.genui.celleditor.UIInplaceCellEditor |
|---|
getPreferredEditorMode, setPreferredEditorMode |
| Methods inherited from class javax.rad.genui.AbstractUIFactoryResource |
|---|
getUIResource, setUIResource |
| 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.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 |
| Constructor Detail |
|---|
public UILinkedCellEditor()
UILinkedCellEditor.
ILinkedCellEditorprotected UILinkedCellEditor(ILinkedCellEditor pEditor)
UILinkedCellEditor with the given
linked cell editor.
pEditor - the linked cell editorILinkedCellEditorpublic UILinkedCellEditor(ReferenceDefinition pReferenceDefinition)
UILinkedCellEditor with LinkReference.
pReferenceDefinition - the LinkReference.ILinkedCellEditor| Method Detail |
|---|
public ReferenceDefinition getLinkReference()
getLinkReference in interface ILinkedCellEditorpublic void setLinkReference(ReferenceDefinition pReferenceDefinition)
setLinkReference in interface ILinkedCellEditorpReferenceDefinition - the link reference definition.public ICondition getAdditionalCondition()
getAdditionalCondition in interface ILinkedCellEditorpublic void setAdditionalCondition(ICondition pCondition)
setAdditionalCondition in interface ILinkedCellEditorpCondition - the additional condition.public ColumnMapping getSearchColumnMapping()
getSearchColumnMapping in interface ILinkedCellEditorpublic void setSearchColumnMapping(ColumnMapping pSearchColumnNames)
setSearchColumnMapping in interface ILinkedCellEditorpSearchColumnNames - search columns for which should be searched in the linked cell.public boolean isSortByColumnName()
isSortByColumnName in interface ILinkedCellEditorpublic void setSortByColumnName(boolean pSortByColumnName)
setSortByColumnName in interface ILinkedCellEditorpSortByColumnName - true, if the linked cell editor should sort by the column name it is editing.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 ColumnView getColumnView()
getColumnView in interface ILinkedCellEditorILinkedCellEditor.setColumnView(javax.rad.model.ColumnView)public void setColumnView(ColumnView pColumnView)
setColumnView in interface ILinkedCellEditorpColumnView - the ColumnViewILinkedCellEditor.getColumnView()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.public boolean isSearchTextAnywhere()
isSearchTextAnywhere in interface ILinkedCellEditorpublic void setSearchTextAnywhere(boolean pSearchTextAnywhere)
setSearchTextAnywhere in interface ILinkedCellEditorpSearchTextAnywhere - True, if the text is searched anywhere.public java.lang.String getDisplayReferencedColumnName()
null if no display referenced column name is set and
the editors default behavior decides what is displayed.
getDisplayReferencedColumnName in interface ILinkedCellEditornull if not set.public void setDisplayReferencedColumnName(java.lang.String pDisplayReferencedColumnName)
setDisplayReferencedColumnName in interface ILinkedCellEditorpDisplayReferencedColumnName - the name of the display referenced column.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||