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 ITargetAttributes
public Float getHeight()
getHeight
in interface ITargetAttributes
public Double getWidthPercentage()
getWidthPercentage
in interface ITargetAttributes
public Double getHeightPercentage()
getHeightPercentage
in interface ITargetAttributes
public String getBackgroundColor()
getBackgroundColor
in interface ITargetAttributes
null
if not set.public Float getFrameRate()
getFrameRate
in interface ITargetAttributes
null
if not set.public String getPreloaderClassName()
getPreloaderClassName
in interface ITargetAttributes
null
if not set.public String getRuntimeDPIProviderClassName()
getRuntimeDPIProviderClassName
in interface ITargetAttributes
null
if not set.public Integer getScriptRecursionLimit()
getScriptRecursionLimit
in interface ITargetAttributes
null
if not set.public Integer getScriptTimeLimit()
getScriptTimeLimit
in interface ITargetAttributes
null
if not set.public String getSplashScreenImage()
getSplashScreenImage
in interface ITargetAttributes
null
if not set.public String getPageTitle()
getPageTitle
in interface ITargetAttributes
null
if not set.public Boolean getUseDirectBlit()
getUseDirectBlit
in interface ITargetAttributes
null
if not set.public Boolean getUseGPU()
getUseGPU
in interface ITargetAttributes
null
if not set.public Boolean getUsePreloader()
getUsePreloader
in interface ITargetAttributes
null
if not set.Copyright © 2016 The Apache Software Foundation. All rights reserved.