private boolean isModified(int row) { EditorCookie editorCookie = editorCookies[row]; return (editorCookie != null) ? editorCookie.isModified() : false; } }
public boolean save() throws IOException { if (editorCookie == null) { return false; } if (editorCookie.isModified()) { editorCookie.saveDocument(); return true; } return false; }
public boolean isModified() { return currentEditorCookie().isModified(); }