org.kahina.core.data.chart
Class KahinaMemChart

java.lang.Object
  extended by org.kahina.core.data.KahinaObject
      extended by org.kahina.core.data.chart.KahinaChart
          extended by org.kahina.core.data.chart.KahinaMemChart
All Implemented Interfaces:
Serializable

public class KahinaMemChart
extends KahinaChart

See Also:
Serialized Form

Constructor Summary
KahinaMemChart()
           
 
Method Summary
 void addEdgeDependency(int motherID, int daughterID)
           
 Set<Integer> getDaughterEdgesForEdge(int motherID)
           
 String getEdgeCaption(int edgeID)
           
 Iterable<Integer> getEdgeIDs()
           
 int getEdgeStatus(int edgeID)
           
 int getLeftBound()
           
 int getLeftBoundForEdge(int edgeID)
           
 int getLeftmostCovered()
           
 Set<Integer> getMotherEdgesForEdge(int daughterID)
           
 int getRightBound()
           
 int getRightBoundForEdge(int edgeID)
           
 int getRightmostCovered()
           
 String getSegmentCaption(int segmentID)
           
 Set<Integer> getSegmentsWithCaption()
           
 void removeEdge(int edgeID)
           
 boolean segmentHasCaption(int id)
           
 void setEdgeCaption(int edgeID, String edgeCaption)
           
 void setEdgeStatus(int edgeID, int status)
           
 void setLeftBound(int leftBound)
           
 void setLeftBoundForEdge(int edgeID, int leftBound)
           
 void setLeftmostCovered(int leftmostCovered)
           
 void setRightBound(int rightBound)
           
 void setRightBoundForEdge(int edgeID, int rightBound)
           
 void setRightmostCovered(int rightmostCovered)
           
 void setSegmentCaption(int segmentID, String segmentCaption)
           
 
Methods inherited from class org.kahina.core.data.chart.KahinaChart
addEdge, exportXML, getNextEdgeID, importXML, initialize, segmentIsCovered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KahinaMemChart

public KahinaMemChart()
Method Detail

getLeftBound

public int getLeftBound()
Specified by:
getLeftBound in class KahinaChart

setLeftBound

public void setLeftBound(int leftBound)
Specified by:
setLeftBound in class KahinaChart

getRightBound

public int getRightBound()
Specified by:
getRightBound in class KahinaChart

setRightBound

public void setRightBound(int rightBound)
Specified by:
setRightBound in class KahinaChart

getLeftmostCovered

public int getLeftmostCovered()
Specified by:
getLeftmostCovered in class KahinaChart

setLeftmostCovered

public void setLeftmostCovered(int leftmostCovered)
Specified by:
setLeftmostCovered in class KahinaChart

getRightmostCovered

public int getRightmostCovered()
Specified by:
getRightmostCovered in class KahinaChart

setRightmostCovered

public void setRightmostCovered(int rightmostCovered)
Specified by:
setRightmostCovered in class KahinaChart

removeEdge

public void removeEdge(int edgeID)
Specified by:
removeEdge in class KahinaChart

getLeftBoundForEdge

public int getLeftBoundForEdge(int edgeID)
Specified by:
getLeftBoundForEdge in class KahinaChart

setLeftBoundForEdge

public void setLeftBoundForEdge(int edgeID,
                                int leftBound)
Specified by:
setLeftBoundForEdge in class KahinaChart

getRightBoundForEdge

public int getRightBoundForEdge(int edgeID)
Specified by:
getRightBoundForEdge in class KahinaChart

setRightBoundForEdge

public void setRightBoundForEdge(int edgeID,
                                 int rightBound)
Specified by:
setRightBoundForEdge in class KahinaChart

getEdgeStatus

public int getEdgeStatus(int edgeID)
Specified by:
getEdgeStatus in class KahinaChart

setEdgeStatus

public void setEdgeStatus(int edgeID,
                          int status)
Specified by:
setEdgeStatus in class KahinaChart

getEdgeCaption

public String getEdgeCaption(int edgeID)
Specified by:
getEdgeCaption in class KahinaChart

setEdgeCaption

public void setEdgeCaption(int edgeID,
                           String edgeCaption)
Specified by:
setEdgeCaption in class KahinaChart

getSegmentCaption

public String getSegmentCaption(int segmentID)
Specified by:
getSegmentCaption in class KahinaChart

setSegmentCaption

public void setSegmentCaption(int segmentID,
                              String segmentCaption)
Specified by:
setSegmentCaption in class KahinaChart

getSegmentsWithCaption

public Set<Integer> getSegmentsWithCaption()
Specified by:
getSegmentsWithCaption in class KahinaChart

getEdgeIDs

public Iterable<Integer> getEdgeIDs()
Specified by:
getEdgeIDs in class KahinaChart

segmentHasCaption

public boolean segmentHasCaption(int id)
Specified by:
segmentHasCaption in class KahinaChart

addEdgeDependency

public void addEdgeDependency(int motherID,
                              int daughterID)
Specified by:
addEdgeDependency in class KahinaChart

getMotherEdgesForEdge

public Set<Integer> getMotherEdgesForEdge(int daughterID)
Specified by:
getMotherEdgesForEdge in class KahinaChart

getDaughterEdgesForEdge

public Set<Integer> getDaughterEdgesForEdge(int motherID)
Specified by:
getDaughterEdgesForEdge in class KahinaChart