java.lang.Object | ||
↳ | net.pierrox.lightning_launcher.script.api.Item | |
↳ | net.pierrox.lightning_launcher.script.api.CustomView |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean |
getHorizontalGrab()
Return the current horizontal grab setting.
| ||||||||||
boolean |
getVerticalGrab()
Return the current vertical grab setting.
| ||||||||||
View |
getView()
Provides the view which has been built by the create script
| ||||||||||
void |
setHorizontalGrab(boolean grab)
Specify whether this view grabs events in the horizontal direction
Grabbing will prevent the container to scroll.
| ||||||||||
void |
setVerticalGrab(boolean grab)
Specify whether this view grabs events in the vertical direction.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
net.pierrox.lightning_launcher.script.api.Item
| |||||||||||
From class
java.lang.Object
|
Return the current horizontal grab setting. Default is off.
Return the current vertical grab setting. Default is off.
Provides the view which has been built by the create script
Specify whether this view grabs events in the horizontal direction Grabbing will prevent the container to scroll. This behavior is needed when the custom view contains scrollable components (a seek bar, a scroll view)
grab | whether to grab events in the horizontal direction |
---|
Specify whether this view grabs events in the vertical direction. Grabbing will prevent the container to scroll. This behavior is needed when the custom view contains scrollable components (a list view, a scroll view, etc.)
grab | whether to grab events in the vertical direction |
---|