@Dependent @Templated public class ItemsLine extends AbstractView<CaseRolesPresenter>
Modifier and Type | Field and Description |
---|---|
static int |
MORE_LINK_SIZE |
presenter
Constructor and Description |
---|
ItemsLine() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(CaseRolesPresenter.CaseAssignmentItem item,
org.jboss.errai.common.client.dom.UnorderedList itemList) |
protected org.jboss.errai.common.client.dom.HTMLElement |
createElement(String type) |
org.jboss.errai.common.client.dom.HTMLElement |
getElement() |
protected org.jboss.errai.common.client.dom.UnorderedList |
getHiddenUnorderedList() |
org.jboss.errai.common.client.dom.Div |
getMoreItemsLinkDiv() |
protected org.jboss.errai.common.client.dom.UnorderedList |
getVisibleUnorderedList() |
void |
hideAllItems() |
void |
initWithItemsLine(int maxWidth,
String itemsLineId,
List<CaseRolesPresenter.CaseAssignmentItem> items) |
void |
initWithSingleItem(String itemsLineId,
String item) |
void |
onMoreItems(org.jboss.errai.common.client.dom.Event event) |
void |
setRoleAssignmentListOpenEvent(javax.enterprise.event.Event<CaseRoleAssignmentListOpenEvent> roleAssignmentListOpenEvent) |
void |
showAllItems() |
init, tooltip
@Inject public void setRoleAssignmentListOpenEvent(javax.enterprise.event.Event<CaseRoleAssignmentListOpenEvent> roleAssignmentListOpenEvent)
public void initWithItemsLine(int maxWidth, String itemsLineId, List<CaseRolesPresenter.CaseAssignmentItem> items)
public void showAllItems()
public void hideAllItems()
public void addItem(CaseRolesPresenter.CaseAssignmentItem item, org.jboss.errai.common.client.dom.UnorderedList itemList)
protected org.jboss.errai.common.client.dom.HTMLElement createElement(String type)
protected org.jboss.errai.common.client.dom.UnorderedList getVisibleUnorderedList()
protected org.jboss.errai.common.client.dom.UnorderedList getHiddenUnorderedList()
public org.jboss.errai.common.client.dom.Div getMoreItemsLinkDiv()
public org.jboss.errai.common.client.dom.HTMLElement getElement()
@EventHandler(value="more-items") public void onMoreItems(@ForEvent(value="click") org.jboss.errai.common.client.dom.Event event)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.