Package cn.mapway.ui.client.mvc
Class ModuleInfo
java.lang.Object
cn.mapway.ui.client.mvc.ModuleInfo
- Direct Known Subclasses:
ServerModuleInfo
模块对象.
- Author:
- zhangjianshe
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe code.是否是引入组件模块分组信息模块Hash值com.google.gwt.resources.client.ImageResourcemodule icon data base64iconUrl link or svg String or Base64 Imageboolean是否是公共模块booleanThe Is visible.The name.int排列顺序模块的父模块名称是否单例创建.sumamry.模块标签模块标签自定义图标标识码 &#x [6323] 不包括前缀&#x -
Constructor Summary
ConstructorsConstructorDescriptionModuleInfo(String name, String code, String summary, boolean isPublic, com.google.gwt.resources.client.ImageResource iconResource, String hash, boolean visible) Instantiates a new module item.ModuleInfo(String name, String code, String summary, boolean isPublic, com.google.gwt.resources.client.ImageResource iconResource, String hash, boolean visible, String group, String unicode) Instantiates a new Module info.ModuleInfo(String name, String code, String iconUrl, String unicode, String summary, ICustomModuleCreator creator) 构建自定义组件 -
Method Summary
-
Field Details
-
order
public int order排列顺序 -
name
The name. -
code
The code. -
unicode
自定义图标标识码 &#x [6323] 不包括前缀&#x -
summary
sumamry. -
isPublic
public boolean isPublic是否是公共模块 -
icon
public com.google.gwt.resources.client.ImageResource iconmodule icon data base64 -
iconUrl
iconUrl link or svg String or Base64 Image -
single
是否单例创建. -
hash
模块Hash值 -
isVisible
public boolean isVisibleThe Is visible. -
group
模块分组信息 -
tags
模块标签 -
themes
模块标签 -
parent
模块的父模块名称 -
children
-
events
-
custom
是否是引入组件 -
creator
-
-
Constructor Details
-
ModuleInfo
public ModuleInfo(String name, String code, String iconUrl, String unicode, String summary, ICustomModuleCreator creator) 构建自定义组件- Parameters:
name-code-summary-creator-
-
ModuleInfo
public ModuleInfo(String name, String code, String summary, boolean isPublic, com.google.gwt.resources.client.ImageResource iconResource, String hash, boolean visible) Instantiates a new module item.- Parameters:
name- the namecode- the codesummary- the summaryisPublic- the is publiciconResource- the iconhash- the hashvisible- the visible
-
ModuleInfo
public ModuleInfo(String name, String code, String summary, boolean isPublic, com.google.gwt.resources.client.ImageResource iconResource, String hash, boolean visible, String group, String unicode) Instantiates a new Module info.- Parameters:
name- the namecode- the codesummary- the summaryisPublic- the is publiciconResource- the iconhash- the hashvisible- the visiblegroup- the groupunicode- the unicode
-
-
Method Details
-
getTags
获取所有的标签- Returns:
-
copy
Copy module info.- Returns:
- the module info
-
addTheme
-
setSingle
设置单例模式.- Parameters:
single- the single- Returns:
- single
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int value) -
forTheme
判断模块是否属于 某个主题- Parameters:
themeName-- Returns:
-
hasTag
模块是否有 TAG标签- Parameters:
tag-- Returns:
-
getEvents
-