edu.stanford.smi.protegex.layout
Interface Glyph
- All Superinterfaces:
- Copyable
- All Known Implementing Classes:
- IconGlyph, ImageGlyph, WireGlyph
- public interface Glyph
- extends Copyable
- Author:
- William Grosso
Methods inherited from interface edu.stanford.smi.protegex.layout.Copyable |
copy |
displayImage
public void displayImage(ActorLocation location,
Graphics g)
displayImage
public void displayImage(Rectangle location,
Graphics g)
- draw the largest possible scaled version of the shape in the rectangle
- Parameters:
location
- Description of Parameterg
- Description of Parameter
displaySelectedImage
public void displaySelectedImage(ActorLocation location,
Graphics g)
displaySelectedImage
public void displaySelectedImage(Rectangle location,
Graphics g)
getBoundaryPointForLine
public Point getBoundaryPointForLine(Line line)
- get intersection of line with glyph. Returns null if more than one
- Parameters:
line
- Description of Parameter- Returns:
- The BoundaryPointForLine value
getPreferredHeight
public int getPreferredHeight()
getPreferredWidth
public int getPreferredWidth()
setTitle
public void setTitle(String str)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.