com.github.bordertech.wcomponents.Option Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wcomponents-core Show documentation
Show all versions of wcomponents-core Show documentation
Core server-side WComponents.
package com.github.bordertech.wcomponents;
/**
* Describes an option in a list-type control, e.g. {@link WDropdown}, {@link WMultiSelect} etc.
*
* @author Yiannis Paschalidis
* @since 1.0.0
*/
public interface Option {
/**
* @return the code for this option.
*/
String getCode();
/**
* @return the textual description of this option.
*/
String getDesc();
}