Package com.powsybl.sld.library
Interface ComponentLibrary
-
- All Known Implementing Classes:
ConvergenceComponentLibrary
,ResourcesComponentLibrary
public interface ComponentLibrary
- Author:
- Benoit Jeanson
, Nicolas Duchene, Geoffroy Jamgotchian , Franck Lecuyer
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static Optional<ComponentLibrary>
find(String name)
static List<ComponentLibrary>
findAll()
List<AnchorPoint>
getAnchorPoints(String type)
Map<String,ComponentSize>
getComponentsSize()
Optional<String>
getComponentStyleClass(String componentType)
List<String>
getCssFilenames()
List<URL>
getCssUrls()
String
getName()
ComponentSize
getSize(String type)
Optional<String>
getSubComponentStyleClass(String type, String subComponent)
Map<String,List<Element>>
getSvgElements(String type)
boolean
isAllowRotation(String type)
-
-
-
Method Detail
-
findAll
static List<ComponentLibrary> findAll()
-
find
static Optional<ComponentLibrary> find(String name)
-
getName
String getName()
-
getAnchorPoints
List<AnchorPoint> getAnchorPoints(String type)
-
getSize
ComponentSize getSize(String type)
-
isAllowRotation
boolean isAllowRotation(String type)
-
getComponentsSize
Map<String,ComponentSize> getComponentsSize()
-
-