public abstract class RecentList extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID_ENTRY |
Constructor and Description |
---|
RecentList(XMLPreferences preferences,
int nbMaxEntry) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(java.lang.Object entry) |
void |
addListener(RecentListListener listener)
Add a listener
|
void |
clear() |
void |
fireEvent(RecentListEvent e)
fire event
|
java.lang.Object |
getEntry(int index) |
int |
getMaxSize() |
int |
getSize() |
void |
removeListener(RecentListListener listener)
Remove a listener
|
public static final java.lang.String ID_ENTRY
public RecentList(XMLPreferences preferences, int nbMaxEntry)
public void clear()
public void addEntry(java.lang.Object entry)
public int getSize()
public int getMaxSize()
public java.lang.Object getEntry(int index)
public void addListener(RecentListListener listener)
listener
- public void removeListener(RecentListListener listener)
listener
- public void fireEvent(RecentListEvent e)
e
-