Package org.dwcj.interfaces
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 TypeMethodDescriptiongetId()Returns the control's IDgetUserData(String key) Allows user to fetch extraneous, user-included information from the controlAssigns the ID of a controlsetUserData(String key, Object data) Allows user to include extraneous information in the control
-
Method Details
-
getId
String getId()Returns the control's ID- Returns:
- Control's ID
-
setId
Assigns the ID of a control- Parameters:
elementId- Desired ID designation- Returns:
- The control itself
-
getUserData
Allows user to fetch extraneous, user-included information from the control- Parameters:
key-- Returns:
- Desired piece of user data
-
setUserData
Allows user to include extraneous information in the control- Parameters:
key- Key of the datadata- Desired piece of information- Returns:
- The control itself
-