public class Tile extends Layer
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
Tile(Source source)
Creates a new instance.
|
Tile(String title,
Source source)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
String |
getTitle()
Returns the title for this layer.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
void |
setTitle(String title)
Sets the title for this layer.
|
Tile |
source(Source source)
Sets the source for this layer.
|
Tile |
title(String title)
Sets the title for this layer.
|
getSource, setSource, setVisibleescapeQuoteJs, getJsId, getJsIdWithSuffixpublic Tile(Source source)
source - The source of data for this layerpublic String getTitle()
public void setTitle(String title)
title - New valuepublic Tile title(String title)
title - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class JavascriptObjectpublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class JavascriptObjectCopyright © 2015. All rights reserved.