@Api(allMethods=true) public class ClientToolInfo extends Object implements IsInfo
| Constructor and Description |
|---|
ClientToolInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Get the description of the tool.
|
String |
getIcon()
Get the url of the icon.
|
String |
getId()
Get the unique id of this tool.
|
List<Parameter> |
getParameters()
Get the list of parameters for this tool.
|
String |
getTitle()
Get the title of the tool.
|
String |
getToolId()
Get the toolId used for fetching the
org.geomajas.gwt.client.action.ToolbarBaseAction
from org.geomajas.gwt.client.action.toolbar.ToolbarRegistry. |
List<ClientToolInfo> |
getTools()
Get the list of tools this tool should list (in a drop-down panel for instance).
|
void |
setDescription(String description)
Set the description of the tool.
|
void |
setIcon(String icon)
Set the url of the icon.
|
void |
setId(String value)
Set the unique id for the tool.
|
void |
setParameters(List<Parameter> value)
Set the list of parameters for this tool.
|
void |
setTitle(String title)
Set the title of the tool.
|
void |
setToolId(String toolId)
Set the toolId used for fetching the
org.geomajas.gwt.client.action.ToolbarBaseAction
from org.geomajas.gwt.client.action.toolbar.ToolbarRegistry. |
void |
setTools(List<ClientToolInfo> tools)
Set the list of tools this tool should list (in a drop-down panel for instance).
|
public List<ClientToolInfo> getTools()
ClientToolInfopublic void setTools(List<ClientToolInfo> tools)
tools - list of ClientToolInfopublic List<Parameter> getParameters()
Parameterpublic void setParameters(List<Parameter> value)
value - list of Parameterpublic String getId()
public void setId(String value)
value - unique tool idpublic void setToolId(String toolId)
org.geomajas.gwt.client.action.ToolbarBaseAction
from org.geomajas.gwt.client.action.toolbar.ToolbarRegistry.toolId - tool idpublic String getToolId()
Get the toolId used for fetching the org.geomajas.gwt.client.action.ToolbarBaseAction
from org.geomajas.gwt.client.action.toolbar.ToolbarRegistry.
If toolId == null, the id is returned.
public String getDescription()
public void setDescription(String description)
description - the description to setpublic String getTitle()
public void setTitle(String title)
title - the title to setpublic String getIcon()
public void setIcon(String icon)
icon - the icon to setCopyright © 2015 Geosparc. All Rights Reserved.