edu.udo.cs.yale.gui.experimenteditor
Class LeafRenderer

java.lang.Object
  extended by edu.udo.cs.yale.gui.experimenteditor.OperatorRenderer
      extended by edu.udo.cs.yale.gui.experimenteditor.LeafRenderer

public class LeafRenderer
extends OperatorRenderer

A box view renderer for a leaf of the operator tree. A leaf should be an simple operator which cannot have any children.

Version:
$Id: LeafRenderer.java,v 1.2 2006/08/03 14:39:28 ingomierswa Exp $
Author:
Ingo Mierswa, Simon Fischer

Field Summary
private static int BORDER
           
 
Fields inherited from class edu.udo.cs.yale.gui.experimenteditor.OperatorRenderer
ICON_GAP, NAME_FONT, TYPE_FONT
 
Constructor Summary
LeafRenderer()
           
 
Method Summary
 void drawOperator(Operator op, java.awt.Graphics2D g)
           
 java.awt.Dimension getSize(Operator operator, java.awt.Graphics2D g)
           
 
Methods inherited from class edu.udo.cs.yale.gui.experimenteditor.OperatorRenderer
drawName, getNameSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BORDER

private static final int BORDER
See Also:
Constant Field Values
Constructor Detail

LeafRenderer

public LeafRenderer()
Method Detail

drawOperator

public void drawOperator(Operator op,
                         java.awt.Graphics2D g)
Specified by:
drawOperator in class OperatorRenderer

getSize

public java.awt.Dimension getSize(Operator operator,
                                  java.awt.Graphics2D g)
Specified by:
getSize in class OperatorRenderer


Copyright © 2001-2006