Class TreeColumn<T,V>
java.lang.Object
com.amalgamasimulation.desktop.ui.columndescriptors.Column<T,V,TreeColumn<T,V>>
com.amalgamasimulation.desktop.ui.columndescriptors.EditableColumn<T,V,TreeColumn<T,V>>
com.amalgamasimulation.desktop.ui.columndescriptors.EmfColumn<T,V,TreeColumn<T,V>>
com.amalgamasimulation.desktop.ui.columndescriptors.TreeColumn<T,V>
- All Implemented Interfaces:
IColumn<T,,V, TreeColumn<T, V>> IEditableColumn<T,,V, TreeColumn<T, V>> IEMFColumn<T,V, TreeColumn<T, V>>
public class TreeColumn<T,V>
extends EmfColumn<T,V,TreeColumn<T,V>>
implements IEMFColumn<T,V,TreeColumn<T,V>>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.Column
Column.ContextMenuHandler<T,V> -
Field Summary
Fields inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.EditableColumn
buttonOnTopManager, editingSupportFields inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.Column
backgroundColorExtractor, columnViewer, comparator, contextMenuHanlers, doubleClickHandler, fontColorExtractor, fontExtractor, formatValue, iconExtractor, labelForNullValue, name, parent, pseudoHistogramColorExtractor, toolTipText, valueExtractor, viewerColumn, visibility, width -
Constructor Summary
ConstructorsConstructorDescriptionTreeColumn(Class<TreeColumn<T, V>> cl, Tree<T> treeView, Function<T, V> valueExtractor) -
Method Summary
Modifier and TypeMethodDescriptionintCalculates and returns the current column widthorg.eclipse.swt.widgets.TreeColumnstatic <T,V> Class <TreeColumn<T, V>> intCalculates and returns the current column indexorg.eclipse.jface.viewers.TreeViewerColumnReturn the current ViewerColumn of the columnintCalculates and returns the current visual position of this column in the UI after any column reordering by the user.TreeColumn<T, V> headerIcon(org.eclipse.swt.graphics.Image icon) Set icon for the columnTreeColumn<T, V> moveable(boolean moveable) Sets whether this column can be moved by the user in the UI.TreeColumn<T, V> Set the column nameTreeColumn<T, V> Set tool tip for this columnTreeColumn<T, V> width(int width) Set the column widthMethods inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.EmfColumn
distributionEditor, editedFeature, emfAutoCompleteComboEditor, emfAutoCompleteTextEditor, emfCheckBoxEditor, emfColorEditor, emfComboEditor, emfDynamicAutoCompleteComboEditor, emfEnumComboEditor, emfLocalDateTimeEditor, emfLocalTimeEditor, emfMultiObjectsSelectionDialogEditor, emfMultiToolListDialogEditor, emfObjectSelectionDialogEditor, emfTextEditor, emfTextIdEditor, getDataFillerManager, getEditedFeature, realDistributionEditor, timeSeriesEditor, toStringMethods inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.EditableColumn
autoCompleteComboEditor, autoCompleteTextEditor, buttonActionEditor, buttonOnTop, checkBoxEditor, colorEditor, comboEditor, dynamicAutoCompleteComboEditor, enumComboEditor, getEditingSupport, invalidateEditors, localDateTimeEditor, localTimeEditor, multiObjectsSelectionDialogEditor, objectSelectionDialogEditor, setEditingSupport, textEditorMethods inherited from class com.amalgamasimulation.desktop.ui.columndescriptors.Column
addContextMenuHandler, backgroundColor, backgroundColor, backgroundColor, comparator, font, font, font, fontColor, fontColor, fontColor, format, format, format, getBackgroundColor, getColumnViewer, getComparator, getContextMenuHandlers, getDoubleClickHandler, getFont, getFontColor, getFormat, getIcon, getName, getNullValueText, getParent, getPseudoHistogramColor, getThis, getToolTipText, getValueExtractor, getWidth, icon, icon, icon, initLabelProvider, isVisible, nullValueText, pseudoHistogramColor, pseudoHistogramColor, pseudoHistogramColor, removeContextMenuHandler, removeDoubleClickHandler, setDoubleClickHandler, setViewerColumn, visibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.amalgamasimulation.desktop.ui.columndescriptors.IColumn
addContextMenuHandler, backgroundColor, backgroundColor, backgroundColor, comparator, font, font, font, fontColor, fontColor, fontColor, format, format, format, getBackgroundColor, getColumnViewer, getComparator, getContextMenuHandlers, getDoubleClickHandler, getFont, getFontColor, getFormat, getIcon, getName, getNullValueText, getParent, getPseudoHistogramColor, getToolTipText, getValueExtractor, getWidth, icon, icon, icon, invalidateEditors, isVisible, nullValueText, pseudoHistogramColor, pseudoHistogramColor, pseudoHistogramColor, removeContextMenuHandler, removeDoubleClickHandler, setDoubleClickHandler, setViewerColumn, visibleMethods inherited from interface com.amalgamasimulation.desktop.ui.columndescriptors.IEditableColumn
autoCompleteComboEditor, autoCompleteTextEditor, buttonActionEditor, buttonOnTop, checkBoxEditor, colorEditor, comboEditor, dynamicAutoCompleteComboEditor, enumComboEditor, getEditingSupport, localDateTimeEditor, localTimeEditor, multiObjectsSelectionDialogEditor, objectSelectionDialogEditor, setEditingSupport, textEditorMethods inherited from interface com.amalgamasimulation.desktop.ui.columndescriptors.IEMFColumn
distributionEditor, editedFeature, emfAutoCompleteComboEditor, emfAutoCompleteTextEditor, emfCheckBoxEditor, emfColorEditor, emfComboEditor, emfDynamicAutoCompleteComboEditor, emfEnumComboEditor, emfLocalDateTimeEditor, emfLocalTimeEditor, emfMultiObjectsSelectionDialogEditor, emfMultiToolListDialogEditor, emfObjectSelectionDialogEditor, emfTextEditor, emfTextIdEditor, getDataFillerManager, getEditedFeature, realDistributionEditor, timeSeriesEditor
-
Constructor Details
-
TreeColumn
-
-
Method Details
-
getColumnClass
-
getColumn
public org.eclipse.swt.widgets.TreeColumn getColumn() -
getViewerColumn
public org.eclipse.jface.viewers.TreeViewerColumn getViewerColumn()Description copied from interface:IColumnReturn the current ViewerColumn of the column- Specified by:
getViewerColumnin interfaceIColumn<T,V, TreeColumn<T, V>> - Returns:
- the current ViewerColumn of the column
-
getActualWidth
public int getActualWidth()Description copied from interface:IColumnCalculates and returns the current column width- Specified by:
getActualWidthin interfaceIColumn<T,V, TreeColumn<T, V>>
-
headerIcon
Description copied from interface:IColumnSet icon for the column- Specified by:
headerIconin interfaceIColumn<T,V, TreeColumn<T, V>> - Returns:
- this column
-
name
Description copied from interface:IColumnSet the column name -
width
Description copied from interface:IColumnSet the column width -
tooltip
Description copied from interface:IColumnSet tool tip for this column -
getColumnIndex
public int getColumnIndex()Description copied from interface:IColumnCalculates and returns the current column index- Specified by:
getColumnIndexin interfaceIColumn<T,V, TreeColumn<T, V>>
-
getVisibleColumnIndex
public int getVisibleColumnIndex()Description copied from interface:IColumnCalculates and returns the current visual position of this column in the UI after any column reordering by the user.This index reflects the visual position after any column reordering by the user, unlike the logical index returned by
IColumn.getColumnIndex().- Specified by:
getVisibleColumnIndexin interfaceIColumn<T,V, TreeColumn<T, V>> - Returns:
- the visible column index
- See Also:
-
moveable
Description copied from interface:IColumnSets whether this column can be moved by the user in the UI.Default value:
false(columns are fixed by default)
-