|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jsh3modtool.gui.imagetable.BaseCell
public class BaseCell
An abstract cell for the image table.
| Constructor Summary | |
|---|---|
protected |
BaseCell()
Creates a new instance of AbstractCell |
| Method Summary | |
|---|---|
java.lang.String |
getCachedName()
Returns the cached name. |
int |
getCachedNameMaxWidth()
Returns the max width that the cached name was created for. |
void |
recacheName(java.lang.String fullName,
int maxWidth,
java.awt.FontMetrics fontMetrics)
Recache the name for the cell |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseCell()
| Method Detail |
|---|
public java.lang.String getCachedName()
public int getCachedNameMaxWidth()
public void recacheName(java.lang.String fullName,
int maxWidth,
java.awt.FontMetrics fontMetrics)
fullName - the full name that should be shortenedmaxWidth - the max size of the name (of the cached name)fontMetrics - a fontmetrics that is used to calculate the width of a string
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||