Interface Control

All Known Implementing Classes:
AbstractControl, 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 Control
Interface used to include all common properties of new controls/components that will be added to the engine, but exclude some of the more specific properties not common across every control.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the control's ID
    Allows user to fetch extraneous, user-included information from the control
    setId(String elementId)
    Assigns the ID of a control
    Allows user to include extraneous information in the control
  • Method Details

    • getId

      String getId()
      Returns the control's ID
      Returns:
      Control's ID
    • setId

      Control setId(String elementId)
      Assigns the ID of a control
      Parameters:
      elementId - Desired ID designation
      Returns:
      The control itself
    • getUserData

      Object getUserData(String key)
      Allows user to fetch extraneous, user-included information from the control
      Parameters:
      key -
      Returns:
      Desired piece of user data
    • setUserData

      Control setUserData(String key, Object data)
      Allows user to include extraneous information in the control
      Parameters:
      key - Key of the data
      data - Desired piece of information
      Returns:
      The control itself