public interface IconManager
| Modifier and Type | Method and Description | 
|---|---|
IconRepository | 
findRepositoryByIconKey(String iconKey)
Returns the first  
IconRepository which has the provided iconKey mapping defined. | 
List<String> | 
getSVGIconFiles()
Returns the list of available svg-files, e.g. 
 | 
String | 
getSVGIconId(String iconKey)
Returns the icon id assigned to the provided  
iconKey. | 
String | 
getSVGIconId(Vertex vertex)
Returns the icon id assigned to the provided  
Vertex. | 
boolean | 
removeIconMapping(Vertex vertex)
Removes the icon mapping for the  
Vertex if defined. | 
String | 
setIconMapping(Vertex vertex,
              String newIconId)
Sets a new icon mapping from the  
Vertex to the newIconId. | 
IconRepository findRepositoryByIconKey(String iconKey)
IconRepository which has the provided iconKey mapping defined.iconKey - the iconKey to look upIconRepository which has the provided iconKey mapping defined, or null if no IconRepository exists with the provided iconKeyList<String> getSVGIconFiles()
String getSVGIconId(String iconKey)
iconKey.iconKey - the iconKey to look upiconKeyString getSVGIconId(Vertex vertex)
Vertex.vertex - the vertex to get the icon id forVertexString setIconMapping(Vertex vertex, String newIconId)
Vertex to the newIconId.vertex - the vertex to mapnewIconId - the icon id to map the vertex toIconManager was able to save the mapping, null otherwiseCopyright © 2020. All rights reserved.