public abstract class Escher2Standard<T> extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceBundle |
bundle
Localization support.
|
static ResourceBundle |
compCode
Compartment codes.
|
static String |
ESCHER_NODE_LINK
Used as a key for a mapping between data structures.
|
Constructor and Description |
---|
Escher2Standard() |
Modifier and Type | Method and Description |
---|---|
abstract T |
convert(EscherMap map) |
protected String |
extractReactionId(Set<Map.Entry<String,List<String>>> set)
Returns the reaction id of a set of segments, gives warning if multiple ones are used in segments
|
double |
getCanvasDefaultHeight() |
double |
getCanvasDefaultWidth() |
boolean |
getInferCompartmentBoundaries() |
double |
getLabelHeight() |
double |
getLabelWidth() |
double |
getPrimaryNodeHeight() |
double |
getPrimaryNodeWidth() |
double |
getReactionNodeRatio() |
double |
getSecondaryNodeRatio() |
void |
preprocessDataStructure(EscherMap escherMap)
Pre-processes every reaction in a data structure
|
String |
resolveCompartmentCode(String compartmentId) |
protected Segment |
reverse(Segment segment)
Inverses the given segment in place.
|
void |
setCanvasDefaultHeight(double canvasDefaultHeight) |
void |
setCanvasDefaultWidth(double canvasDefaultWidth) |
void |
setInferCompartmentBoundaries(boolean infer) |
void |
setLabelHeight(double labelHeight) |
void |
setLabelWidth(double labelWidth) |
void |
setPrimaryNodeHeight(double primaryNodeHeight) |
void |
setPrimaryNodeWidth(double primaryNodeWidth) |
void |
setReactionNodeRatio(double reactionNodeRatio) |
void |
setSecondaryNodeRatio(double secondaryNodeRatio) |
String |
toString() |
public static final ResourceBundle bundle
public static final ResourceBundle compCode
public static final String ESCHER_NODE_LINK
protected String extractReactionId(Set<Map.Entry<String,List<String>>> set)
set
- of segmentspublic double getCanvasDefaultHeight()
public double getCanvasDefaultWidth()
public boolean getInferCompartmentBoundaries()
public double getLabelHeight()
public double getLabelWidth()
public double getPrimaryNodeHeight()
public double getPrimaryNodeWidth()
public double getReactionNodeRatio()
public double getSecondaryNodeRatio()
public void preprocessDataStructure(EscherMap escherMap)
escherMap
- public String resolveCompartmentCode(String compartmentId)
compartmentId
- protected Segment reverse(Segment segment)
segment
- The segment
object.segment
.public void setCanvasDefaultHeight(double canvasDefaultHeight)
canvasDefaultHeight
- the canvasDefaultHeight to setpublic void setCanvasDefaultWidth(double canvasDefaultWidth)
canvasDefaultWidth
- the canvasDefaultWidth to setpublic void setInferCompartmentBoundaries(boolean infer)
infer
- public void setLabelHeight(double labelHeight)
labelHeight
- the labelHeight to setpublic void setLabelWidth(double labelWidth)
labelWidth
- the labelWidth to setpublic void setPrimaryNodeHeight(double primaryNodeHeight)
primaryNodeHeight
- the primaryNodeHeight to setpublic void setPrimaryNodeWidth(double primaryNodeWidth)
primaryNodeWidth
- the primaryNodeWidth to setpublic void setReactionNodeRatio(double reactionNodeRatio)
reactionNodeRatio
- the reactionNodeRatio to setpublic void setSecondaryNodeRatio(double secondaryNodeRatio)
secondaryNodeRatio
- the secondaryNodeRatio to setCopyright © 2015–2019 University of Tübingen. All rights reserved.