|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.gui.experimenteditor.OperatorRenderer
edu.udo.cs.yale.gui.experimenteditor.LeafRenderer
public class LeafRenderer
A box view renderer for a leaf of the operator tree. A leaf should be an simple operator which cannot have any children.
| 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 |
|---|
private static final int BORDER
| Constructor Detail |
|---|
public LeafRenderer()
| Method Detail |
|---|
public void drawOperator(Operator op,
java.awt.Graphics2D g)
drawOperator in class OperatorRenderer
public java.awt.Dimension getSize(Operator operator,
java.awt.Graphics2D g)
getSize in class OperatorRenderer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||