Class WDropdown.DropdownModel
- java.lang.Object
-
- com.github.bordertech.wcomponents.ComponentModel
-
- com.github.bordertech.wcomponents.DataBoundComponentModel
-
- com.github.bordertech.wcomponents.BeanAndProviderBoundComponentModel
-
- com.github.bordertech.wcomponents.AbstractInput.InputModel
-
- com.github.bordertech.wcomponents.AbstractWSelectList.SelectionModel
-
- com.github.bordertech.wcomponents.WDropdown.DropdownModel
-
- All Implemented Interfaces:
WebModel
,Externalizable
,Serializable
- Enclosing class:
- WDropdown
public static class WDropdown.DropdownModel extends AbstractWSelectList.SelectionModel
Holds the extrinsic state information of the drop down.- 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 DropdownModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOptionWidth()
WDropdown.DropdownType
getType()
void
setOptionWidth(int optionWidth)
void
setType(WDropdown.DropdownType type)
-
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
-
setType
public void setType(WDropdown.DropdownType type)
- Parameters:
type
- the drop down type.
-
getType
public WDropdown.DropdownType getType()
- Returns:
- the drop down type.
-
setOptionWidth
public void setOptionWidth(int optionWidth)
- Parameters:
optionWidth
- the option width.
-
getOptionWidth
public int getOptionWidth()
- Returns:
- the option width.
-
-