Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class AbstractShape

java.lang.Object
  |
  +--edu.stanford.smi.protegex.layout.AbstractShape
All Implemented Interfaces:
ActorShape
Direct Known Subclasses:
Ellipse, Polygon

public abstract class AbstractShape
extends Object
implements ActorShape

Description of the class

Author:
William Grosso

Constructor Summary
AbstractShape()
           
 
Method Summary
abstract  void drawBorder(Graphics g, Rectangle location)
           
abstract  void drawFilledShape(Graphics g, Rectangle location)
           
 void drawHighlightedShape(Graphics g, Color shapeColor, Color borderColor, boolean fillShape, Rectangle location)
           
 void drawShape(Graphics g, Color shapeColor, boolean fillShape, Rectangle location)
           
abstract  void drawShape(Graphics g, Rectangle location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorShape
getBoundaryPointOnLine, intersectsLineUniquely
 

Constructor Detail

AbstractShape

public AbstractShape()
Method Detail

drawBorder

public abstract void drawBorder(Graphics g,
                                Rectangle location)

drawFilledShape

public abstract void drawFilledShape(Graphics g,
                                     Rectangle location)

drawHighlightedShape

public void drawHighlightedShape(Graphics g,
                                 Color shapeColor,
                                 Color borderColor,
                                 boolean fillShape,
                                 Rectangle location)
Specified by:
drawHighlightedShape in interface ActorShape

drawShape

public void drawShape(Graphics g,
                      Color shapeColor,
                      boolean fillShape,
                      Rectangle location)
Specified by:
drawShape in interface ActorShape

drawShape

public abstract void drawShape(Graphics g,
                               Rectangle location)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.