|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdatabionics.esom.renderer.foreground.ForegroundRenderer
databionics.esom.renderer.foreground.NamesRenderer
public class NamesRenderer
Names foreground renderer.
| Field Summary | |
|---|---|
protected ClsFile |
classification
Bestmatch classification |
protected int |
fontSize
size of bestmatch |
protected java.awt.Graphics |
g
graphic to draw on |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
| Fields inherited from class databionics.esom.renderer.foreground.ForegroundRenderer |
|---|
favoriteColor, foregroundTool, RENDER_MASK, RENDER_POSTTILE, RENDER_PRETILE, renderer |
| Constructor Summary | |
|---|---|
NamesRenderer()
Standard constructor |
|
| Method Summary | |
|---|---|
ClsFile |
getClassification()
|
protected java.awt.Color |
getColor(int index)
Get the color for this bestmatch. |
int |
getFontSize()
Get the bestmatch size |
int |
getRndLayer()
Rank of this foreground |
int |
getRndPosition()
|
void |
render(Renderer renderer)
Draw colored square for each best match |
void |
setClassification(ClsFile classification)
|
void |
setFontSize(int fontSize)
Set the bestmatch size. |
| Methods inherited from class databionics.esom.renderer.foreground.ForegroundRenderer |
|---|
getFavoriteColor, getForegroundTool, getName, getRenderer, init, setFavoriteColor, setForegroundTool, setRenderer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
protected java.awt.Graphics g
protected int fontSize
protected ClsFile classification
| Constructor Detail |
|---|
public NamesRenderer()
| Method Detail |
|---|
protected java.awt.Color getColor(int index)
index - of bestmatch
public void render(Renderer renderer)
render in class ForegroundRendererrenderer - The invoking Rendererpublic int getRndLayer()
getRndLayer in class ForegroundRendererpublic int getRndPosition()
getRndPosition in class ForegroundRendererpublic int getFontSize()
public void setFontSize(int fontSize)
fontSize - The fontSize to set.public ClsFile getClassification()
public void setClassification(ClsFile classification)
classification - The classification to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||