org.argouml.ui
Interface Clarifier

All Superinterfaces:
Icon

public interface Clarifier
extends Icon

This interface represents a "Clarifier", i.e. the red wavy line over e.g. a class name, attribute or operation compartiment, to indicate the existence of a critic.


Method Summary
 boolean hit(int x, int y)
          Reply true if the given point is inside the given Fig.
 void setFig(Fig f)
           
 void setToDoItem(ToDoItem i)
           
 
Methods inherited from interface javax.swing.Icon
getIconHeight, getIconWidth, paintIcon
 

Method Detail

setFig

public void setFig(Fig f)
Parameters:
f - the Fig on which the clarifier is to be painted

setToDoItem

public void setToDoItem(ToDoItem i)
Parameters:
i - the todo item that is visualised by this clarifier

hit

public boolean hit(int x,
                   int y)
Reply true if the given point is inside the given Fig.

Parameters:
x - the x of the given point
y - the y of the given point
Returns:
true if hit


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Cookbook