Package com.powsybl.sld.svg
Class SvgParameters
java.lang.Object
com.powsybl.sld.svg.SvgParameters
- Author:
- Sophie Frasnedo <sophie.frasnedo at rte-france.com>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
int
double
int
double
double
int
int
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
setActivePowerUnit
(String activePowerUnit) setAddNodesInfos
(boolean addNodesInfos) setAngleLabelShift
(double angleLabelShift) setAngleValuePrecision
(int angleValuePrecision) setAvoidSVGComponentsDuplication
(boolean avoidSVGComponentsDuplication) setBusInfoMargin
(double busInfoMargin) setCssLocation
(SvgParameters.CssLocation cssLocation) setCurrentUnit
(String currentUnit) setCurrentValuePrecision
(int currentValuePrecision) setDiagramName
(String diagramName) setDisplayConnectivityNodesId
(boolean displayConnectivityNodesId) setDisplayCurrentFeederInfo
(boolean displayCurrentFeederInfo) setDisplayEquipmentNodesLabel
(boolean displayEquipmentNodesLabel) setDrawStraightWires
(boolean drawStraightWires) setFeederInfosIntraMargin
(double feederInfosIntraMargin) setFeederInfosOuterMargin
(double feederInfosOuterMargin) setFeederInfoSymmetry
(boolean feederInfoSymmetry) setLabelCentered
(boolean labelCentered) setLabelDiagonal
(boolean labelDiagonal) setLanguageTag
(String languageTag) Sets the language tag string.setPowerValuePrecision
(int powerValuePrecision) setPrefixId
(String prefixId) setReactivePowerUnit
(String reactivePowerUnit) setShowGrid
(boolean showGrid) setShowInternalNodes
(boolean showInternalNodes) setSvgWidthAndHeightAdded
(boolean svgWidthAndHeightAdded) setTooltipEnabled
(boolean tooltipEnabled) setUndefinedValueSymbol
(String undefinedValueSymbol) setUseName
(boolean useName) setVoltageValuePrecision
(int voltageValuePrecision)
-
Constructor Details
-
SvgParameters
public SvgParameters() -
SvgParameters
-
-
Method Details
-
createValueFormatter
-
getPrefixId
-
setPrefixId
-
getUndefinedValueSymbol
-
setUndefinedValueSymbol
-
getLanguageTag
-
setLanguageTag
Sets the language tag string. This is used to format the value displayed according to the corresponding standards.- Parameters:
languageTag
- Specified IETF BCP 47 language tag string
-
getVoltageValuePrecision
public int getVoltageValuePrecision() -
setVoltageValuePrecision
-
getPowerValuePrecision
public int getPowerValuePrecision() -
setPowerValuePrecision
-
getAngleValuePrecision
public int getAngleValuePrecision() -
setAngleValuePrecision
-
getCurrentValuePrecision
public int getCurrentValuePrecision() -
setCurrentValuePrecision
-
getActivePowerUnit
-
setActivePowerUnit
-
getReactivePowerUnit
-
setReactivePowerUnit
-
getCurrentUnit
-
setCurrentUnit
-
getBusInfoMargin
public double getBusInfoMargin() -
setBusInfoMargin
-
getFeederInfosIntraMargin
public double getFeederInfosIntraMargin() -
setFeederInfosIntraMargin
-
getFeederInfosOuterMargin
public double getFeederInfosOuterMargin() -
setFeederInfosOuterMargin
-
isFeederInfoSymmetry
public boolean isFeederInfoSymmetry() -
setFeederInfoSymmetry
-
isAddNodesInfos
public boolean isAddNodesInfos() -
setAddNodesInfos
-
isUseName
public boolean isUseName() -
setUseName
-
getAngleLabelShift
public double getAngleLabelShift() -
setAngleLabelShift
-
isLabelCentered
public boolean isLabelCentered() -
setLabelCentered
-
isLabelDiagonal
public boolean isLabelDiagonal() -
setLabelDiagonal
-
isTooltipEnabled
public boolean isTooltipEnabled() -
setTooltipEnabled
-
isSvgWidthAndHeightAdded
public boolean isSvgWidthAndHeightAdded() -
setSvgWidthAndHeightAdded
-
getCssLocation
-
setCssLocation
-
isAvoidSVGComponentsDuplication
public boolean isAvoidSVGComponentsDuplication() -
setAvoidSVGComponentsDuplication
-
getDiagramName
-
setDiagramName
-
isDrawStraightWires
public boolean isDrawStraightWires() -
setDrawStraightWires
-
isShowGrid
public boolean isShowGrid() -
setShowGrid
-
isShowInternalNodes
public boolean isShowInternalNodes() -
setShowInternalNodes
-
isDisplayCurrentFeederInfo
public boolean isDisplayCurrentFeederInfo() -
setDisplayCurrentFeederInfo
-
isDisplayEquipmentNodesLabel
public boolean isDisplayEquipmentNodesLabel() -
setDisplayEquipmentNodesLabel
-
isDisplayConnectivityNodesId
public boolean isDisplayConnectivityNodesId() -
setDisplayConnectivityNodesId
-