edu.udo.cs.yale.gui.experimenteditor
Class OperatorRenderer
java.lang.Object
edu.udo.cs.yale.gui.experimenteditor.OperatorRenderer
- Direct Known Subclasses:
- ChainRenderer, LeafRenderer
public abstract class OperatorRenderer
- extends java.lang.Object
Superclass for renderers that can display operators. Chains, wrappers and
simple operators must be treated differently. The rendered image can be used
in box view or in the wizard dialog.
- Version:
- $Id: OperatorRenderer.java,v 1.2 2006/08/03 14:39:28 ingomierswa Exp $
- Author:
- Ingo Mierswa, Simon Fischer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME_FONT
public static final java.awt.Font NAME_FONT
TYPE_FONT
public static final java.awt.Font TYPE_FONT
ICON_GAP
public static final int ICON_GAP
- See Also:
- Constant Field Values
OperatorRenderer
public OperatorRenderer()
drawName
public void drawName(Operator op,
java.awt.Graphics2D g)
getNameSize
public java.awt.Dimension getNameSize(Operator op,
java.awt.Graphics2D g)
drawOperator
public abstract void drawOperator(Operator op,
java.awt.Graphics2D g)
getSize
public abstract java.awt.Dimension getSize(Operator op,
java.awt.Graphics2D g)
Copyright © 2001-2006