|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.p2p.gui.graph.GShape
uk.ac.ic.doc.automed.p2p.gui.graph.GraphComponent
uk.ac.ic.doc.automed.p2p.gui.graph.SimpleGraphComponent
public class SimpleGraphComponent
A graph component that does not actually have a drawing method. All it does is to contain a collection of nodes and a collection of edges and invoke their drawing methods when required.
Field Summary |
---|
Fields inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GraphComponent |
---|
atShape, grouped, prevPoint |
Fields inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GShape |
---|
altDrawer, altDrawing, AUTO_COUNT, bound, brPoint, centrePoint, changed, color, cshape, data, defBound, displayScript, displayShape, enabled, handler, highlighted, hshape, icon, id, label, lblPoint, movable, name, onClick, PREFIX_CTRL, PREFIX_HIL, props, refresh, selectable, tlPoint, type, visible, visibleOnHighlighted, ZEROX |
Constructor Summary | |
---|---|
SimpleGraphComponent(java.lang.String label,
java.awt.Point tlPoint,
java.awt.Dimension bound,
java.util.Properties props)
|
Method Summary | |
---|---|
void |
drawMain(java.awt.Graphics gp)
The main body of the drawing method |
void |
redrawMain(java.awt.Graphics gp)
The main body of redraw |
Methods inherited from class uk.ac.ic.doc.automed.p2p.gui.graph.GraphComponent |
---|
addEdge, addNode, addNodes, contains, drawAfter, drawAt, drawBefore, drawBound, drawOverlay, drawTo, equals, getBaseCenterPoint, getBasePoint, getBooleanProperty, getBound, getEdges, getEdges, getEdgesArray, getIsGrouped, getNodes, getNodesArray, getNumericProperty, getProperty, getShapes, getShapesArray, getShapesForUpdate, init, redraw, removeShape, setEdges, setEdgesArray, setIsChanged, setIsGrouped, setIsVisible, setNodes, setNodesArray, setUp, update, updateBound, updateControl, updateHighlighted |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimpleGraphComponent(java.lang.String label, java.awt.Point tlPoint, java.awt.Dimension bound, java.util.Properties props)
Method Detail |
---|
public void redrawMain(java.awt.Graphics gp)
GraphComponent
redrawMain
in class GraphComponent
public void drawMain(java.awt.Graphics gp)
GraphComponent
drawMain
in class GraphComponent
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |