public class TargetAttributesMetadata extends Object
ITargetAttributes based on a
IMetaTagNode.| Constructor and Description |
|---|
TargetAttributesMetadata(IMetaTagNode metaTagNode)
Initialize from a
IMetaTagNode. |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroundColor() |
Float |
getFrameRate() |
Float |
getHeight() |
Double |
getHeightPercentage() |
String |
getPageTitle() |
String |
getPreloaderClassName() |
Map<String,String> |
getRootInfoAttributes()
IMetaTagNode doesn't have API to enumerate all attribute keys. |
String |
getRuntimeDPIProviderClassName() |
Integer |
getScriptRecursionLimit() |
Integer |
getScriptTimeLimit() |
String |
getSplashScreenImage() |
Boolean |
getUseDirectBlit() |
Boolean |
getUseGPU() |
Boolean |
getUsePreloader() |
Float |
getWidth() |
Double |
getWidthPercentage() |
public TargetAttributesMetadata(IMetaTagNode metaTagNode)
IMetaTagNode.metaTagNode - Metadata tag node.public Map<String,String> getRootInfoAttributes()
IMetaTagNode doesn't have API to enumerate all attribute keys. If
this method is ever needed, we will need to create an implementation of
IMetaTagNode for [SWF] metadata.public Float getWidth()
getWidth in interface ITargetAttributespublic Float getHeight()
getHeight in interface ITargetAttributespublic Double getWidthPercentage()
getWidthPercentage in interface ITargetAttributespublic Double getHeightPercentage()
getHeightPercentage in interface ITargetAttributespublic String getBackgroundColor()
getBackgroundColor in interface ITargetAttributesnull if not set.public Float getFrameRate()
getFrameRate in interface ITargetAttributesnull if not set.public String getPreloaderClassName()
getPreloaderClassName in interface ITargetAttributesnull if not set.public String getRuntimeDPIProviderClassName()
getRuntimeDPIProviderClassName in interface ITargetAttributesnull if not set.public Integer getScriptRecursionLimit()
getScriptRecursionLimit in interface ITargetAttributesnull if not set.public Integer getScriptTimeLimit()
getScriptTimeLimit in interface ITargetAttributesnull if not set.public String getSplashScreenImage()
getSplashScreenImage in interface ITargetAttributesnull if not set.public String getPageTitle()
getPageTitle in interface ITargetAttributesnull if not set.public Boolean getUseDirectBlit()
getUseDirectBlit in interface ITargetAttributesnull if not set.public Boolean getUseGPU()
getUseGPU in interface ITargetAttributesnull if not set.public Boolean getUsePreloader()
getUsePreloader in interface ITargetAttributesnull if not set.Copyright © 2016 The Apache Software Foundation. All rights reserved.