public class SKNode extends UIResponder implements NSCopying, NSSecureCoding, UIFocusItem
| Modifier and Type | Class and Description |
|---|---|
static interface |
SKNode.Block_enumerateChildNodesWithNameUsingBlock |
static interface |
SKNode.Block_runActionCompletion |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_retUIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler| Modifier | Constructor and Description |
|---|---|
protected |
SKNode(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
SKAction |
actionForKey(java.lang.String key) |
void |
addChild(SKNode node)
Adds a node as a child node of this node
|
static SKNode |
alloc() |
static SKNode |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
double |
alpha()
Alpha of this node (multiplied by the output color to give the final result)
|
NSDictionary<java.lang.String,? extends SKAttributeValue> |
attributeValues()
Optional dictionary of SKAttributeValues
Attributes can be used with custom SKShaders.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
CGRect |
calculateAccumulatedFrame()
Calculates the bounding box including all child nodes in parents coordinate system.
|
boolean |
canBecomeFocused()
Indicates whether or not this item is currently allowed to become focused.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
SKNode |
childNodeWithName(java.lang.String name) |
NSArray<? extends SKNode> |
children()
The children of this node.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static void |
clearTextInputContextIdentifier(java.lang.String identifier) |
NSArray<? extends SKConstraint> |
constraints()
Optional array of SKConstraints
Constraints are evaluated each frame after actions and physics.
|
boolean |
containsPoint(CGPoint p) |
CGPoint |
convertPointFromNode(CGPoint point,
SKNode node) |
CGPoint |
convertPointToNode(CGPoint point,
SKNode node) |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
didHintFocusMovement(UIFocusMovementHint hint)
Called whenever this focus item is hinting to the user a focus movement might occur.
|
void |
didUpdateFocusInContextWithAnimationCoordinator(UIFocusUpdateContext context,
UIFocusAnimationCoordinator coordinator)
Called when the screen’s focused item has been updated to a new item.
|
void |
encodeWithCoder(NSCoder coder) |
GKEntity |
entity()
The GKEntity associated with the node via a GKSKNodeComponent.
|
void |
enumerateChildNodesWithNameUsingBlock(java.lang.String name,
SKNode.Block_enumerateChildNodesWithNameUsingBlock block) |
long |
focusBehavior()
Determines how this node participates in the focus system.
|
UIFocusEffect |
focusEffect()
Describes a visual effect to apply when this item is focused.
|
java.lang.String |
focusGroupIdentifier()
The identifier of the focus group that this view belongs to.
|
long |
focusGroupPriority()
The priority this item has in its focus group.
|
UIFocusItemContainer |
focusItemContainer()
The container of any child focus items in this focus environment, or nil if no container exists.
|
CGRect |
frame()
The geometric frame of this item, represented in the `coordinateSpace` of the UIFocusItemContainer in which it is contained.
|
boolean |
hasActions() |
static long |
hash_static() |
SKNode |
init() |
SKNode |
initWithCoder(NSCoder aDecoder)
NS_DESIGNATED_INITIALIZER
|
boolean |
inParentHierarchy(SKNode parent)
Returns true if the specified parent is in this node's chain of parents
|
void |
insertChildAtIndex(SKNode node,
long index) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
intersectsNode(SKNode node)
Returns true if the bounds of this node intersects with the transformed bounds of the other node, otherwise false
|
boolean |
isEqualToNode(SKNode node)
Returns true if this node has equivalent content to the other object, otherwise false
|
boolean |
isHidden()
Controls whether or not the node and its children are rendered.
|
boolean |
isPaused()
Controls whether or not the node's actions is updated or paused.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
boolean |
isTransparentFocusItem()
If this returns YES, the focus item is considered transparent in terms of occlusion.
|
boolean |
isUserInteractionEnabled()
Controls whether or not the node receives touch events
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
void |
moveToParent(SKNode parent) |
java.lang.String |
name()
The client assignable name.
|
static SKNode |
new_objc() |
static SKNode |
node() |
SKNode |
nodeAtPoint(CGPoint p)
Returns the node itself or a child node at the point given.
|
NSArray<? extends SKNode> |
nodesAtPoint(CGPoint p) |
static SKNode |
nodeWithFileNamed(java.lang.String filename) |
static SKNode |
nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename,
NSSet<? extends org.moe.natj.objc.Class> classes,
org.moe.natj.general.ptr.Ptr<NSError> error) |
NSArray<? extends SKNode> |
objectForKeyedSubscript(java.lang.String name)
Simplified shorthand for enumerateChildNodesWithName that returns an array of the matching nodes.
|
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)
Returns an array of GKPolygonObstacles from a group of SKNode's transformed bounds in scene space.
|
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)
Returns an array of GKPolygonObstacles from a group of SKNode's physics bodies in scene space.
|
static NSArray<? extends GKPolygonObstacle> |
obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites,
float accuracy)
Returns an array of GKPolygonObstacles from a group of SKSpriteNode's textures in scene space.
|
SKNode |
parent()
The parent of the node.
|
UIFocusEnvironment |
parentFocusEnvironment()
The parent focus environment of this environment, or nil if no parent exists.
|
SKPhysicsBody |
physicsBody()
Physics body attached to the node, with synchronized scale, rotation, and position
|
CGPoint |
position()
The position of the node in the parent's coordinate system
|
UIView |
preferredFocusedView() |
NSArray<?> |
preferredFocusEnvironments()
The preferred focus environments define where to search for the default focused item in an environment, such as when focus updates programmatically.
|
SKReachConstraints |
reachConstraints()
Kinematic constraints, used in IK solving
|
void |
removeActionForKey(java.lang.String key) |
void |
removeAllActions() |
void |
removeAllChildren() |
void |
removeChildrenInArray(NSArray<? extends SKNode> nodes) |
void |
removeFromParent() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
runAction(SKAction action) |
void |
runActionCompletion(SKAction action,
SKNode.Block_runActionCompletion block) |
void |
runActionWithKey(SKAction action,
java.lang.String key) |
SKScene |
scene()
The scene that the node is currently in.
|
void |
setAlpha(double value)
Alpha of this node (multiplied by the output color to give the final result)
|
void |
setAttributeValues(NSDictionary<java.lang.String,? extends SKAttributeValue> value)
Optional dictionary of SKAttributeValues
Attributes can be used with custom SKShaders.
|
void |
setConstraints(NSArray<? extends SKConstraint> value)
Optional array of SKConstraints
Constraints are evaluated each frame after actions and physics.
|
void |
setEntity_unsafe(GKEntity value)
The GKEntity associated with the node via a GKSKNodeComponent.
|
void |
setEntity(GKEntity value)
The GKEntity associated with the node via a GKSKNodeComponent.
|
void |
setFocusBehavior(long value)
Determines how this node participates in the focus system.
|
void |
setHidden(boolean value)
Controls whether or not the node and its children are rendered.
|
void |
setName(java.lang.String value)
The client assignable name.
|
void |
setNeedsFocusUpdate()
Marks this environment as needing a focus update, which if accepted will attempt to reset focus to this environment, or one of its preferred focus environments, on the next update cycle.
|
void |
setPaused(boolean value)
Controls whether or not the node's actions is updated or paused.
|
void |
setPhysicsBody(SKPhysicsBody value)
Physics body attached to the node, with synchronized scale, rotation, and position
|
void |
setPosition(CGPoint value)
The position of the node in the parent's coordinate system
|
void |
setReachConstraints(SKReachConstraints value)
Kinematic constraints, used in IK solving
|
void |
setScale(double scale)
Sets both the x & y scale
|
void |
setSpeed(double value)
The speed multiplier applied to all actions run on this node.
|
void |
setUserData(NSMutableDictionary<?,?> value)
An optional dictionary that can be used to store your own data in a node.
|
void |
setUserInteractionEnabled(boolean value)
Controls whether or not the node receives touch events
|
void |
setValueForAttributeNamed(SKAttributeValue value,
java.lang.String key) |
static void |
setVersion_static(long aVersion) |
void |
setXScale(double value)
The scaling in the X axis
|
void |
setYScale(double value)
The scaling in the Y axis
|
void |
setZPosition(double value)
The z-order of the node (used for ordering).
|
void |
setZRotation(double value)
The Euler rotation about the z axis (in radians)
|
boolean |
shouldUpdateFocusInContext(UIFocusUpdateContext context)
Asks whether the system should allow a focus update to occur.
|
double |
speed()
The speed multiplier applied to all actions run on this node.
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
void |
updateFocusIfNeeded()
Forces focus to be updated immediately.
|
NSMutableDictionary<?,?> |
userData()
An optional dictionary that can be used to store your own data in a node.
|
SKAttributeValue |
valueForAttributeNamed(java.lang.String key) |
static long |
version_static() |
double |
xScale()
The scaling in the X axis
|
double |
yScale()
The scaling in the Y axis
|
double |
zPosition()
The z-order of the node (used for ordering).
|
double |
zRotation()
The Euler rotation about the z axis (in radians)
|
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommandaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static SKNode alloc()
public static SKNode allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static void clearTextInputContextIdentifier(java.lang.String identifier)
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static SKNode new_objc()
public static SKNode node()
public static SKNode nodeWithFileNamed(java.lang.String filename)
public static NSArray<? extends GKPolygonObstacle> obstaclesFromNodeBounds(NSArray<? extends SKNode> nodes)
GKObstacleGraphpublic static NSArray<? extends GKPolygonObstacle> obstaclesFromNodePhysicsBodies(NSArray<? extends SKNode> nodes)
GKObstacleGraphpublic static NSArray<? extends GKPolygonObstacle> obstaclesFromSpriteTexturesAccuracy(NSArray<? extends SKNode> sprites, float accuracy)
GKObstacleGraphpublic static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public SKAction actionForKey(java.lang.String key)
public void addChild(SKNode node)
The added node must not have a parent.
node - the child node to add.public double alpha()
public CGRect calculateAccumulatedFrame()
public boolean canBecomeFocused()
UIFocusItemcanBecomeFocused in interface UIFocusItempublic SKNode childNodeWithName(java.lang.String name)
public NSArray<? extends SKConstraint> constraints()
public boolean containsPoint(CGPoint p)
public java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic void didUpdateFocusInContextWithAnimationCoordinator(UIFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
UIFocusEnvironmentdidUpdateFocusInContextWithAnimationCoordinator in interface UIFocusEnvironmentpublic void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic GKEntity entity()
GKEntitypublic void enumerateChildNodesWithNameUsingBlock(java.lang.String name,
SKNode.Block_enumerateChildNodesWithNameUsingBlock block)
public CGRect frame()
UIFocusItemframe in interface UIFocusItempublic boolean hasActions()
public boolean inParentHierarchy(SKNode parent)
public SKNode init()
init in class UIResponderpublic SKNode initWithCoder(NSCoder aDecoder)
NSCodinginitWithCoder in interface NSCodingpublic void insertChildAtIndex(SKNode node, long index)
public boolean intersectsNode(SKNode node)
public boolean isEqualToNode(SKNode node)
public boolean isHidden()
public void setHidden(boolean value)
public boolean isPaused()
public void setPaused(boolean value)
public boolean isUserInteractionEnabled()
public void setUserInteractionEnabled(boolean value)
public void moveToParent(SKNode parent)
public java.lang.String name()
In general, this should be unique among peers in the scene graph.
public SKNode nodeAtPoint(CGPoint p)
public NSArray<? extends SKNode> objectForKeyedSubscript(java.lang.String name)
or even complex like: NSArray *siblingsBeginningWithA = node[@"../a*"]
name - An Xpath style path that can include simple regular expressions for matching node names.enumerateChildNodesWithName:usingBlock:public SKNode parent()
If this is nil the node has not been added to another group and is thus the root node of its own graph.
public SKPhysicsBody physicsBody()
public CGPoint position()
public NSArray<?> preferredFocusEnvironments()
UIFocusEnvironmentpreferredFocusEnvironments in interface UIFocusEnvironmentpublic UIView preferredFocusedView()
preferredFocusedView in interface UIFocusEnvironmentpublic SKReachConstraints reachConstraints()
public void removeActionForKey(java.lang.String key)
public void removeAllActions()
public void removeAllChildren()
public void removeFromParent()
public void runAction(SKAction action)
public void runActionCompletion(SKAction action, SKNode.Block_runActionCompletion block)
public void runActionWithKey(SKAction action, java.lang.String key)
public SKScene scene()
public void setAlpha(double value)
public void setConstraints(NSArray<? extends SKConstraint> value)
public void setEntity_unsafe(GKEntity value)
GKEntitypublic void setEntity(GKEntity value)
GKEntitypublic void setName(java.lang.String value)
In general, this should be unique among peers in the scene graph.
public void setNeedsFocusUpdate()
UIFocusEnvironmentsetNeedsFocusUpdate in interface UIFocusEnvironmentpublic void setPhysicsBody(SKPhysicsBody value)
public void setPosition(CGPoint value)
public void setReachConstraints(SKReachConstraints value)
public void setScale(double scale)
scale - the uniform scale to set.public void setSpeed(double value)
public void setUserData(NSMutableDictionary<?,?> value)
public void setXScale(double value)
public void setYScale(double value)
public void setZPosition(double value)
public void setZRotation(double value)
public boolean shouldUpdateFocusInContext(UIFocusUpdateContext context)
UIFocusEnvironmentshouldUpdateFocusInContext in interface UIFocusEnvironmentpublic double speed()
public void updateFocusIfNeeded()
UIFocusEnvironmentupdateFocusIfNeeded in interface UIFocusEnvironmentpublic NSMutableDictionary<?,?> userData()
public double xScale()
public double yScale()
public double zPosition()
public double zRotation()
public NSDictionary<java.lang.String,? extends SKAttributeValue> attributeValues()
public long focusBehavior()
public void setAttributeValues(NSDictionary<java.lang.String,? extends SKAttributeValue> value)
public void setFocusBehavior(long value)
public void setValueForAttributeNamed(SKAttributeValue value, java.lang.String key)
public SKAttributeValue valueForAttributeNamed(java.lang.String key)
public void didHintFocusMovement(UIFocusMovementHint hint)
UIFocusItemdidHintFocusMovement in interface UIFocusItempublic UIFocusItemContainer focusItemContainer()
UIFocusEnvironmentfocusItemContainer in interface UIFocusEnvironmentpublic static SKNode nodeWithFileNamedSecurelyWithClassesAndError(java.lang.String filename, NSSet<? extends org.moe.natj.objc.Class> classes, org.moe.natj.general.ptr.Ptr<NSError> error)
public UIFocusEnvironment parentFocusEnvironment()
UIFocusEnvironmentparentFocusEnvironment in interface UIFocusEnvironmentpublic static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic java.lang.String focusGroupIdentifier()
UIFocusEnvironmentfocusGroupIdentifier in interface UIFocusEnvironmentpublic UIFocusEffect focusEffect()
UIFocusItemfocusEffect in interface UIFocusItempublic long focusGroupPriority()
UIFocusItemfocusGroupPriority in interface UIFocusItempublic boolean isTransparentFocusItem()
UIFocusItemisTransparentFocusItem in interface UIFocusItem