public abstract class KahinaChart extends KahinaObject
needsUpdate
Constructor and Description |
---|
KahinaChart() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addEdge(int id,
int left,
int right,
java.lang.String caption,
int status) |
abstract int |
addEdge(int left,
int right,
java.lang.String caption,
int status) |
abstract void |
addEdgeDependency(int motherID,
int daughterID) |
java.lang.String |
exportXML(boolean asFile) |
abstract java.util.Set<java.lang.Integer> |
getDaughterEdgesForEdge(int id) |
abstract java.util.Set<java.lang.Integer> |
getDependencyRoots() |
abstract java.lang.String |
getEdgeCaption(int edgeID) |
abstract java.lang.Iterable<java.lang.Integer> |
getEdgeIDs() |
abstract int |
getEdgeStatus(int edgeID) |
abstract int |
getLeftBound() |
abstract int |
getLeftBoundForEdge(int edgeID) |
abstract int |
getLeftmostCovered() |
abstract java.util.Set<java.lang.Integer> |
getMotherEdgesForEdge(int id) |
protected int |
getNextEdgeID() |
abstract int |
getRightBound() |
abstract int |
getRightBoundForEdge(int edgeID) |
abstract int |
getRightmostCovered() |
abstract java.lang.String |
getSegmentCaption(int segmentID) |
abstract java.util.Set<java.lang.Integer> |
getSegmentsWithCaption() |
static KahinaChart |
importXML(java.lang.String fileName) |
void |
initialize() |
abstract void |
removeEdge(int edgeID) |
abstract boolean |
segmentHasCaption(int id) |
boolean |
segmentIsCovered(int id) |
abstract void |
setEdgeCaption(int edgeID,
java.lang.String edgeCaption) |
abstract void |
setEdgeStatus(int edgeID,
int status) |
abstract void |
setLeftBound(int leftBound) |
abstract void |
setLeftBoundForEdge(int edgeID,
int leftBound) |
abstract void |
setLeftmostCovered(int leftBound) |
abstract void |
setRightBound(int rightBound) |
abstract void |
setRightBoundForEdge(int edgeID,
int rightBound) |
abstract void |
setRightmostCovered(int rightBound) |
abstract void |
setSegmentCaption(int segmentID,
java.lang.String segmentCaption) |
needsUpdate, requireUpdate
public void initialize()
public abstract int getLeftBound()
public abstract void setLeftBound(int leftBound)
public abstract int getRightBound()
public abstract void setRightBound(int rightBound)
public abstract int getLeftmostCovered()
public abstract void setLeftmostCovered(int leftBound)
public abstract int getRightmostCovered()
public abstract void setRightmostCovered(int rightBound)
public abstract int addEdge(int left, int right, java.lang.String caption, int status)
public abstract void addEdge(int id, int left, int right, java.lang.String caption, int status)
public abstract void removeEdge(int edgeID)
public abstract int getLeftBoundForEdge(int edgeID)
public abstract void setLeftBoundForEdge(int edgeID, int leftBound)
public abstract int getRightBoundForEdge(int edgeID)
public abstract void setRightBoundForEdge(int edgeID, int rightBound)
public abstract int getEdgeStatus(int edgeID)
public abstract void setEdgeStatus(int edgeID, int status)
public abstract java.lang.String getEdgeCaption(int edgeID)
public abstract void setEdgeCaption(int edgeID, java.lang.String edgeCaption)
public abstract java.lang.String getSegmentCaption(int segmentID)
public abstract void setSegmentCaption(int segmentID, java.lang.String segmentCaption)
public abstract java.util.Set<java.lang.Integer> getSegmentsWithCaption()
public abstract java.lang.Iterable<java.lang.Integer> getEdgeIDs()
public boolean segmentIsCovered(int id)
public abstract boolean segmentHasCaption(int id)
protected int getNextEdgeID()
public abstract void addEdgeDependency(int motherID, int daughterID)
public abstract java.util.Set<java.lang.Integer> getDependencyRoots()
public abstract java.util.Set<java.lang.Integer> getMotherEdgesForEdge(int id)
public abstract java.util.Set<java.lang.Integer> getDaughterEdgesForEdge(int id)
public java.lang.String exportXML(boolean asFile)
public static KahinaChart importXML(java.lang.String fileName)