Package org.primefaces.component.api
Interface TouchAware
- All Known Implementing Classes:
Calendar,CalendarBase,Carousel,CarouselBase,ContextMenu,ContextMenuBase,DataGrid,DataGridBase,DataList,DataListBase,DataTable,DataTableBase,DataView,DataViewBase,DatePicker,DatePickerBase,SelectOneMenu,SelectOneMenuBase,Slider,SliderBase,TabView,TabViewBase,UICalendar,UIPageableData
public interface TouchAware
Even though touch support is detected in the browser a developer may wish
to turn it off globally or per component that supports touch.
-
Method Summary
Modifier and TypeMethodDescriptionIs this component touch enabled?voidsetTouchable(Boolean touchable) Enable/disable touch support for this component.
-
Method Details
-
isTouchable
Boolean isTouchable()Is this component touch enabled?- Returns:
- false to disable
-
setTouchable
Enable/disable touch support for this component.- Parameters:
touchable- true for touch support
-