|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.basicruledisplayer.logic.RulePainter
public class RulePainter
Class responsible for rendering a set of rules to a canvas.
Constructor Summary | |
---|---|
RulePainter(Component root)
Full constructor. |
Method Summary | |
---|---|
void |
paint(Graphics2D g)
Paint the rendered image to the specified graphics object. |
void |
setRules(List<Element> rules)
Set the rules this painter will render. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RulePainter(Component root)
root
- Root component, in which rules will be rendered.Method Detail |
---|
public void setRules(List<Element> rules)
public void paint(Graphics2D g)
g
- Graphics object to paint rendered rules to.
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |