Package org.robovm.apple.carplay
Class CPListTemplate
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.carplay.CPTemplate
-
- org.robovm.apple.carplay.CPListTemplate
-
- All Implemented Interfaces:
CPBarButtonProviding
,NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CPListTemplate extends CPTemplate implements CPBarButtonProviding
- Since:
- Available in iOS 12.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CPListTemplate.CPListTemplatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.carplay.CPTemplate
CPTemplate.CPTemplatePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CPListTemplate()
CPListTemplate(java.lang.String title, NSArray<CPListSection> sections)
protected
CPListTemplate(NSObject.Handle h, long handle)
protected
CPListTemplate(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPBarButton
getBackButton()
CPListTemplateDelegate
getDelegate()
NSArray<CPBarButton>
getLeadingNavigationBarButtons()
NSArray<CPListSection>
getSections()
java.lang.String
getTitle()
NSArray<CPBarButton>
getTrailingNavigationBarButtons()
protected long
init(java.lang.String title, NSArray<CPListSection> sections)
void
setBackButton(CPBarButton v)
void
setDelegate(CPListTemplateDelegate v)
void
setLeadingNavigationBarButtons(NSArray<CPBarButton> v)
void
setTrailingNavigationBarButtons(NSArray<CPBarButton> v)
void
updateSections(NSArray<CPListSection> sections)
-
Methods inherited from class org.robovm.apple.carplay.CPTemplate
encode, getUserInfo, init, setUserInfo, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CPListTemplate
protected CPListTemplate()
-
CPListTemplate
protected CPListTemplate(NSObject.Handle h, long handle)
-
CPListTemplate
protected CPListTemplate(NSObject.SkipInit skipInit)
-
CPListTemplate
public CPListTemplate(java.lang.String title, NSArray<CPListSection> sections)
-
-
Method Detail
-
getDelegate
public CPListTemplateDelegate getDelegate()
-
setDelegate
public void setDelegate(CPListTemplateDelegate v)
-
getSections
public NSArray<CPListSection> getSections()
-
getTitle
public java.lang.String getTitle()
-
getLeadingNavigationBarButtons
public NSArray<CPBarButton> getLeadingNavigationBarButtons()
- Specified by:
getLeadingNavigationBarButtons
in interfaceCPBarButtonProviding
-
setLeadingNavigationBarButtons
public void setLeadingNavigationBarButtons(NSArray<CPBarButton> v)
- Specified by:
setLeadingNavigationBarButtons
in interfaceCPBarButtonProviding
-
getTrailingNavigationBarButtons
public NSArray<CPBarButton> getTrailingNavigationBarButtons()
- Specified by:
getTrailingNavigationBarButtons
in interfaceCPBarButtonProviding
-
setTrailingNavigationBarButtons
public void setTrailingNavigationBarButtons(NSArray<CPBarButton> v)
- Specified by:
setTrailingNavigationBarButtons
in interfaceCPBarButtonProviding
-
getBackButton
public CPBarButton getBackButton()
- Specified by:
getBackButton
in interfaceCPBarButtonProviding
-
setBackButton
public void setBackButton(CPBarButton v)
- Specified by:
setBackButton
in interfaceCPBarButtonProviding
-
init
protected long init(java.lang.String title, NSArray<CPListSection> sections)
-
updateSections
public void updateSections(NSArray<CPListSection> sections)
-
-