|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rice.cs.drjava.model.ClipboardHistoryModel
public class ClipboardHistoryModel
Model class for clipboard history.
Method Summary | |
---|---|
String |
getMostRecent()
Return the most recent string, or null if nothing is in the history. |
List<String> |
getStrings()
Return a copy of the history of strings. |
void |
put(String s)
Add a string to the history. |
void |
resize(int maxSize)
Sets the maximum size. |
static ClipboardHistoryModel |
singleton()
Singleton accessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ClipboardHistoryModel singleton()
public void resize(int maxSize)
public void put(String s)
public List<String> getStrings()
public String getMostRecent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |