Class Clipboard
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<E>
-
- java.util.HashSet<GUIDocument>
-
- com.logicaldoc.gui.frontend.client.clipboard.Clipboard
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<GUIDocument>
,Collection<GUIDocument>
,Set<GUIDocument>
public class Clipboard extends HashSet<GUIDocument>
This represent a clipboard of documents the user is wotking on- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(GUIDocument e)
void
addObserver(ClipboardObserver observer)
void
clear()
static Clipboard
getInstance()
String
getLastAction()
com.smartgwt.client.widgets.grid.ListGridRecord[]
getRecords()
boolean
remove(Object o)
void
setLastAction(String lastAction)
-
Methods inherited from class java.util.HashSet
clone, contains, isEmpty, iterator, size, spliterator
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Field Detail
-
COPY
public static final String COPY
- See Also:
- Constant Field Values
-
CUT
public static final String CUT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLastAction
public String getLastAction()
-
setLastAction
public void setLastAction(String lastAction)
-
getInstance
public static Clipboard getInstance()
-
addObserver
public void addObserver(ClipboardObserver observer)
-
add
public boolean add(GUIDocument e)
- Specified by:
add
in interfaceCollection<GUIDocument>
- Specified by:
add
in interfaceSet<GUIDocument>
- Overrides:
add
in classHashSet<GUIDocument>
-
clear
public void clear()
- Specified by:
clear
in interfaceCollection<GUIDocument>
- Specified by:
clear
in interfaceSet<GUIDocument>
- Overrides:
clear
in classHashSet<GUIDocument>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<GUIDocument>
- Specified by:
remove
in interfaceSet<GUIDocument>
- Overrides:
remove
in classHashSet<GUIDocument>
-
getRecords
public com.smartgwt.client.widgets.grid.ListGridRecord[] getRecords()
-
-