Class ListGroupItemViewImpl
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.rightpanel.ListGroupItemViewImpl
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,ListGroupItemView,org.uberfire.client.mvp.HasPresenter<ListGroupItemView.Presenter>
@Dependent @Templated public class ListGroupItemViewImpl extends Object implements ListGroupItemView
This class is used to represent a complex (i.e. expandable) property, i.e. a class containing other properties
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.workbench.screens.scenariosimulation.client.rightpanel.ListGroupItemView
ListGroupItemView.Presenter
-
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gwt.dom.client.SpanElementcheckElementprotected com.google.gwt.dom.client.SpanElementfaAngleRightprotected StringfactNameprotected com.google.gwt.dom.client.UListElementfactPropertiesprotected StringfactTypeprotected com.google.gwt.dom.client.SpanElementfullClassNameprotected booleaninstanceAssignedstatic StringLIST_VIEW_PF_EXPAND_ACTIVEprotected com.google.gwt.dom.client.DivElementlistGroupElementprotected com.google.gwt.dom.client.DivElementlistGroupExpansionprotected com.google.gwt.dom.client.DivElementlistGroupItemprotected com.google.gwt.dom.client.DivElementlistGroupItemContainerprotected com.google.gwt.dom.client.DivElementlistGroupItemHeaderprotected List<String>parentPathprotected ListGroupItemView.Presenterpresenterprotected booleantoExpand
-
Constructor Summary
Constructors Constructor Description ListGroupItemViewImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExpandableFactField(com.google.gwt.dom.client.DivElement fieldElement)This add and a complex (i.e. expandable) property, i.e. a class containing other propertiesvoidaddFactField(com.google.gwt.dom.client.LIElement fieldElement)com.google.gwt.user.client.ui.WidgetasWidget()voidcloseRow()booleanequals(Object o)voidexpandRow()StringgetActualClassName()StringgetFactName()StringgetFactType()com.google.gwt.dom.client.DivElementgetListGroupExpansion()com.google.gwt.dom.client.DivElementgetListGroupItem()List<String>getParentPath()inthashCode()voidinit(ListGroupItemView.Presenter presenter)booleanisCheckShown()booleanisInstanceAssigned()booleanisShown()booleanisToExpand()voidonFaAngleRightClick(com.google.gwt.event.dom.client.ClickEvent event)voidonFullClassNameClick(com.google.gwt.event.dom.client.ClickEvent event)voidsetFactName(String factName)voidsetFactNameAndType(String factName, String factType)voidsetInstanceAssigned(boolean instanceAssigned)voidsetParentPath(List<String> parentPath)voidsetToExpand(boolean toExpand)voidshowCheck(boolean show)StringtoString()voidunselect()
-
-
-
Field Detail
-
LIST_VIEW_PF_EXPAND_ACTIVE
public static final String LIST_VIEW_PF_EXPAND_ACTIVE
- See Also:
- Constant Field Values
-
listGroupExpansion
@DataField("listGroupExpansion") protected com.google.gwt.dom.client.DivElement listGroupExpansion
-
listGroupItem
@DataField("listGroupItem") protected com.google.gwt.dom.client.DivElement listGroupItem
-
listGroupItemHeader
@DataField("listGroupItemHeader") protected com.google.gwt.dom.client.DivElement listGroupItemHeader
-
listGroupItemContainer
@DataField("listGroupItemContainer") protected com.google.gwt.dom.client.DivElement listGroupItemContainer
-
faAngleRight
@DataField("faAngleRight") protected com.google.gwt.dom.client.SpanElement faAngleRight
-
listGroupElement
@DataField("listGroupElement") protected com.google.gwt.dom.client.DivElement listGroupElement
-
fullClassName
@DataField("fullClassName") protected com.google.gwt.dom.client.SpanElement fullClassName
-
checkElement
@DataField("checkElement") protected com.google.gwt.dom.client.SpanElement checkElement
-
factProperties
@DataField("factProperties") protected com.google.gwt.dom.client.UListElement factProperties
-
presenter
protected ListGroupItemView.Presenter presenter
-
factName
protected String factName
-
factType
protected String factType
-
toExpand
protected boolean toExpand
-
instanceAssigned
protected boolean instanceAssigned
-
-
Method Detail
-
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Specified by:
asWidgetin interfacecom.google.gwt.user.client.ui.IsWidget
-
getActualClassName
public String getActualClassName()
- Specified by:
getActualClassNamein interfaceListGroupItemView
-
onFullClassNameClick
@EventHandler("listGroupElement") public void onFullClassNameClick(com.google.gwt.event.dom.client.ClickEvent event)
-
onFaAngleRightClick
@EventHandler("faAngleRight") public void onFaAngleRightClick(com.google.gwt.event.dom.client.ClickEvent event)
-
init
public void init(ListGroupItemView.Presenter presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<ListGroupItemView.Presenter>
-
setToExpand
public void setToExpand(boolean toExpand)
- Specified by:
setToExpandin interfaceListGroupItemView
-
isToExpand
public boolean isToExpand()
- Specified by:
isToExpandin interfaceListGroupItemView
-
unselect
public void unselect()
- Specified by:
unselectin interfaceListGroupItemView
-
showCheck
public void showCheck(boolean show)
- Specified by:
showCheckin interfaceListGroupItemView
-
isCheckShown
public boolean isCheckShown()
- Specified by:
isCheckShownin interfaceListGroupItemView
-
setFactName
public void setFactName(String factName)
- Specified by:
setFactNamein interfaceListGroupItemView
-
setFactNameAndType
public void setFactNameAndType(String factName, String factType)
- Specified by:
setFactNameAndTypein interfaceListGroupItemView- Parameters:
factName- the property' namefactType- the property' type
-
setParentPath
public void setParentPath(List<String> parentPath)
- Specified by:
setParentPathin interfaceListGroupItemView- Parameters:
parentPath- the parent' path
-
getParentPath
public List<String> getParentPath()
- Specified by:
getParentPathin interfaceListGroupItemView
-
getFactName
public String getFactName()
- Specified by:
getFactNamein interfaceListGroupItemView
-
getFactType
public String getFactType()
- Specified by:
getFactTypein interfaceListGroupItemView
-
addFactField
public void addFactField(com.google.gwt.dom.client.LIElement fieldElement)
- Specified by:
addFactFieldin interfaceListGroupItemView
-
addExpandableFactField
public void addExpandableFactField(com.google.gwt.dom.client.DivElement fieldElement)
Description copied from interface:ListGroupItemViewThis add and a complex (i.e. expandable) property, i.e. a class containing other properties- Specified by:
addExpandableFactFieldin interfaceListGroupItemView
-
getListGroupExpansion
public com.google.gwt.dom.client.DivElement getListGroupExpansion()
- Specified by:
getListGroupExpansionin interfaceListGroupItemView
-
getListGroupItem
public com.google.gwt.dom.client.DivElement getListGroupItem()
- Specified by:
getListGroupItemin interfaceListGroupItemView
-
closeRow
public void closeRow()
- Specified by:
closeRowin interfaceListGroupItemView
-
expandRow
public void expandRow()
- Specified by:
expandRowin interfaceListGroupItemView
-
isShown
public boolean isShown()
- Specified by:
isShownin interfaceListGroupItemView
-
setInstanceAssigned
public void setInstanceAssigned(boolean instanceAssigned)
- Specified by:
setInstanceAssignedin interfaceListGroupItemView
-
isInstanceAssigned
public boolean isInstanceAssigned()
- Specified by:
isInstanceAssignedin interfaceListGroupItemView
-
-