Package com.vaadin.event
Interface ContextClickEvent.ContextClickNotifier
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbsoluteLayout,AbstractColorPicker,AbstractComponent,AbstractComponentContainer,AbstractEmbedded,AbstractField,AbstractFocusable,AbstractJavaScriptComponent,AbstractLayout,AbstractMedia,AbstractOrderedLayout,AbstractSelect,AbstractSingleComponentContainer,AbstractSplitPanel,AbstractTextField,Accordion,Audio,BrowserFrame,Button,Calendar,CheckBox,ColorPicker,ColorPickerArea,ColorPickerGradient,ColorPickerGrid,ColorPickerHistory,ColorPickerPopup,ColorPickerPreview,ColorPickerSelect,ComboBox,CssLayout,CustomComponent,CustomField,CustomLayout,DateField,DragAndDropWrapper,Embedded,Flash,Form,FormLayout,Grid,GridLayout,HorizontalLayout,HorizontalSplitPanel,Image,InlineDateField,Label,LegacyWindow,Link,ListSelect,LoginForm,MenuBar,NativeButton,NativeSelect,Navigator.EmptyView,OptionGroup,Panel,PasswordField,PopupDateField,PopupView,ProgressBar,ProgressIndicator,RichTextArea,Select,Slider,Table,TabSheet,TextArea,TextField,Tree,TreeTable,TwinColSelect,UI,Upload,VerticalLayout,VerticalSplitPanel,Video,Window
- Enclosing class:
- ContextClickEvent
public static interface ContextClickEvent.ContextClickNotifier extends Serializable
The interface for adding and removing listeners forContextClickEvents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContextClickListener(ContextClickEvent.ContextClickListener listener)Adds a context click listener that gets notified when a context click happens.voidremoveContextClickListener(ContextClickEvent.ContextClickListener listener)Removes a context click listener that was previously added withaddContextClickListener(ContextClickListener).
-
-
-
Method Detail
-
addContextClickListener
void addContextClickListener(ContextClickEvent.ContextClickListener listener)
Adds a context click listener that gets notified when a context click happens.- Parameters:
listener- the context click listener to add
-
removeContextClickListener
void removeContextClickListener(ContextClickEvent.ContextClickListener listener)
Removes a context click listener that was previously added withaddContextClickListener(ContextClickListener).- Parameters:
listener- the context click listener to remove
-
-