public interface CollectionView
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CollectionView.Presenter |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the current
CollectionView |
com.google.gwt.dom.client.ButtonElement |
getAddItemButton() |
com.google.gwt.dom.client.HeadingElement |
getEditorTitle() |
com.google.gwt.dom.client.UListElement |
getElementsContainer() |
com.google.gwt.dom.client.LIElement |
getObjectSeparator() |
com.google.gwt.dom.client.SpanElement |
getPropertyTitle() |
String |
getValue()
Actual implementations are meant to call the
Presenter to retrieve the json representation of their contents |
void |
initListStructure(String key,
Map<String,String> instancePropertyMap)
Set the name of the property and the
Map to be used to create the skeleton of the current CollectionViewImpl editor
showing a List of elements |
void |
initMapStructure(String key,
Map<String,String> keyPropertyMap,
Map<String,String> valuePropertyMap)
Set the name of the property and the
Maps to be used to create the skeleton of the current CollectionViewImpl editor
showing a Map of elements |
boolean |
isListWidget()
Returns
true if the current instance will manage a List,
false for a Map. |
void |
setFixedHeight(double value,
com.google.gwt.dom.client.Style.Unit px) |
void |
setListWidget(boolean listWidget) |
void |
setValue(String jsonString)
Actual implementations are meant to call the
Presenter to be populated by this json representation |
void |
toggleRowExpansion() |
void |
updateValue(String toString)
Updates the json representation of the values shown by this editor
|
void setValue(String jsonString)
Presenter to be populated by this json representationjsonString - String getValue()
Presenter to retrieve the json representation of their contentsvoid setListWidget(boolean listWidget)
listWidget - set to true if the current instance will manage a List,
false for a Map.boolean isListWidget()
true if the current instance will manage a List,
false for a Map.com.google.gwt.dom.client.UListElement getElementsContainer()
com.google.gwt.dom.client.LIElement getObjectSeparator()
com.google.gwt.dom.client.HeadingElement getEditorTitle()
com.google.gwt.dom.client.SpanElement getPropertyTitle()
com.google.gwt.dom.client.ButtonElement getAddItemButton()
void toggleRowExpansion()
void updateValue(String toString)
toString - void close()
CollectionViewvoid initListStructure(String key, Map<String,String> instancePropertyMap)
Map to be used to create the skeleton of the current CollectionViewImpl editor
showing a List of elementskey - The key representing the property, i.e Classname#propertyname (e.g Author#books)instancePropertyMap - void initMapStructure(String key, Map<String,String> keyPropertyMap, Map<String,String> valuePropertyMap)
Maps to be used to create the skeleton of the current CollectionViewImpl editor
showing a Map of elementskey - The key representing the property, i.e Classname#propertyname (e.g Author#books)keyPropertyMap - valuePropertyMap - void setFixedHeight(double value,
com.google.gwt.dom.client.Style.Unit px)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.