@Dependent public class SSHKeysDisplayer extends Object implements SSHKeysDisplayerView.Presenter, org.jboss.errai.common.client.api.elemental2.IsElement
| Constructor and Description |
|---|
SSHKeysDisplayer(SSHKeysDisplayerView view,
org.jboss.errai.ioc.client.api.ManagedInstance<SSHKeyEditor> editors) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
elemental2.dom.HTMLElement |
getElement() |
void |
init(Command addCommand,
ParameterizedCommand<PortableSSHPublicKey> deleteCommand) |
void |
notifyAdd() |
protected void |
onDelete(PortableSSHPublicKey key) |
void |
render(Collection<PortableSSHPublicKey> keys) |
@Inject public SSHKeysDisplayer(SSHKeysDisplayerView view, org.jboss.errai.ioc.client.api.ManagedInstance<SSHKeyEditor> editors)
public void init(Command addCommand, ParameterizedCommand<PortableSSHPublicKey> deleteCommand)
public void render(Collection<PortableSSHPublicKey> keys)
protected void onDelete(PortableSSHPublicKey key)
public elemental2.dom.HTMLElement getElement()
getElement in interface org.jboss.errai.common.client.api.elemental2.IsElement@PreDestroy public void clear()
public void notifyAdd()
notifyAdd in interface SSHKeysDisplayerView.PresenterCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.