public static interface PropertyView.Presenter
| Modifier and Type | Method and Description |
|---|---|
void |
deleteProperties(String itemId)
Remove all the properties belonging to the given baseNodeId from both
DOM and internal Map |
void |
editProperties(String itemId)
Show the
InputElements to edit the properties shown at the given baseNodeId and hide their SpanElements |
com.google.gwt.dom.client.LIElement |
getEditingPropertyFields(String itemId,
String propertyName,
String propertyValue) |
Map<String,String> |
getProperties(String itemId)
Retrieve the properties shown at the given itemId
|
com.google.gwt.dom.client.LIElement |
getPropertyFields(String itemId,
String propertyName,
String propertyValue) |
String |
getPropertyValue(String propertyName)
Get the text shown in the property value
|
void |
onToggleRowExpansion(String itemId,
boolean isShown) |
void |
stopEditProperties(String itemId)
Show the
SpanElements of the properties shown at the given baseNodeId without change their values, and and hide their InputElements |
Map<String,String> |
updateProperties(String itemId)
Show the
SpanElements of the properties shown at the given baseNodeId with the value of their InputElements, and hide the latters |
String getPropertyValue(String propertyName) throws Exception
propertyName - the property fro which we are retrieving the valueException - if the given property value is not foundvoid editProperties(String itemId)
InputElements to edit the properties shown at the given baseNodeId and hide their SpanElementsitemId - the id of the item containing the LIElementvoid stopEditProperties(String itemId)
SpanElements of the properties shown at the given baseNodeId without change their values, and and hide their InputElementsitemId - the id of the item containing the LIElementMap<String,String> getProperties(String itemId)
itemId - the id of the item containing the LIElementMap<String,String> updateProperties(String itemId)
SpanElements of the properties shown at the given baseNodeId with the value of their InputElements, and hide the lattersitemId - the id of the item containing the LIElementcom.google.gwt.dom.client.LIElement getPropertyFields(String itemId, String propertyName, String propertyValue)
itemId - the id of the item containing the LIElementpropertyName - propertyValue - LIElement containing the property' fieldscom.google.gwt.dom.client.LIElement getEditingPropertyFields(String itemId, String propertyName, String propertyValue)
itemId - the id of the item containing the LIElementpropertyName - propertyValue - LIElement containing the property' fields in editing modevoid onToggleRowExpansion(String itemId, boolean isShown)
itemId - the id of the item containing the LIElementisShown - true it the item is currently shownvoid deleteProperties(String itemId)
DOM and internal MapitemId - the id of the item containing the LIElementCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.