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
InputElement s to edit the properties shown at the given baseNodeId and hide their SpanElement s |
com.google.gwt.dom.client.LIElement |
getEditingPropertyFields(String itemId,
String propertyName,
String propertyValue) |
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
|
Map<String,String> |
getSimpleProperties(String itemId)
Retrieve the simple properties shown at the given itemId
|
void |
onToggleRowExpansion(String itemId,
boolean isShown) |
void |
stopEditProperties(String itemId)
Show the
SpanElement s of the properties shown at the given baseNodeId without change their values, and and hide their InputElement s |
Map<String,String> |
updateProperties(String itemId)
Show the
SpanElement s of the properties shown at the given baseNodeId with the value of their InputElement s, 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)
InputElement
s to edit the properties shown at the given baseNodeId and hide their SpanElement
sitemId
- the id of the item containing the LIElement
void stopEditProperties(String itemId)
SpanElement
s of the properties shown at the given baseNodeId without change their values, and and hide their InputElement
sitemId
- the id of the item containing the LIElement
Map<String,String> getSimpleProperties(String itemId)
itemId
- the id of the item containing the LIElement
Map<String,String> updateProperties(String itemId)
SpanElement
s of the properties shown at the given baseNodeId with the value of their InputElement
s, and hide the lattersitemId
- the id of the item containing the LIElement
com.google.gwt.dom.client.LIElement getPropertyFields(String itemId, String propertyName, String propertyValue)
itemId
- the id of the item containing the LIElement
propertyName
- 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 LIElement
propertyName
- propertyValue
- LIElement
containing the property' fields in editing modevoid onToggleRowExpansion(String itemId, boolean isShown)
itemId
- the id of the item containing the LIElement
isShown
- true
it the item is currently shownvoid deleteProperties(String itemId)
DOM
and internal Map
itemId
- the id of the item containing the LIElement
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.