protected static class AbstractDataSetCache.Entry extends java.lang.Object implements Displayable
Modifier and Type | Field and Description |
---|---|
protected long |
birthTime |
protected CacheTag |
cacheTag |
protected DataSet |
data |
protected DataSetDescriptor |
dsd |
protected long |
lastAccess |
protected int |
nhits |
Modifier and Type | Method and Description |
---|---|
void |
drawListIcon(java.awt.Graphics2D g,
int x,
int y)
implement this to provide nice drawing of icon on printing graphics context.
|
CacheTag |
getCacheTag() |
protected DataSet |
getData() |
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
java.lang.String |
getListLabel()
return a
String that will help the user
identify this item when choosing from a list. |
protected boolean |
satifies(AbstractDataSetCache.Entry entry) |
java.lang.String |
toString() |
protected DataSetDescriptor dsd
protected CacheTag cacheTag
protected DataSet data
protected int nhits
protected long birthTime
protected long lastAccess
protected DataSet getData()
protected boolean satifies(AbstractDataSetCache.Entry entry)
public java.lang.String toString()
toString
in class java.lang.Object
public javax.swing.Icon getListIcon()
Displayable
null
if there
is no icon available, or a roughly 16x16 pixel icon.getListIcon
in interface Displayable
public java.lang.String getListLabel()
Displayable
String
that will help the user
identify this item when choosing from a list.getListLabel
in interface Displayable
public void drawListIcon(java.awt.Graphics2D g, int x, int y)
Displayable
drawListIcon
in interface Displayable
g
- the graphics context.x
- the x position, typically 0.y
- the y position, typically 0.public CacheTag getCacheTag()