Class WTableRepeater
- java.lang.Object
-
- com.github.bordertech.wcomponents.AbstractWComponent
-
- com.github.bordertech.wcomponents.WBeanComponent
-
- com.github.bordertech.wcomponents.WRepeater
-
- com.github.bordertech.wcomponents.WTableRepeater
-
- All Implemented Interfaces:
AjaxTarget
,BeanAware
,BeanBound
,BeanProviderBound
,Container
,DataBound
,NamingContextable
,WComponent
,WebComponent
,Serializable
@Deprecated public class WTableRepeater extends WRepeater
Deprecated.UseWTable
instead.This repeater extension is necessary to ensure that tree-tables are painted correctly.- Since:
- 1.0.0
- Author:
- Yiannis Paschalidis
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.bordertech.wcomponents.WRepeater
WRepeater.RepeaterModel, WRepeater.SubUIContext, WRepeater.WRepeatRoot
-
Nested classes/interfaces inherited from class com.github.bordertech.wcomponents.AbstractWComponent
AbstractWComponent.WComponentRef
-
-
Field Summary
-
Fields inherited from interface com.github.bordertech.wcomponents.WComponent
DEFAULT_APPLICATION_ID, DEFAULT_INTERNAL_ID, DEFAULT_NO_ID, ID_CONTEXT_SEPERATOR, ID_FRAMEWORK_ASSIGNED_SEPERATOR, ID_VALIDATION_PATTERN
-
-
Constructor Summary
Constructors Constructor Description WTableRepeater(WDataTable table)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getId()
Deprecated.Return an identifier for this component, generating one if necessary.String
getIdName()
Deprecated.protected void
paintComponent(RenderContext renderContext)
Deprecated.Override paintComponent, as the table renderer does all the work.-
Methods inherited from class com.github.bordertech.wcomponents.WRepeater
cleanupStaleContexts, clearScratchMaps, getBeanList, getChildAt, getChildCount, getChildren, getComponentModel, getIndexOfChild, getNamingContextId, getOrCreateComponentModel, getRepeatedComponent, getRepeatedComponent, getRepeatRoot, getRowBeanForSubcontext, getRowContext, getRowContext, getRowContexts, getRowId, getRowIdName, handleRequest, isNamingContext, newComponentModel, preparePaintComponent, prepareRow, setBeanList, setData, setNamingContext, setRepeatedComponent, setRowIdProperty, showErrorIndicators, tidyUpUIContext, toString, updateBeanValue, validate
-
Methods inherited from class com.github.bordertech.wcomponents.WBeanComponent
addBeanToScratchMap, doUpdateBeanValue, getBean, getBeanFromScratchMap, getBeanId, getBeanProperty, getBeanProvider, getBeanScratchMap, getBeanValue, getData, isBeanInScratchMap, isChanged, isSearchAncestors, isUseRequestScopeScratchMap, removeBeanFromScratchMap, resetData, setBean, setBeanId, setBeanProperty, setBeanProvider, setSearchAncestors
-
Methods inherited from class com.github.bordertech.wcomponents.AbstractWComponent
addHtmlClass, addHtmlClass, addNotify, afterPaint, assertAddSupported, beforePaint, createErrorDiagnostic, createErrorDiagnostic, forward, getAccessibleText, getAttribute, getBaseUrl, getDefaultModel, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getInternalId, getLabel, getName, getParent, getScratchMap, getTabIndex, getTag, getTemplate, getTemplateMarkUp, getToolTip, hasNoComponentModel, hasTabIndex, initialiseComponentModel, invokeLater, invokeLaters, isDebugStructure, isDefaultState, isFlagSet, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, preparePaint, removeAttribute, removeComponentModel, removeHtmlClass, removeHtmlClass, removeNotify, replaceWComponent, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFlag, setFocussed, setHidden, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showErrorIndicatorsForComponent, showWarningIndicators, showWarningIndicatorsForComponent, tidyUpUIContextForTree, validateComponent, writeReplace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.bordertech.wcomponents.WComponent
addHtmlClass, addHtmlClass, forward, getAccessibleText, getAttribute, getBaseUrl, getEnvironment, getHeaders, getHtmlClass, getHtmlClasses, getInternalId, getLabel, getName, getParent, getTabIndex, getTag, getToolTip, hasTabIndex, invokeLater, isDefaultState, isHidden, isInitialised, isLocked, isTracking, isTrackingEnabled, isValidate, isVisible, paint, preparePaint, removeAttribute, removeHtmlClass, removeHtmlClass, reset, serviceRequest, setAccessibleText, setAttribute, setEnvironment, setFocussed, setHtmlClass, setHtmlClass, setIdName, setInitialised, setLocked, setTag, setToolTip, setTrackingEnabled, setValidate, setVisible, showWarningIndicators, tidyUpUIContextForTree
-
-
-
-
Constructor Detail
-
WTableRepeater
public WTableRepeater(WDataTable table)
Deprecated.- Parameters:
table
- the parent table.
-
-
Method Detail
-
paintComponent
protected void paintComponent(RenderContext renderContext)
Deprecated.Override paintComponent, as the table renderer does all the work.- Overrides:
paintComponent
in classAbstractWComponent
- Parameters:
renderContext
- the RenderContext to send output to.
-
getId
public String getId()
Deprecated.Return an identifier for this component, generating one if necessary.The implementation must follow these steps in determining the Id:
If has id name set:- Find the closest ancestor to this component in the tree hierarchy that is an active
NamingContextable
. - If no context found, then let the ID be the idname.
- If a context found, then let the ID be
NamingContextable.getNamingContextId()
+WComponent.ID_CONTEXT_SEPERATOR
+ id name.
- If the component's parent is null, then let the ID be
WComponent.DEFAULT_NO_ID
. - If has a parent, then let the ID prefix be parent.getId() or parent.getNamingContextID() +
WComponent.ID_CONTEXT_SEPERATOR
if the parent is an active NamingContext. Then let the ID be prefix + generate unique id.
- Specified by:
getId
in interfaceWComponent
- Specified by:
getId
in interfaceWebComponent
- Overrides:
getId
in classAbstractWComponent
- Returns:
- the id for this WComponent in the current context.
- Find the closest ancestor to this component in the tree hierarchy that is an active
-
getIdName
public String getIdName()
Deprecated.- Specified by:
getIdName
in interfaceWComponent
- Overrides:
getIdName
in classAbstractWComponent
- Returns:
- the component identifier of this Component (if any).
-
-