Lines Matching refs:clone
1159 * Returns a clone of this object with the same selection.
1166 public Object clone() throws CloneNotSupportedException {
1167 DefaultTreeSelectionModel clone = (DefaultTreeSelectionModel)
1168 super.clone();
1170 clone.changeSupport = null;
1174 clone.selection = new TreePath[selLength];
1175 System.arraycopy(selection, 0, clone.selection, 0, selLength);
1177 clone.listenerList = new EventListenerList();
1178 clone.listSelectionModel = (DefaultListSelectionModel)
1179 listSelectionModel.clone();
1180 clone.uniquePaths = new Hashtable<TreePath, Boolean>();
1181 clone.lastPaths = new Hashtable<TreePath, Boolean>();
1182 clone.tempPaths = new TreePath[1];
1183 return clone;