@Dependent @Templated public class ListGroupItemViewImpl extends Object implements ListGroupItemView
ListGroupItemView.Presenter
Modifier and Type | Field and Description |
---|---|
protected com.google.gwt.dom.client.SpanElement |
checkElement |
protected com.google.gwt.dom.client.SpanElement |
faAngleRight |
protected String |
factName |
protected com.google.gwt.dom.client.UListElement |
factProperties |
protected String |
factType |
protected com.google.gwt.dom.client.SpanElement |
fullClassName |
protected boolean |
instanceAssigned |
static String |
LIST_VIEW_PF_EXPAND_ACTIVE |
protected com.google.gwt.dom.client.DivElement |
listGroupElement |
protected com.google.gwt.dom.client.DivElement |
listGroupExpansion |
protected com.google.gwt.dom.client.DivElement |
listGroupItem |
protected com.google.gwt.dom.client.DivElement |
listGroupItemContainer |
protected com.google.gwt.dom.client.DivElement |
listGroupItemHeader |
protected String |
parentPath |
protected ListGroupItemView.Presenter |
presenter |
protected boolean |
toExpand |
Constructor and Description |
---|
ListGroupItemViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addExpandableFactField(com.google.gwt.dom.client.DivElement fieldElement)
This add and a complex (i.e. expandable) property, i.e. a class containing other properties
|
void |
addFactField(com.google.gwt.dom.client.LIElement fieldElement) |
com.google.gwt.user.client.ui.Widget |
asWidget() |
void |
closeRow() |
boolean |
equals(Object o) |
void |
expandRow() |
String |
getActualClassName() |
String |
getFactName() |
String |
getFactType() |
com.google.gwt.dom.client.DivElement |
getListGroupExpansion() |
com.google.gwt.dom.client.DivElement |
getListGroupItem() |
String |
getParentPath() |
int |
hashCode() |
void |
init(ListGroupItemView.Presenter presenter) |
boolean |
isCheckShown() |
boolean |
isInstanceAssigned() |
boolean |
isShown() |
boolean |
isToExpand() |
void |
onFaAngleRightClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
onFullClassNameClick(com.google.gwt.event.dom.client.ClickEvent event) |
void |
setFactName(String factName) |
void |
setFactNameAndType(String factName,
String factType) |
void |
setInstanceAssigned(boolean instanceAssigned) |
void |
setParentPath(String parentPath) |
void |
setToExpand(boolean toExpand) |
void |
showCheck(boolean show) |
String |
toString() |
void |
unselect() |
public static final String LIST_VIEW_PF_EXPAND_ACTIVE
@DataField(value="listGroupExpansion") protected com.google.gwt.dom.client.DivElement listGroupExpansion
@DataField(value="listGroupItem") protected com.google.gwt.dom.client.DivElement listGroupItem
@DataField(value="listGroupItemHeader") protected com.google.gwt.dom.client.DivElement listGroupItemHeader
@DataField(value="listGroupItemContainer") protected com.google.gwt.dom.client.DivElement listGroupItemContainer
@DataField(value="faAngleRight") protected com.google.gwt.dom.client.SpanElement faAngleRight
@DataField(value="listGroupElement") protected com.google.gwt.dom.client.DivElement listGroupElement
@DataField(value="fullClassName") protected com.google.gwt.dom.client.SpanElement fullClassName
@DataField(value="checkElement") protected com.google.gwt.dom.client.SpanElement checkElement
@DataField(value="factProperties") protected com.google.gwt.dom.client.UListElement factProperties
protected ListGroupItemView.Presenter presenter
protected String parentPath
protected String factName
protected String factType
protected boolean toExpand
protected boolean instanceAssigned
public com.google.gwt.user.client.ui.Widget asWidget()
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
public String getActualClassName()
getActualClassName
in interface ListGroupItemView
@EventHandler(value="listGroupElement") public void onFullClassNameClick(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="faAngleRight") public void onFaAngleRightClick(com.google.gwt.event.dom.client.ClickEvent event)
public void init(ListGroupItemView.Presenter presenter)
init
in interface org.uberfire.client.mvp.HasPresenter<ListGroupItemView.Presenter>
public void setToExpand(boolean toExpand)
setToExpand
in interface ListGroupItemView
public boolean isToExpand()
isToExpand
in interface ListGroupItemView
public void unselect()
unselect
in interface ListGroupItemView
public void showCheck(boolean show)
showCheck
in interface ListGroupItemView
public boolean isCheckShown()
isCheckShown
in interface ListGroupItemView
public void setFactName(String factName)
setFactName
in interface ListGroupItemView
public void setFactNameAndType(String factName, String factType)
setFactNameAndType
in interface ListGroupItemView
factName
- the property' namefactType
- the property' typepublic void setParentPath(String parentPath)
setParentPath
in interface ListGroupItemView
parentPath
- the parent' pathpublic String getParentPath()
getParentPath
in interface ListGroupItemView
public String getFactName()
getFactName
in interface ListGroupItemView
public String getFactType()
getFactType
in interface ListGroupItemView
public void addFactField(com.google.gwt.dom.client.LIElement fieldElement)
addFactField
in interface ListGroupItemView
public void addExpandableFactField(com.google.gwt.dom.client.DivElement fieldElement)
ListGroupItemView
addExpandableFactField
in interface ListGroupItemView
public com.google.gwt.dom.client.DivElement getListGroupExpansion()
getListGroupExpansion
in interface ListGroupItemView
public com.google.gwt.dom.client.DivElement getListGroupItem()
getListGroupItem
in interface ListGroupItemView
public void closeRow()
closeRow
in interface ListGroupItemView
public void expandRow()
expandRow
in interface ListGroupItemView
public boolean isShown()
isShown
in interface ListGroupItemView
public void setInstanceAssigned(boolean instanceAssigned)
setInstanceAssigned
in interface ListGroupItemView
public boolean isInstanceAssigned()
isInstanceAssigned
in interface ListGroupItemView
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.