Class UITable
- All Implemented Interfaces:
- EventListener,- IFocusComp,- IMessageBox,- IComponent,- ICustomDataProvider,- IGProp<GProp<?>[]>,- IPropCnr,- IUIComp,- IUIContainer,- IUIContextMenuOwner,- IUIFocusComp,- IUICellSelectionComp,- IUIIndexedSelectionComp,- IUISelectionComp,- IUISingleIndexedSelectionComp,- IVSComponentListener,- IVSComponentState,- IVSFieldListener,- IVSGenericComponentListener,- IVSTableColumnReferenceOwner,- IVSTableListener,- Cloneable
- Direct Known Subclasses:
- EUITable
The general recommendation is to program against the VirtualSpace, but if you wish, you can add a specific selection listener to process selection changes on the UITable instance. An event will be fired for a table that is selection capable either on row or cell level, of the selection types SINGLE, EXTENDED, MULTIPLE or TOGGLE. No event will be triggered for selection type NONE, and all methods used to retrieve or set the selection will return no selection or no change respectively.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.gyro.IMessageBox- IMessageBox.Icon- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Field SummaryFieldsModifier and TypeFieldDescription- static final StringCell selection property name.- static final StringFilter case sensitive boolean property name.- static final StringLATER: Filter class ClassReference property name.- static final StringProperty name for the Filter delay.- static final StringFilter operation integer property name.- static final StringProperty name for the Filter VSField.- static final StringThe selection type property name.- static final intSelection type (multiple selection enabled): MULTIPLE.- static final intSelection type (multiple selection enabled): MULTIPLE.- static final intSelection type: NONE.- static final intSelection type: SINGLE.- static final intSelection type (multiple selection enabled): TOGGLE.- Fields inherited from class com.iizix.prop.ui.UIContainer- UICOMP_CLASS, VS_STATE_FOCUS_PROP_NAME, WARN_EMPTY_PROP_NAME- Fields inherited from class com.iizix.prop.ui.UIComp- EMPTY, REMOTE_FOCUS_EVENT, styles, vsField- Fields inherited from class com.iizix.prop.PropCnr- EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID, nameTable- Fields inherited from class com.iizix.prop.GProp- GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2- Fields inherited from interface com.iizix.prop.IGProp- EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE- Fields inherited from interface com.iizix.gyro.IMessageBox- ICON_ERROR, ICON_INFORMATION, ICON_MAP, ICON_NONE, ICON_QUESTION, ICON_WARNING- Fields inherited from interface com.iizix.prop.ui.IUIComp- ERROR, INFORMATION, NONE, REMOTE_FOCUS_EVENT, WARNING
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- boolean- addListener- (IUITableSelectionChangeListener listener) Adds a new selection listener for row or cell selection.- protected voidAdds the predefined properties for this container.- booleanReturns if the component can be aligned left, right, center, or horizontal fill.- booleanReturns if the component can be aligned top, bottom, middle or vertical fill.Clear the selection.- clone()Creates a clone out of this property.- protected StylesCreates the Body Styles container (can be overridden by Designer to create EditorStyles).Creates a new combobox table contents to be used in a cell.- protected StylesCreates the Footer Styles container (can be overridden by Designer to create EditorStyles).- protected StylesCreates the Header Styles container (can be overridden by Designer to create EditorStyles).Returns the size of the component in pixels.- getBestVSFieldValueType- (VSRelativeReference<?> reference) Requests the value type that would best suit the listener.- getColumn- (int index) Gets the columns in the table.- intGets the column count.Gets the columns in the table.- ITableContentProvider<?,- ?, - ?, - ?> Gets the custom table content provider and initializes it if required.- final intGets the device type: -1=mobile, 0=both, 1=desktop.- intGets the displayed row count after filtering.- intGets the even row style.- ITableFilter<?,- ?> Gets the filter instance.Gets the operation for filtering.Gets the current filter text.- intGets the first selected index.Gets the first selected row index for a selection table type, typically single-selection.- intGets the first selected row index for a selection table type, typically single-selection.Gets the main component that is used to map the UI component to the VirtualSpace.- intGets the odd row style.Returns the method to use for onUISelection notifications that is attached to this selection component.- voidGets potential references to predefined properties for this container.Gets the rows container.- TCell[]Gets the selected cells in the table.- intGets the first selected row index.- int[]Gets the selected indicies.- int[]Gets the selected row indicies for a selection table type.- TableRow[]Gets the selected rows for a selection table type.Gets the current selection of the component.- getSelectionListenerHandler- (boolean doCreate) Returns the generic selection listener.Returns the selection property atom for verification of selection changes.- intGets the selection type.Gets the VS columns for the table.Gets the VS table reference of the table.Gets the VSTable for a VSTableColumnReference instance.Gets the VirtualSpace table reference for the table.Gets the table reference owner data for the table column reference.- booleanReturns if the container has implicit component horizontal fill.- booleanReturns if the container has implicit component vertical fill.- booleanReturns if cell selection is enabled or not.- booleanReturns if the columns hider is enabled, i.e.- booleanGets the filter flag for case sensitive.- booleanReturns if the header is displayed or not.- booleanReturns if the component can show the context menu in mobile mode.- booleanReturns if row selection is allowed or not, i.e.- booleanReturns the selection of state of the component.- booleanDoes this component require an explicitly defined height?- booleanDoes this component require an explicitly defined width?- booleanDoes this component require a height?- booleanDoes this component require a width?- void- onBroken- (VSRelativeReference<?> reference, VSField field) Called when the property reference has been broken, i.e.- void- onBroken- (VSRelativeReference<?> reference, VSTable table) Called when the property reference has been broken, i.e.- void- onCellStateChanged- (VSField cell, IVSComponentState.State state, boolean on) Called when the cell changes state.- void- onCellValueChanged- (VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set.- void- onEventSelf- (GEvent event) Event checking to clear cache.- protected void- onPrepare- (ClassReference cr, List<Throwable> errors) Called to resolve methods for the component from main "onPrepare" once the ClassReference has been found.- protected voidCalled when disposed of.- protected void- onPropParentChanged- (PropCnr oldParent, PropCnr newParent) Called when the parent is changed for this class.- void- onResolved- (VSRelativeReference<?> reference, VSField field) Called when the property reference has been resolved.- void- onResolved- (VSRelativeReference<?> reference, VSTable table) Called when the property reference has been resolved.- void- onRowAdded- (VSRow row, int index) Called when a row is added.- void- onRowRemoved- (VSRow row, int index) Called when a row is removed.- void- onRowStateChanged- (VSRow row, IVSComponentState.State state, boolean on) Called when a row selection state changed.- void- onSingleSelectionChanged- (VSTable table, int index) Called when the single selection changes.- void- onStateChanged- (VSTable table, IVSComponentState.State state, boolean on) Called when the table changes state.- void- onValueChanged- (VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the field value is set.- protected void- onVirtualizationCompleted- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace, boolean isPostResolve) Called when virtualization completed.- void- refreshTable- (int dirty, String reason) Requests a refresh of the entire table.- int- registerStyle- (String stylesRef) Registers the style reference for use with header or row cells.- int- registerStyle- (String stylesRef, boolean logEvent) Registers the style reference for use with header or row cells.- booleanRemoves a selection listener for row or cell selection.- boolean- setContentProvider- (ITableContentProvider<?, - ?, - ?, - ?> provider) Sets a custom content provider and initializes it if required.- boolean- setFilter- (ITableFilter<?, - ?> filter) Sets the filter instance.- boolean- setFilterCaseSensitive- (boolean on) Sets the filter flag for case sensitive and refreshes the table if required.- booleanSets the operation for filtering and refreshes the table if required.- boolean- setFilterText- (String text) Sets the filter text and refreshes the table if required.- boolean- setSelectedCells- (int[] rows, int[] cols) Sets the selected cells in the table.- boolean- setSelectedCells- (TCell[] cells) Sets the selected cells in the table.- boolean- setSelectedRow- (int index) Sets the selected row index for a selection table type.- boolean- setSelectedRows- (int[] indicies) Sets the selected row index for a selection table type.- boolean- setSelectedRows- (TableRow[] rows) Sets the selected rows for a selection table type.- setSelection- (int index) Sets the selection as a single selected item at specified index.- setSelection- (int[] indicies) Sets the selection to the specified indicies.- setSelection- (IUISelection selection) Sets the selection.- protected voidCalled to update the table if required with new data.- Methods inherited from class com.iizix.prop.ui.UIContainer- addPredefinedPropsImpl, canAcceptUIContainerFocus, createCompsCnr, doIssueEmptyContainerWarning, getComponentCount, getComponents, getCompsCnr, getFirstContainerVSStateFocus, getFirstUIComponent, getFirstUIComponentNull, getRadioSelectionComponents, getSelectedRadioComponent, getUIComponent, getUIComponentNull, getVSStateFocus, invokeOnUICreateTree, isEmptyContainerAllowed, onBroken, onComponentSelectedInParent, onResolved, onSelectionChanged, onSelectionChanged, onStateChanged, onVirtualContainerCreated, onVSComponentSelectionChanged, resetComponentID, setRadioSelectionComponent, setUIContainerFocus, updateUICompsReference, verify, verifyComponentScope- Methods inherited from class com.iizix.prop.ui.UIComp- add, addMappings, assignFontInfoResolver, canFillX, canFillY, canRequestFocus, canRequestFocus, clearErrorMessage, couldRequestFocusIfVirtualized, createStyles, createTitleProp, disconnectVSField, enterVSProcessing, exitVSProcessing, fireSelection, fireSelection, forbiddenGetCustomDataMap, getBadge, getComponentID, getComponentMappings, getErrorMessage, getErrorMessage, getErrorMessageEx, getErrorMessageString, getErrorMessageString, getErrorMessageStringEx, getFixHeight, getFixWidth, getFontInfo, getForcedAlignX, getForcedAlignY, getKStringText, getLayout, getLayoutMgr, getLayoutMgr, getMessage, getMessageText, getPixelHeight, getPixelWidth, getSize, getStyles, getStyles, getText, getTitle, getTitleKS, getTitlePKS, getTooltip, getTooltipText, getTrigger, getUIPanel, getUIParent, getValue, getValue, getVirtualSpace, getVSField, hasExplicitHeight, hasExplicitWidth, hasFocus, hasImplicitHeight, hasImplicitWidth, hasSelectionChanged, initPropCnr, isEnabled, isMobile, isReadOnly, isRTL, isVisible, isVSFieldDisconnected, onFocusGained, onNotifySelectionChanged, onParentStateChanged, onPrepare, onRemoteEvent, onStateChanged, processVSComponentSelection, reconnectVSField, requestFocus, requestFocus, requestFocus, requestFocus, requestFocusEx, requestFocusEx, requestFocusEx, requestFocusEx, setBadge, setBadge, setComponentToVSField, setEnabled, setEnabled, setErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setReadOnly, setText, setText, setTitle, setTitle, setTitle, setTooltip, setTooltip, setVisible, setVisible, setVSFieldMessageToComponent, setVSFieldToComponent- Methods inherited from class com.iizix.prop.PropCnr- __transferChildProps, addProp, addProp, addProp2, addProp2, appendPropValue, completeVirtualize, containsProp, containsProp, convertLoadedProp, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, enablePropCommunication, enablePropHashMap, equalsTree, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, getVSReference, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropRemoved, onPropTreeInitialized, onReferenceEvent, paramString, prepare, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, shouldSerializeToXML, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verifyInternalUseOnly, verifyTree, virtualize- Methods inherited from class com.iizix.prop.GProp- addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getModuleFolder, getModuleFolder, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getReferencePropNameNoAssert, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParentNoAssert, getTreeLock, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropRootLoading, isPropRootTreeModificationsAllowed, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onPropInvalidateCache, onPropValueSet, paramString, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, warning, warning, warning- Methods inherited from class java.lang.Object- getClass, hashCode, notify, notifyAll, wait, wait, wait- Methods inherited from interface com.iizix.IComponent- clearErrorMessage, getBadge, getKStringText, getLayoutMgr, getMessage, getMessageText, getStyles, getText, getTooltip, getTooltipText, getUIPanel, getUIParent, isEnabled, isReadOnly, isVisible, messageBox, requestFocus, requestFocus, requestFocusEx, requestFocusEx, setBadge, setBadge, setEnabled, setErrorMessage, setErrorMessage, setHTMLText, setLayoutMgr, setMessage, setMessage, setReadOnly, setText, setText, setTooltip, setTooltip, setVisible- Methods inherited from interface com.iizix.prop.ICustomDataProvider- forbiddenGetCustomDataMap, getCustomData, putCustomData, putCustomDataIfAbsent- Methods inherited from interface com.iizix.gyro.IFocusComp- requestFocus, requestFocus, requestFocusEx, requestFocusEx- Methods inherited from interface com.iizix.prop.IGProp- addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getModuleFolder, getModuleFolder, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getRelativePropName, getRootParent, getTreeLock, getValueClasses, getVSReference, hasChanged, hasCircularReferencesError, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, warning, warning, warning- Methods inherited from interface com.iizix.gyro.IMessageBox- messageBox, messageBox- Methods inherited from interface com.iizix.prop.IPropCnr- addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeAllProps2, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstances- Methods inherited from interface com.iizix.prop.ui.selection.IUICellSelectionComp- isSelectionCellBased- Methods inherited from interface com.iizix.prop.ui.IUIComp- canAcceptUIContainerFocus, disconnectVSField, getComponentID, getComponentMappings, getContainerFirstUIComponent, getContainerFirstUIComponentNull, getErrorMessage, getErrorMessage, getFirstUIComponent, getFirstUIComponentNull, getFixHeight, getFixWidth, getLayout, getLayoutMgr, getPanelUIComponent, getPanelUIComponentNull, getUIRef, getValue, getValue, getVirtualSpace, getVSField, isMobile, isRTL, isVSFieldDisconnected, reconnectVSField, setComponentToVSField, setErrorMessage, setErrorMessage, setUIContainerFocus, setVSFieldMessageToComponent, setVSFieldToComponent- Methods inherited from interface com.iizix.prop.ui.IUIContextMenuOwner- getContainedContextMenu, getContextMenu, getReferencedContextMenu, isContextMenuSupported, onBroken, onResolved- Methods inherited from interface com.iizix.prop.ui.IUIFocusComp- onFocusGained, onFocusLost- Methods inherited from interface com.iizix.prop.ui.selection.IUIIndexedSelectionComp- isSelectionIndexBased, setSelection, setSelection, setSelection, setSelection, setSelection- Methods inherited from interface com.iizix.prop.ui.selection.IUISelectionComp- addSelectionListener, isSelectionBooleanBased, isSelectionTriStateBased, removeSelectionListener- Methods inherited from interface com.iizix.prop.vs.IVSComponentListener- onParentStateChanged- Methods inherited from interface com.iizix.prop.vs.IVSFieldListener- onStateChanged
- Field Details- SELECTION_TYPE_NONEpublic static final int SELECTION_TYPE_NONESelection type: NONE.- See Also:
 
- SELECTION_TYPE_SINGLEpublic static final int SELECTION_TYPE_SINGLESelection type: SINGLE.- See Also:
 
- SELECTION_TYPE_EXTENDEDpublic static final int SELECTION_TYPE_EXTENDEDSelection type (multiple selection enabled): MULTIPLE.- See Also:
 
- SELECTION_TYPE_MULTIPLEpublic static final int SELECTION_TYPE_MULTIPLESelection type (multiple selection enabled): MULTIPLE.- See Also:
 
- SELECTION_TYPE_TOGGLEpublic static final int SELECTION_TYPE_TOGGLESelection type (multiple selection enabled): TOGGLE.- See Also:
 
- SELECTION_TYPEThe selection type property name.- See Also:
 
- CELL_SELECTION_PNCell selection property name.- See Also:
 
- FILTER_VSFIELDProperty name for the Filter VSField.- See Also:
 
- FILTER_DELAYProperty name for the Filter delay.- See Also:
 
- FILTER_CASEFilter case sensitive boolean property name.- See Also:
 
- FILTER_OPERATIONFilter operation integer property name.- See Also:
 
- FILTER_CLASSLATER: Filter class ClassReference property name.- See Also:
 
 
- Constructor Details- UITablepublic UITable()Creates the container without name with a null value.
- UITableCreates the container with the specified name with a null value.- Parameters:
- propertyAtom- the property atom.
 
- UITableCreates the container with the specified name and properties.- Parameters:
- propertyAtom- the property atom.
- properties- the property array value for the container.
- Throws:
- PropException- when properties are not correctly defined.
 
 
- Method Details- createHeaderStylesCreates the Header Styles container (can be overridden by Designer to create EditorStyles).
- createBodyStylesCreates the Body Styles container (can be overridden by Designer to create EditorStyles).
- addPredefinedPropsAdds the predefined properties for this container. This method is called once just after construction of the property container and sometimes population of it.- The method should add properties to create or get reference to using the - maybeAddPropmethod. When the PropCnr instance is cloned, the method- getPredefinedProps()is called in order for the subclass to be able to retrieve the new instances to these properties, if stored in instance variables.- Overrides:
- addPredefinedPropsin class- UIContainer
- Throws:
- PropException- for property exceptions.
 
- getPredefinedPropspublic void getPredefinedProps()Gets potential references to predefined properties for this container. This method is called once just after cloning of the property container.- The method should get reference to using the - getProp(...)methods. This allows the subclass to be able to retrieve the new instances to the properties created during- addPredefinedProps()if stored in instance variables.- Overrides:
- getPredefinedPropsin class- UIContainer
 
- getRowsCnrGets the rows container.
- getDeviceTypepublic final int getDeviceType()Gets the device type: -1=mobile, 0=both, 1=desktop.- Specified by:
- getDeviceTypein interface- IUIComp
- Overrides:
- getDeviceTypein class- UIContainer
- Returns:
- Zero: 0=both.
 
- isMobileContextMenuSupportedpublic boolean isMobileContextMenuSupported()Returns if the component can show the context menu in mobile mode.- Specified by:
- isMobileContextMenuSupportedin interface- IUIContextMenuOwner
- Overrides:
- isMobileContextMenuSupportedin class- UIContainer
- Returns:
- Table component supports context menus for mobile.
 
- cloneCreates a clone out of this property. The cloning is overridden by the subclasses in order to handle cloning of its class variables appropriately.- Cloning is used for "virtualization" of a property tree in the server. Client property classes will therefore throw - CloneNotSupportedException.- Once a tree has been cloned, the change-flag is reset, and the create-flag is set. All listeners are also removed! The new cloned property is an orphan, i.e. has no parent set. All children properties are also (deep) cloned. - Note that the cloning process is done WITHOUT thread synchronization for performance reasons, thus no modifications should be done to the tree! - Overrides:
- clonein class- UIContainer
 
- onVirtualizationCompletedprotected void onVirtualizationCompleted- (IAppSessionGyro appGyro, IClientSessionGyro clientGyro, VirtualSpace virtualSpace, boolean isPostResolve) Called when virtualization completed.- Overriding classes must call - super.onVirtualizationCompleted(IAppSessionGyro appGyro,IClientSessionGyro clientGyro,VirtualSpace virtualSpace,boolean isPostResolve)if they override this method.- This method is called to the entire tree of the newly virtualized property container. - Overrides:
- onVirtualizationCompletedin class- PropCnr
- Parameters:
- appGyro- The application gyro instance performing the virtualization.
- clientGyro- The client gyro session, can be- nullif not initialized from the client gyro.
- virtualSpace- The virtualized VirtualSpace.
- isPostResolve- Flag indicating this call is done after references are attempted to be resolved.
 
- onPropParentChangedCalled when the parent is changed for this class. The default implementation does nothing and must be overridden by subclasses.- Overrides:
- onPropParentChangedin class- GProp<GProp<?>[]>
- Parameters:
- oldParent- The old parent (or null if none).
- newParent- The new parent (or null if none).
 
- onPropDisposeprotected void onPropDispose()Called when disposed of.- Overrides:
- onPropDisposein class- UIComp
 
- mustHaveWidthpublic boolean mustHaveWidth()Does this component require a width?- Overrides:
- mustHaveWidthin class- UIContainer
- Returns:
- true if the width must be defined and non-zero, false otherwise.
 
- mustHaveHeightpublic boolean mustHaveHeight()Does this component require a height?- Overrides:
- mustHaveHeightin class- UIContainer
- Returns:
- true if the height must be defined and non-zero, false otherwise.
 
- mustHaveExplicitWidthpublic boolean mustHaveExplicitWidth()Does this component require an explicitly defined width?- Overrides:
- mustHaveExplicitWidthin class- UIComp
- Returns:
- true if the width must be defined and non-zero, false otherwise.
 
- mustHaveExplicitHeightpublic boolean mustHaveExplicitHeight()Does this component require an explicitly defined height?- Overrides:
- mustHaveExplicitHeightin class- UIComp
- Returns:
- true if the height must be defined and non-zero, false otherwise.
 
- canAlignXpublic boolean canAlignX()Returns if the component can be aligned left, right, center, or horizontal fill.
- canAlignYpublic boolean canAlignY()Returns if the component can be aligned top, bottom, middle or vertical fill.
- hasImplicitAlignFillXpublic boolean hasImplicitAlignFillX()Returns if the container has implicit component horizontal fill.- The default behavior is to forward the reply to - LayoutMgr.hasImplicitAlignFillX().- Overrides:
- hasImplicitAlignFillXin class- UIContainer
- Returns:
- true means component will always fill the space in X, false otherwise.
 
- hasImplicitAlignFillYpublic boolean hasImplicitAlignFillY()Returns if the container has implicit component vertical fill.- The default behavior is to forward the reply to - LayoutMgr.hasImplicitAlignFillY().- Overrides:
- hasImplicitAlignFillYin class- UIContainer
- Returns:
- true means component will always fill the space in Y, false otherwise.
 
- getApproximateSizeReturns the size of the component in pixels. The size is a calculation and does not exactly reflect the real size that may be different due to additional styles not taken into account by this method. The size is calculated from the font of the component and default or defined values (such as character length or number of lines for text area).- Overrides:
- getApproximateSizein class- UIContainer
- Returns:
- The size of the component: 400x300.
 
- isHeaderDisplayedpublic boolean isHeaderDisplayed()Returns if the header is displayed or not.- Returns:
- true if header is displayed (default), or false for hidden header.
 
- isColumnHiderEnabledpublic boolean isColumnHiderEnabled()Returns if the columns hider is enabled, i.e. if the user can choose to hide or show columns.- Returns:
- true if enabled, false for disabled (default).
 
- getColumnsGets the columns in the table.- Returns:
- The array of table columns.
 
- getColumnGets the columns in the table.- Parameters:
- index- The column index.
- Returns:
- The table column.
- Throws:
- IndexOutOfBoundsException- If the index is out of bounds.
 
- getColumnCountpublic int getColumnCount()Gets the column count.- Returns:
- The column count.
 
- registerStyleRegisters the style reference for use with header or row cells.- Parameters:
- stylesRef- The styles reference string, or null for no style.
- Returns:
- The ID of the style, or zero for no style or reference not found.
 
- registerStyleRegisters the style reference for use with header or row cells.- Parameters:
- stylesRef- The styles reference string, or null for no style.
- logEvent- Flag to log an event if the style is not found (recommended).
- Returns:
- The ID of the style, or zero for no style or reference not found.
 
- getOddRowStylepublic int getOddRowStyle()Gets the odd row style.- Returns:
- The style for odd rows, zero for none.
 
- getEvenRowStylepublic int getEvenRowStyle()Gets the even row style.- Returns:
- The style for even rows, zero for none.
 
- getDisplayedRowCountpublic int getDisplayedRowCount()Gets the displayed row count after filtering.- Returns:
- The total number of rows in the table.
 
- onEventSelfEvent checking to clear cache.- Specified by:
- onEventSelfin interface- IGProp<GProp<?>[]>
- Overrides:
- onEventSelfin class- UIComp
- Parameters:
- event- The property event.
 
- getSelectionTypepublic int getSelectionType()Gets the selection type.- Specified by:
- getSelectionTypein interface- IUISelectionComp
- Returns:
- The selection type:SELECTION_TYPE_NONE,SELECTION_TYPE_SINGLE,SELECTION_TYPE_EXTENDED(default),SELECTION_TYPE_MULTIPLEorSELECTION_TYPE_TOGGLE.
 
- isRowSelectionAllowedpublic boolean isRowSelectionAllowed()Returns if row selection is allowed or not, i.e. if the selection type is single or of multiple type and cell selection is disabled.- Returns:
- true if selection is not cell-based and type is not NONE.
 
- isCellSelectionEnabledpublic boolean isCellSelectionEnabled()Returns if cell selection is enabled or not.- Returns:
- true if cells are selected, false otherwise.
 
- addListenerAdds a new selection listener for row or cell selection. Calling this method multiple times with the same listener will have no effect (but to return false).- Parameters:
- listener- The listener to add.
- Returns:
- true if the listener was added, false otherwise.
- Throws:
- NullPointerException- If the listener is- null.
 
- removeListenerRemoves a selection listener for row or cell selection.- Parameters:
- listener- The listener to remove.
- Returns:
- true if listener is successfully removed, false otherwise.
 
- getFirstSelectedRowIndexpublic int getFirstSelectedRowIndex()Gets the first selected row index for a selection table type, typically single-selection.- Note: the row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Returns:
- The selected row index, or -1 for none or for non-single-selection lists or if cell selection is enabled.
 
- getFirstSelectedRowGets the first selected row index for a selection table type, typically single-selection.- Note: the row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Returns:
- The selected row, or nullfor none or for non-single-selection lists or if cell selection is enabled.
 
- getSelectedRowIndiciespublic int[] getSelectedRowIndicies()Gets the selected row indicies for a selection table type.- Note: each row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Returns:
- An array with the selected row indicies, never null.
 
- getSelectedRowsGets the selected rows for a selection table type.- Note: each row returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Returns:
- An array with the selected rows, never null.
 
- setSelectedRowpublic boolean setSelectedRow- (int index) Sets the selected row index for a selection table type. If the list can handle selection of multiple lines, all lines apart of the specified index will be unselected.- Note: the row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Parameters:
- index- The row index for the selection (0 to totalRowCount-1 or -1 for none).
- Returns:
- true for changed, false for no change in selection (or index is invalid or selection type is SELECTION_TYPE_NONE or cell selection is enabled).
 
- setSelectedRowspublic boolean setSelectedRows- (int[] indicies) Sets the selected row index for a selection table type. If the list can handle selection of multiple lines, all lines apart of the specified index will be unselected.- Note: the row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Parameters:
- indicies- The row indicies for the selection.
- Returns:
- true for changed, false for no change in selection (or index is invalid or selection type is SELECTION_TYPE_NONE or cell selection is enabled).
- Throws:
- IllegalArgumentException- If the indicies array is larger than one and the selection type is SELECTION_TYPE_SINGLE.
 
- setSelectedRowsSets the selected rows for a selection table type. If the list can handle selection of multiple lines, all lines apart of the specified index will be unselected.- Note: the row index returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Parameters:
- rows- The rows to select.
- Returns:
- true for changed, false for no change in selection (or index is invalid or selection type is SELECTION_TYPE_NONE or cell selection is enabled).
- Throws:
- IllegalArgumentException- If the rows array is larger than one and the selection type is SELECTION_TYPE_SINGLE.
 
- getSelectedCellsGets the selected cells in the table.- Note: each row returned applies to visible lines in the table, i.e. when hidden or filtered out rows have been removed. - Returns:
- An array of selected cells, never null, but empty array if table is not cell selection enabled.
 
- setSelectedCellsSets the selected cells in the table.- Cells that are no longer part of the table are ignored. - Parameters:
- cells- The array of cells to select.
- Returns:
- true for changed selection, false for no change. false is also returned if the table is not enabled for cell selection or has the selection type set to SELECTION_TYPE_NONE.
 
- setSelectedCellspublic boolean setSelectedCells- (int[] rows, int[] cols) Sets the selected cells in the table.- The - rowsand- colsarrays forms pairs of cell coordinates in the table for the selected cells.- If a column or row index is not part of the table, it is ignored. - Parameters:
- rows- The row indicies.
- cols- The column indicies.
- Returns:
- true for changed selection, false for no change. false is also returned if the table is not enabled for cell selection or has the selection type set to SELECTION_TYPE_NONE.
- Throws:
- IllegalArgumentException- If the- rowsand- colsarrays are not of the same length.
 
- getSelectionListenerHandlerReturns the generic selection listener.- Specified by:
- getSelectionListenerHandlerin interface- IUISelectionComp
- Parameters:
- doCreate- Create the listener handler if it doesn't exist, false not to.
- Returns:
- The selection listener handler, or null if not created.
 
- getSelectionPropAtomReturns the selection property atom for verification of selection changes.- This method is used by the framework in UIComp to fire selection events when the property value changes. - Specified by:
- getSelectionPropAtomin interface- IUISelectionComp
- Returns:
- The atom of the selection property, or null if a selection property is not used.
 
- getOnUISelectionMethodReturns the method to use for onUISelection notifications that is attached to this selection component. The method name is not important, but must have the annotation and signature:- @OnUISelection(name = "some/property")
 public void onUISelection(UISelectionEvent event)- Specified by:
- getOnUISelectionMethodin interface- IUISelectionComp
- Returns:
- The method, or null if none is registered.
 
- isSelectedpublic boolean isSelected()Returns the selection of state of the component.- This method does not apply for cell selection tables. - For a multiple-selection capable component, this indicates any selection, i.e. true is returned as soon as at least one element is selected, false for none. - Specified by:
- isSelectedin interface- IUISelectionComp
- Returns:
- true if the table has at least one row selected, false otherwise.
 
- getSelectionGets the current selection of the component.- Specified by:
- getSelectionin interface- IUISelectionComp
- Returns:
- The current selection as:- For tables with cell selection, an instance of CellSelection
- a SingleIndexSelection
- MultipleIndiciesSelection
 
- For tables with cell selection, an instance of 
 
- clearSelectionClear the selection.- This method does not apply for cell selection tables. - Specified by:
- clearSelectionin interface- IUIIndexedSelectionComp
- Returns:
- null for success, otherwise the error message with the reason why it failed.
 
- getFirstSelectedIndexpublic int getFirstSelectedIndex()Gets the first selected index.- This method does not apply for cell selection tables. - Specified by:
- getFirstSelectedIndexin interface- IUIIndexedSelectionComp
- Specified by:
- getFirstSelectedIndexin interface- IUISingleIndexedSelectionComp
- Returns:
- The first index in the current selection, or -1 for none.
 
- getSelectedIndiciespublic int[] getSelectedIndicies()Gets the selected indicies.- This method does not apply for cell selection tables. - Specified by:
- getSelectedIndiciesin interface- IUIIndexedSelectionComp
- Specified by:
- getSelectedIndiciesin interface- IUISingleIndexedSelectionComp
- Returns:
- A new array of the selected indices (that may be modified to your liking), or a static zero in length array for no selection.
 
- setSelectionSets the selection as a single selected item at specified index.- This method does not apply for cell selection tables. - Specified by:
- setSelectionin interface- IUIIndexedSelectionComp
- Parameters:
- index- The single item to select at index, -1 to clear the selection.
- Returns:
- null for success, otherwise an error message why the selection failed.
 
- setSelectionSets the selection to the specified indicies.- This method does not apply for cell selection tables. - Specified by:
- setSelectionin interface- IUIIndexedSelectionComp
- Specified by:
- setSelectionin interface- IUISingleIndexedSelectionComp
- Parameters:
- indicies- The indicies.
- Returns:
- null for success, otherwise the error message with the reason why it failed.
 
- setSelectionSets the selection.- This method does not apply for cell selection tables. - Specified by:
- setSelectionin interface- IUISelectionComp
- Parameters:
- selection- The selection.
- Returns:
- null if selection is set successfully, otherwise the reason why the selection failed to be set, e.g. "Unsupported selection base" if the selection is indexed for a checkbox that only supports tri-state based selections.
 
- getSelectedIndexpublic int getSelectedIndex()Gets the first selected row index.- This method does not apply for cell selection tables. - Specified by:
- getSelectedIndexin interface- IUISingleIndexedSelectionComp
- Returns:
- The first index in the current selection, or -1 for none.
 
- createCellComboCreates a new combobox table contents to be used in a cell.
- getVSColumnsGets the VS columns for the table.- Returns:
- The array of VS columns for the table. Note that an item in the array may be null if no VS column connection is present!
 
- getVSTableReferenceGets the VirtualSpace table reference for the table.- Returns:
- The VSTableReference, null for none.
 
- getVSTableReferenceOwnerDataGets the table reference owner data for the table column reference.- Specified by:
- getVSTableReferenceOwnerDatain interface- IVSTableColumnReferenceOwner
- Returns:
- The VSReferenceOwnerData instance, always non-null.
 
- getVSTableGets the VSTable for a VSTableColumnReference instance.- Specified by:
- getVSTablein interface- IVSTableColumnReferenceOwner
- Parameters:
- ref- The reference instance, null when property-editing the reference in the Designer.
- Returns:
- The table for the reference, or null if not found.
 
- getVSTableGets the VS table reference of the table.- Returns:
- The VS table connected to this table, null for none.
 
- onResolvedCalled when the property reference has been resolved. UI components use this method to set its state according to the field.- Specified by:
- onResolvedin interface- IVSTableListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- table- The target reference.
 
- onBrokenCalled when the property reference has been broken, i.e. unresolved.- Specified by:
- onBrokenin interface- IVSTableListener
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- table- The target reference.
 
- onStateChangedCalled when the table changes state.- Specified by:
- onStateChangedin interface- IVSTableListener
- Parameters:
- table- The VS table.
- state- The state change.
- on- New state.
 
- onSingleSelectionChangedCalled when the single selection changes.- Specified by:
- onSingleSelectionChangedin interface- IVSTableListener
- Parameters:
- table- The table.
- index- The row index, -1 if table is unselected.
 
- getMappedVSComponentGets the main component that is used to map the UI component to the VirtualSpace.- Overrides:
- getMappedVSComponentin class- UIComp
- Returns:
- The VS component, or null for none. Default is to return the VSField of UIComp. Override e.g. for actions.
 
- onRowAddedCalled when a row is added.- Specified by:
- onRowAddedin interface- IVSTableListener
- Parameters:
- row- The row.
- index- The index.
 
- onRowRemovedCalled when a row is removed.- Specified by:
- onRowRemovedin interface- IVSTableListener
- Parameters:
- row- The row.
- index- The index.
 
- onRowStateChangedCalled when a row selection state changed.- Specified by:
- onRowStateChangedin interface- IVSTableListener
- Parameters:
- row- The row.
- state- The state change.
- on- New state.
 
- onCellStateChangedCalled when the cell changes state.- Specified by:
- onCellStateChangedin interface- IVSTableListener
- Parameters:
- cell- The VS cell.
- state- The state change.
- on- New state.
 
- onCellValueChangedpublic void onCellValueChanged- (VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the cell value is set.- Specified by:
- onCellValueChangedin interface- IVSTableListener
- Parameters:
- cell- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.
 
- setFilterSets the filter instance.- Parameters:
- filter- The instance. If- nulla default filter instance will be used.
- Returns:
- true for changed, false for no change.
 
- getFilterGets the filter instance. If no specific filtering is defined, an instance of the- DefaultTableFilter- Returns:
- The filtering instance, never null.
 
- getFilterTextGets the current filter text.- Returns:
- The filter text, or null for no filtering.
 
- setFilterTextSets the filter text and refreshes the table if required.- Parameters:
- text- The new text for filtering, null or empty string for no filtering.
- Returns:
- true for changed, false for no change.
 
- isFilterCaseSensitivepublic boolean isFilterCaseSensitive()Gets the filter flag for case sensitive.- Returns:
- true for case sensitive matching, false for case insensitive (default).
 
- setFilterCaseSensitivepublic boolean setFilterCaseSensitive- (boolean on) Sets the filter flag for case sensitive and refreshes the table if required.- Parameters:
- on- true for case sensitive filtering, false for case insensitive.
- Returns:
- true for changed, false for no change.
 
- getFilterOperationGets the operation for filtering.- Returns:
- The filtering operation.
 
- setFilterOperationSets the operation for filtering and refreshes the table if required.- Parameters:
- op- The new operation.
- Returns:
- true if changed, false otherwise.
- Throws:
- NullPointerException- if- opis null.
 
- getBestVSFieldValueTypeRequests the value type that would best suit the listener.- Specified by:
- getBestVSFieldValueTypein interface- IVSFieldListener
- Overrides:
- getBestVSFieldValueTypein class- UIComp
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- Returns:
- null if none is available.
 
- onResolvedCalled when the property reference has been resolved. UI components use this method to set its state according to the field, this is handled in by the- UICompclass.- Components must override to provide the implementation for e.g. value contents, styles, etc. - Specified by:
- onResolvedin interface- IVSFieldListener
- Overrides:
- onResolvedin class- UIComp
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
- onBrokenCalled when the property reference has been broken, i.e. unresolved.- Specified by:
- onBrokenin interface- IVSFieldListener
- Overrides:
- onBrokenin class- UIComp
- Parameters:
- reference- The VSRelativeReference instance holding the reference.
- field- The target reference.
 
- onValueChangedpublic void onValueChanged- (VSField field, Value value, GProp<?> trigger, IPostEventProcessing postProcessing) Called when the field value is set.- Components must override to provide the implementation when they are not implementing IPlainTextComponent, in this case the default implementation transports the field string value to this text components plain text. - Specified by:
- onValueChangedin interface- IVSFieldListener
- Overrides:
- onValueChangedin class- UIComp
- Parameters:
- field- The VS field.
- value- The value, never null, but- value.isNull()could be true.
- trigger- The trigger property that may be null.
- postProcessing- Post-processing instance.
 
- setContentProviderSets a custom content provider and initializes it if required.- Parameters:
- provider- The content provider, or null for a new instance of a- DefaultTableContentProvider
- Returns:
- true for changed, false for no change.
 
- getContentProviderGets the custom table content provider and initializes it if required.- Returns:
- The custom table content provider, never null.
 
- refreshTableRequests a refresh of the entire table.- This method is called e.g. when a new column is added to rebuild the table contents. Be careful when calling this method as it may cause a lot of processing at a later stage, triggering new contents to be sent to the client side. The table is not refreshed upon returning from the call, it is done at a later stage. - Parameters:
- dirty- The dirty flags.
- reason- The reason string for debug purposes.
 
- updateTableprotected void updateTable()Called to update the table if required with new data. The method does nothing if e.g. a call to- refreshTable(int,String)hasn't been called.
- onPrepareCalled to resolve methods for the component from main "onPrepare" once the ClassReference has been found.- Components should override this method to load it's required methods.