public class

MapEditorViewModel

extends ViewModel
java.lang.Object
   ↳ androidx.lifecycle.ViewModel
     ↳ com.sap.cloud.mobile.fiori.maps.edit.MapEditorViewModel

Summary

Public Constructors
MapEditorViewModel()
Public Methods
MapEditor.AnnotationType getAnnotationType()
MapEditor.EditType getEditType()
ObservableList<AnnotationMarker> getPointsList()
ObservableStack<MapEditor.EditAction> getRedoStack()
AnnotationMarker getSelectedMarker()
ObservableStack<MapEditor.EditAction> getUndoStack()
void setAnnotationType(MapEditor.AnnotationType annotationType)
void setEditType(MapEditor.EditType editType)
void setPointsList(ObservableList<AnnotationMarker> pointsList)
void setSelectedMarker(AnnotationMarker marker)
Protected Methods
CharSequence getTitle()
void setTitle(CharSequence title)
[Expand]
Inherited Methods
From class androidx.lifecycle.ViewModel
From class java.lang.Object

Public Constructors

public MapEditorViewModel ()

Public Methods

public MapEditor.AnnotationType getAnnotationType ()

public MapEditor.EditType getEditType ()

public ObservableList<AnnotationMarker> getPointsList ()

public ObservableStack<MapEditor.EditAction> getRedoStack ()

public AnnotationMarker getSelectedMarker ()

public ObservableStack<MapEditor.EditAction> getUndoStack ()

public void setAnnotationType (MapEditor.AnnotationType annotationType)

public void setEditType (MapEditor.EditType editType)

public void setPointsList (ObservableList<AnnotationMarker> pointsList)

public void setSelectedMarker (AnnotationMarker marker)

Protected Methods

protected CharSequence getTitle ()

protected void setTitle (CharSequence title)