Class WTable.WTableComponentModel
- java.lang.Object
-
- com.github.bordertech.wcomponents.ComponentModel
-
- com.github.bordertech.wcomponents.DataBoundComponentModel
-
- com.github.bordertech.wcomponents.BeanAndProviderBoundComponentModel
-
- com.github.bordertech.wcomponents.WTable.WTableComponentModel
-
- All Implemented Interfaces:
WebModel
,Externalizable
,Serializable
- Enclosing class:
- WTable
public static final class WTable.WTableComponentModel extends BeanAndProviderBoundComponentModel
Contains the table's UI state.- Since:
- 1.0.0
- Author:
- Jonathan Austin
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.github.bordertech.wcomponents.ComponentModel
DISABLED_FLAG, ENCODE_TEXT_FLAG, FLAGS_DEFAULT, HIDE_FLAG, INITIALISED_FLAG, MANDATORY_FLAG, NAMING_CONTEXT_FLAG, READONLY_FLAG, SUBMIT_ON_CHANGE_FLAG, TRACKABLE_FLAG, USER_DATA_SET, VALIDATE_FLAG, VISIBLE_FLAG
-
-
Constructor Summary
Constructors Constructor Description WTableComponentModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addActionConstraint(WButton button, WTable.ActionConstraint constraint)
Adds a constraint to the list of constraints for the given button.-
Methods inherited from class com.github.bordertech.wcomponents.BeanAndProviderBoundComponentModel
getBean, getBeanId, getBeanProperty, getBeanProvider, isSearchAncestors, setBean, setBeanId, setBeanProperty, setBeanProvider, setSearchAncestors
-
Methods inherited from class com.github.bordertech.wcomponents.DataBoundComponentModel
getData, resetData, setData
-
Methods inherited from class com.github.bordertech.wcomponents.ComponentModel
addHtmlClass, addHtmlClass, copyData, equals, getAccessibleText, getAttribute, getAttributes, getChildren, getContextIds, getFlags, getHtmlClass, getHtmlClasses, getIdName, getLabel, getParent, getSharedModel, getTag, getTemplateMarkUp, getTemplateUrl, getToolTip, hashCode, readExternal, removeAttribute, removeHtmlClass, removeHtmlClass, setAccessibleText, setAttribute, setAttributes, setChildren, setContextIds, setFlags, setHtmlClass, setHtmlClass, setIdName, setLabel, setParent, setSharedModel, setTag, setTemplateMarkUp, setTemplateUrl, setToolTip, writeExternal
-
-
-
-
Method Detail
-
addActionConstraint
public void addActionConstraint(WButton button, WTable.ActionConstraint constraint)
Adds a constraint to the list of constraints for the given button.- Parameters:
button
- the button to add the constraint for.constraint
- the constraint to add.
-
-