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 Type
    Method
    Description
    addClassName(String className)
    Adds a CSS class to the list of CSS classes for the control.
    Removes a CSS class from the list of CSS classes for the control.
  • Method Details

    • addClassName

      HasClassName addClassName(String className)
      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

      HasClassName removeClassName(String className)
      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