Package org.robovm.apple.uikit
Class UIViewConfigurationState
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIViewConfigurationState
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,UIConfigurationState,ObjCProtocol
- Direct Known Subclasses:
UICellConfigurationState
public class UIViewConfigurationState extends NSObject implements UIConfigurationState
- Since:
- Available in iOS 14.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIViewConfigurationState.UIViewConfigurationStatePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIViewConfigurationState()UIViewConfigurationState(NSCoder coder)protectedUIViewConfigurationState(NSObject.Handle h, long handle)protectedUIViewConfigurationState(NSObject.SkipInit skipInit)UIViewConfigurationState(UITraitCollection traitCollection) -
Method Summary
Modifier and Type Method Description NSObjectcustomStateForKey(String key)voidencode(NSCoder coder)UITraitCollectiongetTraitCollection()protected longinit(NSCoder coder)protected longinit(UITraitCollection traitCollection)booleanisDisabled()booleanisFocused()booleanisHighlighted()booleanisPinned()booleanisSelected()NSObjectobjectForKeyedSubscript(String key)voidsetCustomState(NSObject customState, String key)voidsetDisabled(boolean v)voidsetFocused(boolean v)voidsetHighlighted(boolean v)voidsetObject(NSObject obj, String key)voidsetPinned(boolean v)voidsetSelected(boolean v)voidsetTraitCollection(UITraitCollection v)static booleansupportsSecureCoding()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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
UIViewConfigurationState
protected UIViewConfigurationState() -
UIViewConfigurationState
-
UIViewConfigurationState
-
UIViewConfigurationState
-
UIViewConfigurationState
-
-
Method Details
-
getTraitCollection
- Specified by:
getTraitCollectionin interfaceUIConfigurationState
-
setTraitCollection
- Specified by:
setTraitCollectionin interfaceUIConfigurationState
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean v) -
isHighlighted
public boolean isHighlighted() -
setHighlighted
public void setHighlighted(boolean v) -
isSelected
public boolean isSelected() -
setSelected
public void setSelected(boolean v) -
isFocused
public boolean isFocused() -
setFocused
public void setFocused(boolean v) -
isPinned
public boolean isPinned()- Since:
- Available in iOS 15.0 and later.
-
setPinned
public void setPinned(boolean v)- Since:
- Available in iOS 15.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
init
-
init
-
customStateForKey
- Specified by:
customStateForKeyin interfaceUIConfigurationState
-
setCustomState
- Specified by:
setCustomStatein interfaceUIConfigurationState
-
objectForKeyedSubscript
- Specified by:
objectForKeyedSubscriptin interfaceUIConfigurationState
-
setObject
- Specified by:
setObjectin interfaceUIConfigurationState
-
encode
-