org.kahina.core.data.chart
Class KahinaChart
java.lang.Object
org.kahina.core.data.KahinaObject
org.kahina.core.data.chart.KahinaChart
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- KahinaMemChart
public abstract class KahinaChart
- extends KahinaObject
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KahinaChart
public KahinaChart()
initialize
public void initialize()
getLeftBound
public abstract int getLeftBound()
setLeftBound
public abstract void setLeftBound(int leftBound)
getRightBound
public abstract int getRightBound()
setRightBound
public abstract void setRightBound(int rightBound)
getLeftmostCovered
public abstract int getLeftmostCovered()
setLeftmostCovered
public abstract void setLeftmostCovered(int leftBound)
getRightmostCovered
public abstract int getRightmostCovered()
setRightmostCovered
public abstract void setRightmostCovered(int rightBound)
addEdge
public int addEdge(int left,
int right,
String caption,
int status)
removeEdge
public abstract void removeEdge(int edgeID)
getLeftBoundForEdge
public abstract int getLeftBoundForEdge(int edgeID)
setLeftBoundForEdge
public abstract void setLeftBoundForEdge(int edgeID,
int leftBound)
getRightBoundForEdge
public abstract int getRightBoundForEdge(int edgeID)
setRightBoundForEdge
public abstract void setRightBoundForEdge(int edgeID,
int rightBound)
getEdgeStatus
public abstract int getEdgeStatus(int edgeID)
setEdgeStatus
public abstract void setEdgeStatus(int edgeID,
int status)
getEdgeCaption
public abstract String getEdgeCaption(int edgeID)
setEdgeCaption
public abstract void setEdgeCaption(int edgeID,
String edgeCaption)
getSegmentCaption
public abstract String getSegmentCaption(int segmentID)
setSegmentCaption
public abstract void setSegmentCaption(int segmentID,
String segmentCaption)
getSegmentsWithCaption
public abstract Set<Integer> getSegmentsWithCaption()
getEdgeIDs
public abstract Iterable<Integer> getEdgeIDs()
segmentIsCovered
public boolean segmentIsCovered(int id)
segmentHasCaption
public abstract boolean segmentHasCaption(int id)
getNextEdgeID
protected int getNextEdgeID()
addEdgeDependency
public abstract void addEdgeDependency(int motherID,
int daughterID)
getMotherEdgesForEdge
public abstract Set<Integer> getMotherEdgesForEdge(int id)
getDaughterEdgesForEdge
public abstract Set<Integer> getDaughterEdgesForEdge(int id)
exportXML
public String exportXML(boolean asFile)
importXML
public static KahinaChart importXML(Document dom)