@Templated public class NavComponentConfigModalView extends Object implements NavComponentConfigModal.View
Constructor and Description |
---|
NavComponentConfigModalView() |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultItem(String name,
Command onSelect) |
void |
addNavGroupItem(String name,
Command onSelect) |
void |
addTargetDivItem(String name,
Command onSelect) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
cancelClick(com.google.gwt.user.client.Event event) |
void |
clearDefaultItems() |
void |
clearNavGroupItems() |
void |
clearTargetDivItems() |
void |
defaultItemsNotFound() |
org.gwtbootstrap3.client.ui.Modal |
getModal() |
void |
hide() |
void |
init(NavComponentConfigModal presenter) |
void |
okClick(com.google.gwt.user.client.Event event) |
void |
setDefaultItemSelection(String name,
Command onReset) |
void |
setDefaultNavItemEnabled(boolean enabled) |
void |
setDefaultNavItemVisible(boolean enabled) |
void |
setNavGroupEnabled(boolean enabled) |
void |
setNavGroupHelpText(String text) |
void |
setNavGroupSelection(String name,
Command onReset) |
void |
setTargetDivSelection(String name,
Command onReset) |
void |
setTargetDivVisible(boolean enabled) |
void |
show() |
void |
targetDivsNotFound() |
public void init(NavComponentConfigModal presenter)
init
in interface HasPresenter<NavComponentConfigModal>
public org.gwtbootstrap3.client.ui.Modal getModal()
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public void show()
show
in interface NavComponentConfigModal.View
public void hide()
hide
in interface NavComponentConfigModal.View
public void setNavGroupEnabled(boolean enabled)
setNavGroupEnabled
in interface NavComponentConfigModal.View
public void clearNavGroupItems()
clearNavGroupItems
in interface NavComponentConfigModal.View
public void setNavGroupHelpText(String text)
setNavGroupHelpText
in interface NavComponentConfigModal.View
public void setNavGroupSelection(String name, Command onReset)
setNavGroupSelection
in interface NavComponentConfigModal.View
public void addNavGroupItem(String name, Command onSelect)
addNavGroupItem
in interface NavComponentConfigModal.View
public void setDefaultNavItemVisible(boolean enabled)
setDefaultNavItemVisible
in interface NavComponentConfigModal.View
public void setDefaultNavItemEnabled(boolean enabled)
setDefaultNavItemEnabled
in interface NavComponentConfigModal.View
public void clearDefaultItems()
clearDefaultItems
in interface NavComponentConfigModal.View
public void defaultItemsNotFound()
defaultItemsNotFound
in interface NavComponentConfigModal.View
public void setDefaultItemSelection(String name, Command onReset)
setDefaultItemSelection
in interface NavComponentConfigModal.View
public void addDefaultItem(String name, Command onSelect)
addDefaultItem
in interface NavComponentConfigModal.View
public void setTargetDivVisible(boolean enabled)
setTargetDivVisible
in interface NavComponentConfigModal.View
public void clearTargetDivItems()
clearTargetDivItems
in interface NavComponentConfigModal.View
public void targetDivsNotFound()
targetDivsNotFound
in interface NavComponentConfigModal.View
public void addTargetDivItem(String name, Command onSelect)
addTargetDivItem
in interface NavComponentConfigModal.View
public void setTargetDivSelection(String name, Command onReset)
setTargetDivSelection
in interface NavComponentConfigModal.View
@SinkNative(value=1) @EventHandler(value="okButton") public void okClick(com.google.gwt.user.client.Event event)
@SinkNative(value=1) @EventHandler(value="cancelButton") public void cancelClick(com.google.gwt.user.client.Event event)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.