public class WxMenuManager extends Object implements org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
| Modifier and Type | Class and Description |
|---|---|
static class |
WxMenuManager.WxMenu |
static class |
WxMenuManager.WxMenus |
| Constructor and Description |
|---|
WxMenuManager(WxApiService wxApiService,
WxButtonEventKeyStrategy wxButtonEventKeyStrategy,
boolean autoCreate) |
| Modifier and Type | Method and Description |
|---|---|
WxButtonItem |
add(WxButton wxButton) |
WxMenuManager.WxMenu |
getMenu() |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public WxMenuManager(WxApiService wxApiService, WxButtonEventKeyStrategy wxButtonEventKeyStrategy, boolean autoCreate)
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic WxButtonItem add(WxButton wxButton)
public WxMenuManager.WxMenu getMenu()
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent applicationReadyEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.