Package com.powsybl.sld.layout
Class LayoutContext
- java.lang.Object
-
- com.powsybl.sld.layout.LayoutContext
-
public final class LayoutContext extends Object
- Author:
- Benoit Jeanson
-
-
Constructor Summary
Constructors Constructor Description LayoutContext(double firstBusY, double lastBusY, double maxInternCellHeight, Direction direction)
LayoutContext(double firstBusY, double lastBusY, double maxInternCellHeight, Direction direction, boolean isInternCell, boolean isFlat, boolean isUnileg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Direction
getDirection()
double
getFirstBusY()
double
getLastBusY()
double
getMaxInternCellHeight()
boolean
isFlat()
boolean
isInternCell()
boolean
isUnileg()
-
-
-
Constructor Detail
-
LayoutContext
public LayoutContext(double firstBusY, double lastBusY, double maxInternCellHeight, Direction direction, boolean isInternCell, boolean isFlat, boolean isUnileg)
-
LayoutContext
public LayoutContext(double firstBusY, double lastBusY, double maxInternCellHeight, Direction direction)
-
-
Method Detail
-
getFirstBusY
public double getFirstBusY()
-
getLastBusY
public double getLastBusY()
-
getMaxInternCellHeight
public double getMaxInternCellHeight()
-
getDirection
public Direction getDirection()
-
isInternCell
public boolean isInternCell()
-
isFlat
public boolean isFlat()
-
isUnileg
public boolean isUnileg()
-
-