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, setVisible
escapeQuoteJs, getJsId, getJsIdWithSuffix
public 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()
JavascriptObject
getJsType
in interface IJavascriptObject
getJsType
in class JavascriptObject
public String renderJs()
JavascriptObject
renderJs
in interface IJavascriptObject
renderJs
in class JavascriptObject
Copyright © 2015. All rights reserved.