Package apple.uikit.protocol
Interface UIFocusItemScrollableContainer
-
- All Superinterfaces:
UIFocusItemContainer
- All Known Implementing Classes:
PKCanvasView,UICollectionView,UIScrollView,UITableView,UITextView
public interface UIFocusItemScrollableContainer extends UIFocusItemContainer
Objects conforming to UIFocusItemScrollableContainer are updated accordingly to ensure the focused item remains visible on the screen.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CGPointcontentOffset()The current content offset of this scrollable container.CGSizecontentSize()The total size of the content contained by this container.voidsetContentOffset(CGPoint value)The current content offset of this scrollable container.CGSizevisibleSize()The visible size of this scrollable container.-
Methods inherited from interface apple.uikit.protocol.UIFocusItemContainer
coordinateSpace, focusItemsInRect
-
-
-
-
Method Detail
-
contentOffset
CGPoint contentOffset()
The current content offset of this scrollable container. If the scrollable container has a `bounds` property, `bounds.origin` must be equal to `contentOffset`.
-
contentSize
CGSize contentSize()
The total size of the content contained by this container. If this size exceeds the size of this container's visible size, then scrolling is possible.
-
setContentOffset
void setContentOffset(CGPoint value)
The current content offset of this scrollable container. If the scrollable container has a `bounds` property, `bounds.origin` must be equal to `contentOffset`.
-
visibleSize
CGSize visibleSize()
The visible size of this scrollable container.
-
-