Package com.powsybl.sld.svg
Class FeederInfo
- java.lang.Object
-
- com.powsybl.sld.svg.FeederInfo
-
public class FeederInfo extends Object
Class used to describe an information element which is displayed below feeders, which contains one or more of the following:- an arrow whose direction is specified
- a string on its right
- a string on its left
- Author:
- Giovanni Ferrari
, Thomas Adam
-
-
Constructor Summary
Constructors Constructor Description FeederInfo(String componentType, double value)
FeederInfo(String componentType, double value, String userDefinedId)
FeederInfo(String componentType, DiagramLabelProvider.Direction arrowDirection, String leftLabel, String rightLabel)
FeederInfo(String componentType, DiagramLabelProvider.Direction arrowDirection, String leftLabel, String rightLabel, String userDefinedId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComponentType()
Optional<DiagramLabelProvider.Direction>
getDirection()
Optional<String>
getLeftLabel()
Optional<String>
getRightLabel()
String
getUserDefinedId()
boolean
isEmpty()
-
-
-
Constructor Detail
-
FeederInfo
public FeederInfo(String componentType, DiagramLabelProvider.Direction arrowDirection, String leftLabel, String rightLabel)
-
FeederInfo
public FeederInfo(String componentType, DiagramLabelProvider.Direction arrowDirection, String leftLabel, String rightLabel, String userDefinedId)
-
FeederInfo
public FeederInfo(String componentType, double value)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getUserDefinedId
public String getUserDefinedId()
-
getComponentType
public String getComponentType()
-
getDirection
public Optional<DiagramLabelProvider.Direction> getDirection()
-
-