Package com.jbstrap.ui
Interface CanDrop<T extends Component<?>>
- Type Parameters:
T
- The component type
- All Known Implementing Classes:
ActivityStream
,ActivityStreamItem
,Badge
,BaseLoginPage
,BasePage
,Blockquote
,Breadcrumb
,Button
,CheckboxItem
,CodeViewer
,ColorPicker
,ComboboxItem
,Container
,DatePicker
,DateRangePicker
,DropDownButton
,DualListBox
,FileItem
,FileMiniature
,Form
,Header
,HorizontalSplitter
,IBox
,Image
,IntegerItem
,Link
,ListBox
,ListGrid
,ListItem
,LoadButton
,MenuBar
,NavBarItem
,NumberItem
,Paragraph
,PasswordItem
,ProgressBar
,RadioButtonItem
,Row
,SelectorItem
,Small
,Span
,Sparkline
,StaticTextItem
,SwitchItem
,Tab
,Table
,TableCell
,TableHeader
,TableRow
,TabPage
,TextFilter
,TextItem
,Timeline
,TimelineItem
,Toolbar
,Treeview
,TreeviewNode
,UI.RootLayout
,VerticalSplitter
,Wizard
,WizardStep
public interface CanDrop<T extends Component<?>>
Droppable components
Components that implement this interface can handle other components being dropped on them. The interface provides the drop event handler.
- Since:
- 4.0
- Author:
- JBStrap
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
addDropEventHandler
(DropEventHandler handler) Adds a drop event handler to the component.
-
Method Details
-
addDropEventHandler
Adds a drop event handler to the component. The handler will be executed, when the user drops a component, on the base component.- Parameters:
handler
- TheDropEventHandler
implementation.- Returns:
- The component
- See Also:
-