public abstract class Layer extends JavascriptObject implements Serializable
counter, JS_GLOBAL, objectIds
Constructor and Description |
---|
Layer() |
Modifier and Type | Method and Description |
---|---|
Source |
getSource()
Returns the source for this layer.
|
void |
setSource(Source source)
Sets the source for this layer.
|
void |
setVisible(org.apache.wicket.ajax.AjaxRequestTarget target,
boolean visible)
Sets the visiblity of the layer.
|
Layer |
source(Source source)
Sets the source for this layer.
|
escapeQuoteJs, getJsId, getJsIdWithSuffix, getJsType, renderJs
public Source getSource()
public void setSource(Source source)
source
- New valuepublic Layer source(Source source)
source
- New valuepublic void setVisible(org.apache.wicket.ajax.AjaxRequestTarget target, boolean visible)
target
- Ajax request targetvisible
- Flag with the visibility of the layerCopyright © 2015. All rights reserved.