Protege-2000 1.7

edu.stanford.smi.protegex.layout
Class LayoutRectangle

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

public class LayoutRectangle
extends Polygon

Description of the class

Author:
William Grosso

Fields inherited from class edu.stanford.smi.protegex.layout.Polygon
_intersectionPoints, xPoints, yPoints
 
Constructor Summary
LayoutRectangle()
           
 
Method Summary
protected  void buildPolygon(Rectangle location)
           
 void drawFilledShape(Graphics g, Rectangle location)
           
 void drawShape(Graphics g, Rectangle location)
           
 
Methods inherited from class edu.stanford.smi.protegex.layout.Polygon
drawBorder, getBoundaryPointOnLine, intersectsLineUniquely
 
Methods inherited from class edu.stanford.smi.protegex.layout.AbstractShape
drawHighlightedShape, drawShape
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutRectangle

public LayoutRectangle()
Method Detail

buildPolygon

protected void buildPolygon(Rectangle location)
Overrides:
buildPolygon in class Polygon

drawFilledShape

public void drawFilledShape(Graphics g,
                            Rectangle location)
Overrides:
drawFilledShape in class Polygon

drawShape

public void drawShape(Graphics g,
                      Rectangle location)
Overrides:
drawShape in class Polygon

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.