org.argouml.ui
Interface Clarifier
- All Superinterfaces:
- Icon
- All Known Implementing Classes:
- ClAttributeCompartment, ClClassName, ClOperationCompartment
- 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(org.tigris.gef.presentation.Fig f)
|
void |
setToDoItem(ToDoItem i)
|
setFig
public void setFig(org.tigris.gef.presentation.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 pointy
- the y of the given point
- Returns:
- true if hit