|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.search.core.PillManager
public class PillManager
the PillManager
class provides a way to restrict the access to the Pill
class.
The associated word "Manager" in the class name is not a reference to the "Manager" design pattern.
This class is more like a "Factory" ...
Constructor Summary | |
---|---|
PillManager()
Constructs a new PillManager object |
Method Summary | |
---|---|
void |
firePillDataMustBeUpdated(java.lang.String text,
SubtitleCellComponent cell,
int index,
java.awt.Point location)
Update pill |
void |
paintPill(java.awt.Graphics2D gr)
Paints a pill in the graphics context given in parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PillManager()
Method Detail |
---|
public void firePillDataMustBeUpdated(java.lang.String text, SubtitleCellComponent cell, int index, java.awt.Point location)
text
- a non null and non empty stringcell
- a cell that represents the row where the occurrence of textisindex
- the index of the first char of the text occurrencelocation
- the pill locationpublic void paintPill(java.awt.Graphics2D gr)
gr
- the graphics context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |