lib/browser/GraphBrowser/DummyVertex.java
author boehmes
Sun, 05 Jun 2011 15:00:17 +0200
changeset 43154 72e4753a6677
parent 33686 8e33ca8832b1
child 50473 ca4088bf8365
permissions -rw-r--r--
made introduction of explicit application stable under removal of vacuous facts (which only lower the rank of constants but do not participate in the proof)

/***************************************************************************
  Title:      GraphBrowser/DummyVertex.java
  Author:     Stefan Berghofer, TU Muenchen

  This class represents a dummy vertex, which is used to simplify the
  layout algorithm.
***************************************************************************/

package GraphBrowser;

import java.awt.*;

class DummyVertex extends Vertex {
	public boolean isDummy() {return true;}

	public Object clone() {
		Vertex ve=new DummyVertex();
		ve.setX(getX());ve.setY(getY());
		return ve;
	}

	public int leftX() { return getX(); }

	public int rightX() { return getX(); }

	public void draw(Graphics g) {}
}