Package org.dwcj.interfaces
Interface HasClassName
- All Known Implementing Classes:
AbstractDwcControl,AbstractDwcjPanel,AbstractDwclistControl,AppPanel,BBjPanelAdapter,Button,CheckableMenuItem,CheckBox,ColorPicker,ComboBox,DateEditBox,Div,FileChooser,FontChooser,GridExWidget,HtmlContainer,HtmlEdit,ImageControl,Label,ListBox,MenuButton,MenuItem,Navigator,NumericBox,NumericBoxSpinner,OpenFileDialog,PopupMenu,PrintPreview,ProgressBar,RadioButton,ScrollBar,Slider,StringEditBox,TabControl,TextArea,TextBox,TextComboBox,TreeView
public interface HasClassName
Interface facilitating implementation of behavior to add or remove a
CSS class to a control
-
Method Summary
Modifier and TypeMethodDescriptionaddClassName(String className) Adds a CSS class to the list of CSS classes for the control.removeClassName(String className) Removes a CSS class from the list of CSS classes for the control.
-
Method Details
-
addClassName
Adds a CSS class to the list of CSS classes for the control.- Parameters:
String- name of the desired class to be added- Returns:
- The control itself
-
removeClassName
Removes a CSS class from the list of CSS classes for the control.- Parameters:
String- name of the desired class to be removed- Returns:
- The control itself
-