@Dependent public class ListGroupItemPresenter extends Object implements ListGroupItemView.Presenter
| Constructor and Description |
|---|
ListGroupItemPresenter() |
| Modifier and Type | Method and Description |
|---|---|
protected ListGroupItemView |
commonGetListGroupItemView(String parentPath,
boolean toExpand) |
com.google.gwt.dom.client.DivElement |
getDivElement(String factName,
FactModelTree factModelTree)
This method returns a top-level
DivElement representing a complex (i.e. expandable) property, i.e. a class containing other properties |
com.google.gwt.dom.client.DivElement |
getDivElement(String fullPath,
String factName,
String factModelTreeClass)
This method returns a nested
DivElement representing a complex (i.e. expandable) property, i.e. a class containing other properties |
void |
init(RightPanelView.Presenter rightPanelPresenter) |
void |
onToggleRowExpansion(ListGroupItemView listGroupItemView,
boolean currentlyShown) |
protected void |
populateListGroupItemView(ListGroupItemView toPopulate,
String factName,
String factType)
Set the property' name (factName) and type (factModelTreeClass) of a given
ListGroupItemView |
protected void |
populateListGroupItemView(ListGroupItemView toPopulate,
String parentPath,
String factName,
FactModelTree factModelTree)
Populate the "Assets" list.
|
void |
setDisabled(boolean disabled) |
public void setDisabled(boolean disabled)
public void init(RightPanelView.Presenter rightPanelPresenter)
init in interface ListGroupItemView.Presenterpublic com.google.gwt.dom.client.DivElement getDivElement(String factName, FactModelTree factModelTree)
ListGroupItemView.PresenterDivElement representing a complex (i.e. expandable) property, i.e. a class containing other propertiesgetDivElement in interface ListGroupItemView.Presenterpublic com.google.gwt.dom.client.DivElement getDivElement(String fullPath, String factName, String factModelTreeClass)
ListGroupItemView.PresenterDivElement representing a complex (i.e. expandable) property, i.e. a class containing other propertiesgetDivElement in interface ListGroupItemView.PresenterfullPath - the parent pathfactName - the property' namefactModelTreeClass - the property' typepublic void onToggleRowExpansion(ListGroupItemView listGroupItemView, boolean currentlyShown)
onToggleRowExpansion in interface ListGroupItemView.Presenterprotected void populateListGroupItemView(ListGroupItemView toPopulate, String parentPath, String factName, FactModelTree factModelTree)
toPopulate - parentPath - factName - factModelTree - the FactModelTree with all properties of a given typeprotected void populateListGroupItemView(ListGroupItemView toPopulate, String factName, String factType)
ListGroupItemViewtoPopulate - factName - the property' namefactType - the property' typeprotected ListGroupItemView commonGetListGroupItemView(String parentPath, boolean toExpand)
parentPath - the parent' path - empty for top-level elementstoExpand - If true, on onToggleRowExpansion(ListGroupItemView, boolean) inner properties will be populatedCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.